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 5 of the 50 revisions of this API.1188

  • 5f207fe3fcc0126See the full diff
    • removed the optional property code from the response with the 400 status

      response-optional-property-removed

    • removed the optional property code from the response with the 404 status

      response-optional-property-removed

    • removed the optional property details from the response with the 400 status

      response-optional-property-removed

    • removed the optional property details from the response with the 404 status

      response-optional-property-removed

    • removed the optional property message from the response with the 400 status

      response-optional-property-removed

    • removed the optional property message from the response with the 404 status

      response-optional-property-removed

    • removed the optional property reason from the response with the 400 status

      response-optional-property-removed

    • removed the optional property reason from the response with the 404 status

      response-optional-property-removed

    • removed the optional property request from the response with the 400 status

      response-optional-property-removed

    • removed the optional property request from the response with the 404 status

      response-optional-property-removed

    • removed the optional property status from the response with the 400 status

      response-optional-property-removed

    • removed the optional property status from the response with the 404 status

      response-optional-property-removed

    • 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

    • added the required property error to the response with the 400 status

      response-required-property-added

    • added the required property error to the response with the 404 status

      response-required-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • f018d2492c9751See the full diff
    • removed the optional property subject_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subject_set from the response with the 200 status

      response-optional-property-removed

    • added the new computed_subject_set enum value to the type response property for the response status 200

      response-property-enum-value-added

    • added the new not enum value to the type response property for the response status 200

      response-property-enum-value-added

    • added the new tuple_to_subject_set enum value to the type response property for the response status 200

      response-property-enum-value-added

    • added the optional property tuple to the response with the 200 status

      response-optional-property-added

    • added the new unspecified enum value to the type response property for the response status 200

      response-property-enum-value-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog