Get peer shared Attributes
This use case is intended to retrieve Attributes that a peer has shared with the current Identity as LocalAttributes. The LocalAttributes can be specified using a complex query.
Parameters
peeris theaddressof the Identity that shared the LocalAttributes.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). - The fields of the
shareInfodescribe if the LocalAttribute is shared with a peer and specify its LocalAttributeShareInfo. - The fields of the
deletionInfodescribe the LocalAttributeDeletionInfo of a shared LocalAttribute.
- If
onlyValidis set totrue, LocalAttributes that exceed their validity frame defined byvalidFromandvalidTowill not be returned. - 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 by the peer that match the query.
On Failure
- The parameters are malformed.