Skip to main content

checkRelation

Checks if a subject has a given relation to an object.

checkRelation(
subject: ObjectSelector!
relation: RelationTypeSelector!
object: ObjectSelector!
): CheckRelationResult!

Arguments

checkRelation.subject ● ObjectSelector! non-null input objects

[Required] The subject of the relation.

checkRelation.relation ● RelationTypeSelector! non-null input relation-types

[Required] The relation type.

checkRelation.object ● ObjectSelector! non-null input objects

[Required] The object of the relation.

Type

CheckRelationResult object relations

Result of the check_relation query.