Gamma API
ProgressObjects

Update a status set

PATCH
/api/projects/{projectId}/status-sets/{statusSetId}

values, when sent, is the whole list in order: ids kept, values without one created, the rest deleted. Refused with 400 for an id not of this set, and with 409 for a name taken or a deleted value an element holds.

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.

statusSetId*string

Request Body

application/json
  1. body
name?string
Length1 <= length <= 200
values?array<>

In order.

Itemsitems <= 50

Response Body

OK.

application/json
  1. response
statusSet*

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

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