List all connections
GET/digital-wallet/connections
This endpoint lists all connections.
Request
Query Parameters
Requested index for start of resources to be provided in response requested by client
Default value: 10
Number of items returned per page. Requested number of resources to be provided in response requested by client
Alias
Possible values: [self
, external
, multiuse
]
Connection initiator
Invitation key
My DID
Possible values: [init
, invitation
, request
, response
, active
, error
, inactive
]
Connection state
Their DID
Their assigned connection role
Responses
- 200
- 400
A list of connections.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
connections object[]
Identifier
Possible values: [manual
, auto
]
Connection acceptance
Optional alias to apply to connection for later use
Connection identifier
Time of record creation
Error message
Inbound routing connection id to use
Possible values: [self
, external
, multiuse
]
Connection initiator
Public key for connection
Possible values: [once
, multi
, static
]
Invitation mode
Our DID for connection
Connection request identifier
Routing state of connection
Current record state
Their DID for connection
Their label for connection
Their assigned role for connection
Trust anchor for connection
Time of last record update
pagination object
Current page number
Total number of items available
Total number of pages based on limit
Number of items per page
Indicates if there's a previous page
Indicates if there's a next page
{
"connections": [
{
"id": "65e760f8dcf16cb987552297",
"accept": "auto",
"alias": "Bob, providing quotes",
"connectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2024-02-28 07:03:35Z",
"errorMsg": "No DIDDoc provided; cannot connect to public DID",
"inboundConnectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"initiator": "self",
"invitationKey": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV",
"invitationMode": "once",
"myDid": "WgWxqztrNooG92RXvxSTWv",
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"routingState": "active",
"state": "active",
"theirDid": "WgWxqztrNooG92RXvxSTWv",
"theirLabel": "Bob",
"theirRole": "Point of contact",
"trustAnchor": "sovrinlive",
"updatedAt": "2024-02-28 07:03:35Z"
}
],
"pagination": {
"currentPage": 0,
"totalItems": 0,
"totalPages": 0,
"limit": 0,
"hasPrevious": true,
"hasNext": true
}
}
bad input parameter