SDK reference

Caity apps

Each route's function in the SDK, its call beside the same request in cURL.
meAssistantApps

GET/v1/me/assistant/apps

Every app Caity has tools for, on or off for this person.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant/apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAssistantPermissions

GET/v1/me/assistant/permissions

What Caity may do for the person in one space (an org's id, or personal), with why not where she can't. Her task runner may read it for its own task's space only. request: the request she answers (caityRequestKey), so an app allowed once for it counts; a task's is always its own task.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant/permissions?space=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAssistant

GET/v1/me/assistant

All the person's choices for Caity: apps, mode and app modes.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchMeAssistant

PATCH/v1/me/assistant

Changes any of the person's choices; apps and app modes merge, an app mode of null follows the mode again.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "apps": {},
    "mode": "ask",
    "appModes": {}
  }'
patchMeAssistantApps

PATCH/v1/me/assistant/apps

Turns apps on or off (the rest stay as they are).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/assistant/apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "apps": {}
  }'
meAssistantApps

GET/v1/me/assistant/apps

Every app Caity has tools for, on or off for this person.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant/apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAssistantPermissions

GET/v1/me/assistant/permissions

What Caity may do for the person in one space (an org's id, or personal), with why not where she can't. Her task runner may read it for its own task's space only. request: the request she answers (caityRequestKey), so an app allowed once for it counts; a task's is always its own task.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant/permissions?space=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAssistant

GET/v1/me/assistant

All the person's choices for Caity: apps, mode and app modes.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchMeAssistant

PATCH/v1/me/assistant

Changes any of the person's choices; apps and app modes merge, an app mode of null follows the mode again.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "apps": {},
    "mode": "ask",
    "appModes": {}
  }'
patchMeAssistantApps

PATCH/v1/me/assistant/apps

Turns apps on or off (the rest stay as they are).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/assistant/apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "apps": {}
  }'