Expand a Relationship into permissions.
GET {{baseUrl}}/relation-tuples/expand?namespace=<string>&object=<string>&relation=<string>&max-depth=<long>
Use this endpoint to expand a relationship tuple into permissions.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
namespace | string | (Required) Namespace of the Subject Set | |
object | string | (Required) Object of the Subject Set | |
relation | string | (Required) Relation of the Subject Set | |
max-depth | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"type":"leaf","children":[{"value":"\u003cCircular reference to #/components/schemas/expandedPermissionTree detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/expandedPermissionTree detected\u003e"}],"tuple":{"namespace":"\u003cstring\u003e","object":"\u003cstring\u003e","relation":"\u003cstring\u003e","subject_id":"\u003cstring\u003e","subject_set":{"namespace":"\u003cstring\u003e","object":"\u003cstring\u003e","relation":"\u003cstring\u003e"}}}