Gamma API
ProgressObjects

Create a status category

POST
/api/projects/{projectId}/status-categories

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.

Authorization

session
cookiegamma.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.

Path Parameters

projectId*string

The project's id.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 200
statusSetId*string
Length1 <= length

Response Body

Created.

application/json
  1. 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"  }}