dime-timetracker / server

Serve dime timetracker api
0 stars 0 forks source link

Adding tags by ID is not possible #22

Closed quafzi closed 7 years ago

quafzi commented 7 years ago
curl 'http://dime.dev/api/activities/1514' -X PUT -H 'Accept: application/json, text/*' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"id":1514,"user_id":1,"customer_id":null,"project_id":null,"service_id":null,"description":"jjjj","rate":null,"rate_reference":null,"created_at":"2017-03-25 20:18:58","updated_at":"2017-03-25 20:18:58","timeslices":[{"id":4022,"activity_id":1514,"duration":4,"started_at":"2017-03-25 21:18:58","stopped_at":"2017-03-25 21:19:02","user_id":1,"tags":[]}],"tags":[843,845]}'