Gamma API
ProjectsIntegrations

List status categories over there

GET
/api/projects/{projectId}/integrations/connections/{connectionId}/projects/{externalProjectId}/status-categories

The categories a project in the external system files its element statuses' records under (ACC: asset categories), to pick an integration's categoryIds from โ€” before it is linked too. A tree: each parent before its children. Empty for a provider that has none. 400 when the connection does not reach that project, or with the provider's answer when it refuses; 409 while the connection is off.

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 __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

connectionId*string
externalProjectId*string

Response Body

OK.

application/json
  1. response
categories*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/integrations/connections/string/projects/string/status-categories'
Example Response
{  "categories": [    {      "id": "string",      "name": "string",      "parentId": "string"    }  ]}