Capabilities

List Capabilities by Namespace

Changed on

List Capabilities by namespace.

Namespaces are used to organize a user's Capabilities and provide a way to uniquely identify them. A user can retrieve all of the Capabilities under their assigned namespace by referencing it.

The namespace is recognizable as the first part of a capabilityId in the format namespace.capabilityName.

get/capabilities/namespaces/{namespace}

Request

Headers

X-ST-Organizationstring ^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$

Organization id. If not provided, default user organization will be used.

Response

Successful return of a namespace's Capabilities

Example response

{
  "items": [
    {
      "id": "switch",
      "version": 1,
      "ephemeral": true
    }
  ],
  "_links": {
    "next": {
      "href": "https://..."
    },
    "previous": {
      "href": "https://..."
    }
  }
}

Changes