permission

Expand a Relationship into permissions.

Changed on

Use this endpoint to expand a relationship tuple into permissions.

get/relation-tuples/expand

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /relation-tuples/expand
  • Auth
    none declared

Query parameters

namespacestring required

Namespace of the Subject Set

objectstring required

Object of the Subject Set

relationstring required

Relation of the Subject Set

max-depthinteger

Response

expandedPermissionTree

childrenExpandedPermissionTree[] circular
type'union' | 'exclusion' | 'intersection' | 'leaf' | 'tuple_to_subject_set' | 'computed_subject_set' | 'not' | 'unspecified' required

The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified

Changes

    • info

      api operation id getExpand removed and replaced with expandPermissions

    • info

      api tag permission added

    • info

      api tag read removed

    • info

      removed the non-success response with the status

    • info

      endpoint added