Space Overrides
2 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
Get space overrides by type#
GET
/space-overridesTokenReturns a map of entityId → isEnabled for the given space and override type.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Query | string | – |
typePflicht | Query | string | Werte: |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/space-overrides" \
-H "Authorization: Bearer $XISUITE_TOKEN"Set a space override (upsert)#
POST
/space-overridesTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
spaceIdPflicht | string | Space ID |
typePflicht | string | Werte: |
entityIdPflicht | string | Entity ID (priority, status, or custom_field ID) |
isEnabledPflicht | boolean | Whether the entity is enabled in this space |
organizationIdPflicht | string | Organization ID (accepted from frontend; JWT org is always used) |
Antworten
- 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/space-overrides" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"spaceId":"…","type":"priority","entityId":"…","isEnabled":true,"organizationId":"…"}'