Reference
Return the proof tree for a relation on an object.
POST
bearerAuthheader
AuthorizationBearer <token>application/json- body
tuple_key*contextual_tuples?Proof tree.
application/json- response
tree?curl -X POST 'http://localhost:8080/v1/expand' \ -H 'Content-Type: application/json' \ -d '{ "tuple_key": { "relation": "string", "object": "string" }}'Example Response
{ "tree": { "root": { "name": "string", "union": { "nodes": [ {} ] }, "intersection": { "nodes": [ {} ] }, "difference": { "base": {}, "subtract": {} }, "leaf": { "users": { "users": [ "string" ] }, "computed": { "userset": "string" }, "tupleToUserset": { "tupleset": "string", "computed": [ { "userset": "string" } ] } } } }}