List credential definition templates
GET/v2/config/digital-wallet/openid/sdjwt/credential-definition/templates
Lists available credential definition templates for creating new credential definitions.
Request
Query Parameters
offset integerrequired
Number of records to skip for pagination.
limit integerrequired
Default value: 10
Maximum number of records to return per page.
Responses
- 200
- 400
- 401
- 500
Credential definition templates listed successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
templates object[]
pagination object
currentPage integer
Current page number
totalItems integer
Total number of items available
totalPages integer
Total number of pages based on limit
limit integer
Number of items per page
hasPrevious boolean
Indicates if there's a previous page
hasNext boolean
Indicates if there's a next page
{
"templates": [
{
"name": "string",
"schema": {},
"metadata": {
"id": "WgWxqztrNooG92RXvxSTWv",
"credentialType": "LegalPersonIdentificationData",
"isJwt": true,
"isMsoMdoc": true,
"isSdJwt": true,
"title": "Legal Person Identification Data (LPID)"
}
}
],
"pagination": {
"currentPage": 1,
"totalItems": 25,
"totalPages": 3,
"limit": 10,
"hasPrevious": false,
"hasNext": true
}
}
bad input parameter
Response Headers
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Loading...