Get Credentials
Changed onReturns a list of credentials for the provided identity. Results are paginated. Filter between all | revoked | expired credentials and also perform a full text search with the query parameter.
Request
- The document declares no server URL.
- AuthHTTP basic
Path parameters
Issuer identifier
Query parameters
Page to fetch. First is one. If omitted, all results will be returned.
Filter credentials by schema type (partial match)
Filter credentials by schema URL (begins with match)
Credential status:
- all - All Credentials. (default value)
- revoked - Only revoked credentials
- expired - Only expired credentials
Query string to do full text search
Number of items to fetch on each page. Minimum is 10. Default is 50. No maximum by the moment.
The minus sign (-) before createdAt means descending order.
Response
List of credentials
Example response
{
"items": [
{
"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
}
}Changes
- info
added the new optional
queryrequest parameterschemaType - info
added the new optional
queryrequest parameterschemaUrl
- info
- info
added the optional property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- info