Activities
-
Update an activity
PUT /api/1/projects/:project_uuid/activities/:uuid.jsonFormats
json jsonpUpdate an existing activity. Requires a valid activity object to be posted. Missing attributes from the object will be merged with the existing activity.
Errors
- 401 Unauthorized
- 404 Record Not Found - returned if a project with the specified UUID is not found
- 404 Record Not Found - returned if an activity with the specified UUID is not found
- 422 Invalid Record - if the activity fails validation. An error message will be returned, declaring the error.
Example
PUT /api/1/projects/9e5872e3-6d76-4e06-86f2-5471c45359fd/activities/6eedf277-0733-4000-898e-68ca408df145 { "activity": { "name": "sint ad" } } 200Parameters
-
activity
An activity JSON object.
Required-
uuid
A UUID to identify the activity. If omitted, one will be generated
Optional Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -
name
Label of the activity
Required Must be String -
project_uuid
UUID of the project the actvitity belongs to
Required Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
-