Gamma API
ProgressObjects

Create a status set

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

Refused with 409 when the name is taken in the project.

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
values*array<>

In order.

Itemsitems <= 50

Response Body

Created.

application/json
  1. response
statusSet*

A list of values an element can be in, each with a colour.

Example Request
curl -X POST 'http://localhost:3000/api/projects/string/status-sets' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "values": [    {      "name": "string",      "colorHex": "string"    }  ]}'
Example Response
{  "statusSet": {    "id": "string",    "name": "string",    "values": [      {        "id": "string",        "name": "string",        "colorHex": "string",        "order": -9007199254740991,        "completion": "notStarted"      }    ]  }}