Reader APIs
The Directory Reader APIs are in the aserto.directory.reader.v2.Reader
service.
CheckPermission
- check whether a subject has a permission (via a relation) on an objectCheckRelation
- check whether a subject has a relation to an object
GetGraph
- get the graph of relations using the object as an anchorGetObject
- get an object by anid
, or by the combination oftype
andkey
GetObjectMany
- get a set of objects by anid
, or by the combination oftype
andkey
GetObjectType
- get an object type definition byid
or byname
GetObjectTypes
- get all object types registered in the system. This is a paged interface.GetObjects
- get all objects in the system that match a filter. This is a paged interface.GetPermission
- get a permission byid
or byname
GetPermissions
- get all permissions registered in the system. This is a paged interface.GetRelation
- get a relation instance between the provided subject and object using the relation type.GetRelationType
- get a relation type using theobject_type
, by eitherid
orname
GetRelationTypes
- get all relation types registered in the system. This is a paged interface.GetRelations
- get all relations in the system that match a filter. This is a paged interface.