permission

Expand a Relationship into permissions.

Use this endpoint to expand a relationship tuple into permissions.

get/relation-tuples/expand

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

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

Changed in 3 of the 29 revisions of this API.15

    • api operation id getExpand removed and replaced with expandPermissions

      api-operation-id-removed

    • api tag permission added

      api-tag-added

    • api tag read removed

      api-tag-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation