Get own Attributes shared with peer
This use case is intended to retrieve own Attributes that the current Identity shared to a peer as LocalAttributes. The LocalAttributes can be specified using a complex query. Since only the LocalAttribute subtypes OwnIdentityAttribute and OwnRelationshipAttribute represent own Attributes, only such LocalAttributes can be fetched through this use case.
Parameters
peeris theaddressof the Identity that the LocalAttributes are shared with.queryallows to specify the conditions for the returned LocalAttributes. In detail, the following keys may be used: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). However, it is not possible to query bycontent.owner, because the owner always refers to the current Identity. sourceReferencedescribes theidof the LocalRequest or LocalNotification the LocalAttribute was sent with.wasViewedAtdescribes the time when the LocalAttribute was firstly viewed.isDefaultstates whether an OwnIdentityAttribute is the default for its value type.- The fields of the
deletionInfodescribe the EmittedAttributeDeletionInfo of the LocalAttribute.
- If
hideTechnicalis set totrue, RelationshipAttributes withisTechnicaltruewill not be returned. - Optionally,
onlyLatestVersionscan be disabled, such that in case of Attribute succession all versions will be returned.
On Success
- Returns a list of LocalAttributes shared to the peer that match the query.
On Failure
- The parameters are malformed.