Get own shared Attributes
This use case is intended to retrieve Attributes that the current Identity shared to a peer as LocalAttributes. The LocalAttributes can be specified using a complex query.
Parameters
peer
is the Address of the Identity that the LocalAttributes are shared with.query
allows to specify the conditions for the returned LocalAttributes. In detail, the following keys may be used:createdAt
describes the time when the LocalAttribute was created.- The fields of
content
can be used to describe the queried Attribute (either an IdentityAttribute or a RelationshipAttribute). - The fields of the
shareInfo
describe if the LocalAttribute is shared with a peer and specify its LocalAttributeShareInfo. - The fields of the
deletionInfo
describe the LocalAttributeDeletionInfo of a shared LocalAttribute.
- If
onlyValid
is set totrue
, LocalAttributes that exceed their validity frame defined byvalidFrom
andvalidTo
will not be returned. - If
hideTechnical
is set totrue
, RelationshipAttributes withisTechnical
true
will not be returned. - Optionally,
onlyLatestVersions
can 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 matches the query.
On Failure
- The parameters are malformed.