Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.49 KB

use-case-transport-query-relationships.md

File metadata and controls

59 lines (50 loc) · 1.49 KB
permalink published title type toc sidebar properties require required_by api_route_regex
use-case-transport-query-relationships
true
Query Relationships
use-case
true
title nav
Integrate enmeshed
docs_integrate
id
RR2
component
Runtime
layer
Transport
facade
RelationshipsFacade
function
getRelationships
description
feature category
Mutual peer-to-peer Relationships
tech category
Relationships
status
DONE
documentation status
DONE
comments
actor
Identity
trigger
precondition
result
priority
n/a
complexity
n/a
size
n/a
created_at
changed_at
api_route_regex
GET /api/v2/Relationships
published
default
link
use-case-transport-query-relationships
^GET /api/v2/Relationships$

{{properties.description}}

{% include properties_list.html %}

This use case queries [Relationships]({% link _docs_integrate/data-model-overview.md %}#relationship) of the Identity.

Parameters

  • peer is the enmeshed address of the peer.
  • status is the status of the Relationship.
  • templateId is the id of the [RelationshipTemplate]({% link _docs_integrate/data-model-overview.md %}#relationshiptemplate) that was used to initiate the Relationship.

On Success

  • Returns all [Relationships]({% link _docs_integrate/data-model-overview.md %}#relationship) that match the query.

On Failure

  • The parameters are malformed.