List the Context's registered scope nodes (live and tombstoned). Only nodes the caller has a grant over are returned (scope:read, or any other verb in the region); a grant:manage holder over / sees the whole tree. Paginated: follow page.nextCursor. Visibility filtering happens after the page bound, so a page can be short while page.hasMore is still true.

get/api/v1/{context_id}/scopes

Path parameters

context_idstring required

Spectron context id

Query parameters

limitinteger

Max nodes to scan per page (default 100, max 500)

cursorstring

Continuation token from the previous page's page.nextCursor

Response

Changes

Changed in 1 of the 5 revisions of this API.16

  • 9f159871306716See the full diff
    • the response's body type/format changed from array/ to object/ for status 200

      response-body-type-changed

    • added the new optional query request parameter cursor

      new-optional-request-parameter

    • added the new optional query request parameter limit

      new-optional-request-parameter

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property page to the response with the 200 status

      response-required-property-added

    • added the required property scopes to the response with the 200 status

      response-required-property-added