Lookup Requests provide the ability to list the objects for a particular relation and user.
It is recommended to specify the
at_revision Zookie value, which will return the data as of the logical timestamp represented by that Zookie.
|No (but recommended)|
Additional Protocol buffer definitions used
- INVALID_ARGUMENT: a provided value has failed to semantically validate
- RESOURCE_EXHAUSTED: processing the request surpassed the maximum depth of relationship resolution
- FAILED_PRECONDITION: a specified namespace or relation does not exist
For more generic failures, see the gRPC Status Code documentation.
Code Sample Parameter Values
|Tenant Slug||The slug for your tenant|
|User Namespace||The namespace of the user|
|User ID||The ID of the user|
|Namespace||The namespace for the relation for which to lookup|
|Relation||The relation for which to lookup|
|Zookie||The opaque token that signifies a read should be as fresh as the write that produced this token.|