ProgressObjects
Create a status category
POST
Refused with 400 when the status set is not the project's, and with 409 when the name is taken.
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
name*stringLength
1 <= length <= 200statusSetId*stringLength
1 <= lengthCreated.
application/json- response
category*What an element is tracked as. An element holds one status per category.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/status-categories' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "statusSetId": "string"}'Example Response
{ "category": { "id": "string", "name": "string", "statusSetId": "string" }}