Get Attributes
This use case is intended to query LocalAttributes. The LocalAttributes can be specified using a complex query.
Parameters
queryallows to specify the conditions for the returned LocalAttributes. In detail, the following keys may be used:@typedescribes the LocalAttribute subtype.createdAtdescribes the time when the LocalAttribute was created.- The fields of
contentcan be used to describe the queried Attribute (either an IdentityAttribute or a RelationshipAttribute). succeedsandsucceededBygive information about the succession state of the LocalAttribute.- The fields of the
deletionInfodescribe the EmittedAttributeDeletionInfo or ReceivedAttributeDeletionInfo of an emitted or a received LocalAttribute. wasViewedAtdescribes the time when the LocalAttribute was firstly viewed.isDefaultstates whether an OwnIdentityAttribute is the default for its value type.peeris theaddressof the Identity that emitted or received the LocalAttribute.sourceReferencedescribes theidof the LocalRequest or LocalNotification a LocalAttribute was sent with or received in.initialAttributePeeris a ThirdPartyRelationshipAttribute property which describes theaddressof the Identity with whom the peer has the Relationship in which context the source RelationshipAttribute exists.
- If
hideTechnicalis set totrue, RelationshipAttributes withisTechnicaltruewill not be returned.
On Success
- Returns a list of LocalAttributes that match the parameters.
On Failure
- The parameters are malformed.