v1
latestOpenAPI 3.0.02026-07-17647099.1 KBConnection
Get Connections
Get all the connections of the provided identity.
get/v2/identities/{identifier}/connections
Path parameters
identifierstring required
Issuer identifier
Query parameters
querystring
Query string to do full text search in connections.
credentialsboolean
credentials=true to include the connection credentials.
pageinteger
Example:1
Page to fetch. First is one. If omitted, all results will be returned.
max_resultsinteger
Example:50
Number of items to fetch on each page. Minimum is 10. Default is 50. No maximum by the moment.
sortstring[]
The minus sign (-) before createdAt means descending order.
Response
ok
Example response
{
"items": [
{
"id": "7fff8112-c415-11ed-b036-debe37e1cbd6",
"userID": "did:polygonid:polygon:amoy:2qMZrfBsXuGFTwSqkqYki78zF3pe1vtXoqH4yRLsfs",
"issuerID": "did:polygonid:polygon:amoy:2qFpPHotk6oyaX1fcrpQFT4BMnmg8YszUwxYtaoGoe",
"createdAt": "2023-10-26T10:59:08Z",
"credentials": [
{
"proofTypes": [
"BJJSignature2021"
],
"schemaHash": "c9b2370371b7fa8b3dab2a5ba81b6838",
"encryptedVC": {
"context": "https://www.w3.org/2018/credentials/examples/v1",
"type": "KYCAgeCredential",
"expirationDate": "2023-10-26T10:59:08Z",
"issuanceDate": "2023-10-26T10:59:08Z"
}
}
]
}
],
"meta": {
"total": 1,
"page": 1,
"max_results": 50
}
}