Gamma API
ProgressObjects

Update a status category

PATCH
/api/projects/{projectId}/status-categories/{categoryId}

Renames it or points it at another status set โ€” refused with 409 while elements hold a status in it, and with 400 when the set is not the project's.

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.

categoryId*string

Request Body

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

Response Body

OK.

application/json
  1. response
category*

What an element is tracked as. An element holds one status per category.

Example Request
curl -X PATCH 'http://localhost:3000/api/projects/string/status-categories/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "category": {    "id": "string",    "name": "string",    "statusSetId": "string"  }}