Lookup Entity (Streaming)
The difference between this endpoint from direct Lookup Entity is response of this entity gives the IDs’ as stream. This could be useful if you have large data set that getting all of the authorized data can take long with direct lookup entity endpoint.
Path Parameters
Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \“[a-zA-Z0-9-,]+\“, max 64 bytes.
Body
PermissionLookupEntityRequest is the request message for the LookupEntity method in the Permission service.
Context encapsulates the information related to a single operation, including the tuples involved and the associated attributes.
continuous_token is an optional parameter used for pagination. It should be the value received in the previous response.
Type of the entity to lookup, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
PermissionLookupEntityRequestMetadata metadata for the PermissionLookupEntityRequest.
page_size is the number of tenants to be returned in the response. The value should be between 1 and 100.
Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
Subject represents an entity subject with a type, an identifier, and a relation.