Get verifiable credentials for a DID with render info
GET/:ssiId/ssi/v1/credentialsbbs/render
This endpoint will list the credentials associated with a specific DID and provide information that will allow rendering and drawing those credentials in the same way the issuer expects. In addition to the list of credentials, necessary metadata will be provided for the rendering of each credential.
Request
Path Parameters
ssiId stringrequired
Query Parameters
did stringrequired
apikey stringrequired
Responses
- 200
Return a list of verifiable credentials with render info for specific DID
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id stringrequired
Credential Id
data objectrequired
data objectrequired
Credential Id
styles objectrequired
Credential Styles
display objectrequired
Credential display
[
{
"id": "12341234",
"data": {
"data": {
"@context": [
"string"
],
"id": "string",
"type": [
"string"
],
"issuer": "string",
"issuanceDate": "string",
"credentialSubject": {
"id": "string",
"givenName": "string",
"familyName": "string"
}
},
"styles": {
"thumbnail": {
"uri": "string",
"alt": "string"
},
"hero": {
"uri": "string",
"alt": "string"
},
"background": {
"color": "string"
},
"text": {
"color": "string"
}
},
"display": {
"title": {
"path": [
"string"
],
"schema": {
"type": "string"
},
"fallback": "string"
},
"subtitle": {
"path": [
"string"
],
"schema": {
"type": "string"
},
"fallback": "string"
},
"description": {
"path": [
"string"
],
"schema": {
"type": "string"
},
"fallback": "string"
},
"properties": {
"path": [
"string"
],
"schema": {
"type": "string"
},
"fallback": "string"
}
}
}
}
]
Loading...