directory
Get relation instance
Changed onReturns single relation instance, optionally with objects.
get/api/v3/directory/relation
Request
- The document declares no server URL.
- AuthAPI key in header authorization and API key in header aserto-tenant-id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
object_typestring required
object type
object_idstring required
object identifier
relationstring required
relation name
subject_typestring required
subject type
subject_idstring required
subject identifier
subject_relationstring
optional subject relation name
with_objectsboolean
materialize relation objects
Response
A successful response.
Changes
- info
api operation id
directory.v3.relation.getremoved and replaced withdirectory.reader.v3.relation.get
- info
- info
added the non-success response with the status
- info