Query RelationshipTemplates
This use case queries RelationshipTemplates of the Identity.
Parameters
All parameters are optional. If no parameter is given, all RelationshipTemplates are returned.
isOwnindicates if the RelationshipTemplate was created by the current Identity.createdAtis the ISODateTime the RelationshipTemplate was created at.expiresAtis the ISODateTime the RelationshipTemplate expires.createdByis the enmeshedaddressof the Identity that created the RelationshipTemplate.createdByDeviceis theidof the Device that created the RelationshipTemplate.maxNumberOfAllocationsis the number of times the RelationshipTemplate can be accessed by different Identities to initiate a Relationship. The Backbone returns an error if one accesses a RelationshipTemplate with no allocations left. Accessing the same RelationshipTemplate with the same Identity multiple times doesn’t affect the number of allocations. The allocation counts, even if the Identity does not accept the RelationshipTemplate by discarding it.forIdentityis the enmeshedaddressof the Identity for which the RelationshipTemplate is intended.passwordProtectionis an object for PasswordProtection of a RelationshipTemplate.
On Success
- Returns all RelationshipTemplates that match the
query.
On Failure
- The parameters are malformed.