SDK reference

Issue configuration

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

GET/v1/orgs/:orgId/issues/config/meta

Everything the Tasks app loads once: catalogs, fields, spaces, people, templates.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/meta' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesConfigSettings

GET/v1/orgs/:orgId/issues/config/settings

The org's catalogs and their version (for optimistic updates).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/settings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putOrgIssuesConfigSettings

PUT/v1/orgs/:orgId/issues/config/settings

Replaces the catalogs. Statuses and types still used by workflows or spaces can't be removed.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/settings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "settings": {
      "statuses": [
        {
          "id": "<id>",
          "name": "Example",
          "category": "todo"
        }
      ],
      "issueTypes": [
        {
          "id": "<id>",
          "name": "Example",
          "icon": "example",
          "color": "gray",
          "level": 1
        }
      ],
      "priorities": [
        {
          "id": "<id>",
          "name": "Example",
          "icon": "example",
          "color": "gray"
        }
      ],
      "defaultPriorityId": "<defaultPriorityId>",
      "resolutions": [
        {
          "id": "<id>",
          "name": "Example"
        }
      ],
      "linkTypes": [
        {
          "id": "<id>",
          "name": "Example",
          "outward": "example",
          "inward": "example"
        }
      ]
    },
    "baseVersion": 1
  }'
orgIssuesConfigWorkflows

GET/v1/orgs/:orgId/issues/config/workflows

Every workflow with its statuses and transitions.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesConfigWorkflowsByWorkflowId

GET/v1/orgs/:orgId/issues/config/workflows/:workflowId

A workflow and the spaces that use it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesConfigWorkflows

POST/v1/orgs/:orgId/issues/config/workflows

Creates a workflow (every status must be reachable from the initial one).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "definition": {
      "initialStatusId": "<initialStatusId>",
      "statuses": [
        {
          "statusId": "<statusId>"
        }
      ],
      "transitions": [
        {
          "id": "<id>",
          "name": "Example",
          "from": [
            "example"
          ],
          "to": "example"
        }
      ]
    }
  }'
putOrgIssuesConfigWorkflowsByWorkflowId

PUT/v1/orgs/:orgId/issues/config/workflows/:workflowId

Replaces a workflow; pass baseVersion to fail instead of overwriting newer edits.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "definition": {
      "initialStatusId": "<initialStatusId>",
      "statuses": [
        {
          "statusId": "<statusId>"
        }
      ],
      "transitions": [
        {
          "id": "<id>",
          "name": "Example",
          "from": [
            "example"
          ],
          "to": "example"
        }
      ]
    }
  }'
deleteOrgIssuesConfigWorkflowsByWorkflowId

DELETE/v1/orgs/:orgId/issues/config/workflows/:workflowId

Deletes a workflow no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesConfigFields

GET/v1/orgs/:orgId/issues/config/fields

Custom fields and the built-in fields.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesConfigFields

POST/v1/orgs/:orgId/issues/config/fields

Creates a custom field (text, number, date, select, multi-select, cascading, people, team, URL, checkbox, labels).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "text"
  }'
putOrgIssuesConfigFieldsByFieldId

PUT/v1/orgs/:orgId/issues/config/fields/:fieldId

Changes a custom field (its type can't change).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields/{fieldId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "text"
  }'
deleteOrgIssuesConfigFieldsByFieldId

DELETE/v1/orgs/:orgId/issues/config/fields/:fieldId

Deletes the definition; values stay on issues but are no longer shown or searchable.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields/{fieldId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesConfigScreens

GET/v1/orgs/:orgId/issues/config/screens

Screens: which fields show on create, edit and view, in tabs.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesConfigScreens

POST/v1/orgs/:orgId/issues/config/screens

Creates a screen.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "tabs": [
      {
        "name": "Example",
        "fields": [
          "example"
        ]
      }
    ]
  }'
putOrgIssuesConfigScreensByScreenId

PUT/v1/orgs/:orgId/issues/config/screens/:screenId

Replaces a screen.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens/{screenId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "tabs": [
      {
        "name": "Example",
        "fields": [
          "example"
        ]
      }
    ]
  }'
deleteOrgIssuesConfigScreensByScreenId

DELETE/v1/orgs/:orgId/issues/config/screens/:screenId

Deletes a screen no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens/{screenId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesConfigSchemes

GET/v1/orgs/:orgId/issues/config/schemes

Permission schemes and the permissions they can grant.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesConfigSchemes

POST/v1/orgs/:orgId/issues/config/schemes

Creates a permission scheme.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "grants": {}
  }'
putOrgIssuesConfigSchemesBySchemeId

PUT/v1/orgs/:orgId/issues/config/schemes/:schemeId

Replaces a permission scheme's grants.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes/{schemeId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "grants": {}
  }'
deleteOrgIssuesConfigSchemesBySchemeId

DELETE/v1/orgs/:orgId/issues/config/schemes/:schemeId

Deletes a permission scheme no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes/{schemeId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigMeta

GET/v1/me/issues/config/meta

Everything the Tasks app loads once: catalogs, fields, spaces, people, templates.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/meta' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigSettings

GET/v1/me/issues/config/settings

The org's catalogs and their version (for optimistic updates).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/settings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeIssuesConfigSettings

PUT/v1/me/issues/config/settings

Replaces the catalogs. Statuses and types still used by workflows or spaces can't be removed.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/settings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "settings": {
      "statuses": [
        {
          "id": "<id>",
          "name": "Example",
          "category": "todo"
        }
      ],
      "issueTypes": [
        {
          "id": "<id>",
          "name": "Example",
          "icon": "example",
          "color": "gray",
          "level": 1
        }
      ],
      "priorities": [
        {
          "id": "<id>",
          "name": "Example",
          "icon": "example",
          "color": "gray"
        }
      ],
      "defaultPriorityId": "<defaultPriorityId>",
      "resolutions": [
        {
          "id": "<id>",
          "name": "Example"
        }
      ],
      "linkTypes": [
        {
          "id": "<id>",
          "name": "Example",
          "outward": "example",
          "inward": "example"
        }
      ]
    },
    "baseVersion": 1
  }'
meIssuesConfigWorkflows

GET/v1/me/issues/config/workflows

Every workflow with its statuses and transitions.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/workflows' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigWorkflowsByWorkflowId

GET/v1/me/issues/config/workflows/:workflowId

A workflow and the spaces that use it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesConfigWorkflows

POST/v1/me/issues/config/workflows

Creates a workflow (every status must be reachable from the initial one).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/config/workflows' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "definition": {
      "initialStatusId": "<initialStatusId>",
      "statuses": [
        {
          "statusId": "<statusId>"
        }
      ],
      "transitions": [
        {
          "id": "<id>",
          "name": "Example",
          "from": [
            "example"
          ],
          "to": "example"
        }
      ]
    }
  }'
putMeIssuesConfigWorkflowsByWorkflowId

PUT/v1/me/issues/config/workflows/:workflowId

Replaces a workflow; pass baseVersion to fail instead of overwriting newer edits.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "definition": {
      "initialStatusId": "<initialStatusId>",
      "statuses": [
        {
          "statusId": "<statusId>"
        }
      ],
      "transitions": [
        {
          "id": "<id>",
          "name": "Example",
          "from": [
            "example"
          ],
          "to": "example"
        }
      ]
    }
  }'
deleteMeIssuesConfigWorkflowsByWorkflowId

DELETE/v1/me/issues/config/workflows/:workflowId

Deletes a workflow no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigFields

GET/v1/me/issues/config/fields

Custom fields and the built-in fields.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/fields' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesConfigFields

POST/v1/me/issues/config/fields

Creates a custom field (text, number, date, select, multi-select, cascading, people, team, URL, checkbox, labels).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/config/fields' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "text"
  }'
putMeIssuesConfigFieldsByFieldId

PUT/v1/me/issues/config/fields/:fieldId

Changes a custom field (its type can't change).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/fields/{fieldId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "text"
  }'
deleteMeIssuesConfigFieldsByFieldId

DELETE/v1/me/issues/config/fields/:fieldId

Deletes the definition; values stay on issues but are no longer shown or searchable.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/fields/{fieldId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigScreens

GET/v1/me/issues/config/screens

Screens: which fields show on create, edit and view, in tabs.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/screens' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesConfigScreens

POST/v1/me/issues/config/screens

Creates a screen.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/config/screens' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "tabs": [
      {
        "name": "Example",
        "fields": [
          "example"
        ]
      }
    ]
  }'
putMeIssuesConfigScreensByScreenId

PUT/v1/me/issues/config/screens/:screenId

Replaces a screen.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/screens/{screenId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "tabs": [
      {
        "name": "Example",
        "fields": [
          "example"
        ]
      }
    ]
  }'
deleteMeIssuesConfigScreensByScreenId

DELETE/v1/me/issues/config/screens/:screenId

Deletes a screen no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/screens/{screenId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesConfigSchemes

GET/v1/me/issues/config/schemes

Permission schemes and the permissions they can grant.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/config/schemes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesConfigSchemes

POST/v1/me/issues/config/schemes

Creates a permission scheme.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/config/schemes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "grants": {}
  }'
putMeIssuesConfigSchemesBySchemeId

PUT/v1/me/issues/config/schemes/:schemeId

Replaces a permission scheme's grants.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/schemes/{schemeId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "grants": {}
  }'
deleteMeIssuesConfigSchemesBySchemeId

DELETE/v1/me/issues/config/schemes/:schemeId

Deletes a permission scheme no space uses.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/schemes/{schemeId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"