Activities
-
Create a new activity
POST /api/1/projects/:project_uuid/activities.jsonFormats
json jsonpCreates a new activity. Requires a valid activity object to be posted.
Errors
- 401 Unauthorized
- 422 Invalid Record - if the activity fails validation. An error message will be returned, declaring the error.
Example
POST /api/1/projects/17940303-c9f5-4845-9eee-f4b29235e875/activities { "activity": { "name": "vero aut" } } 200 { "response": { "name": "vero aut", "project_uuid": "17940303-c9f5-4845-9eee-f4b29235e875", "uuid": "a25e5a89-2742-41c8-b15b-d4a406d235d0" } }Parameters
-
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
-