v1

latestSwagger 2.0Apache 2.02026-07-17152737.5 KB
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