List presentation definition
GET/v2/config/digital-wallet/openid/sdjwt/presentation-definitions
This endpoint is to list all presentation definitions.
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
Responses
- 200
- 400
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
presentationDefinition object[]
Identifier for the presentation definition
Defines the usage purpose for the presentation definition. For e.g. Verify Portable Document A1
presentationDefinition objectrequired
Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/
Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/
Possible values: [payment_data
]
Defines the transaction data template type for the presentation definition. For e.g. payment_data
Specifies the verifiable credential should enforce wallet unit attestation
Timestamp when the record was created.
Timestamp when the record was updated.
Possible values: [draft_14
, draft_18
]
Specifies the version of oid4vp draft specification
Specifies the key identifier of keys to be used for credential issuance
Possible values: [jwk
, did:key
, did:ebsi
, did:web
]
Specifies the trust anchor used for credential issuance
Specifies the scope for the presentation definition
Possible values: [id_token
, vp_token
]
Specifies the response type for the presentation definition
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
{
"presentationDefinition": [
{
"presentationDefinitionId": "string",
"label": "string",
"presentationDefinition": {},
"transactionDataDefinitionType": "payment_data",
"enforceWUA": true,
"createdAt": 0,
"updatedAt": 0,
"version": "draft_14",
"kid": "string",
"trustAnchor": "jwk",
"scope": "string",
"responseType": "id_token"
}
],
"pagination": {
"currentPage": 0,
"totalItems": 0,
"totalPages": 0,
"limit": 0,
"hasPrevious": true,
"hasNext": true
}
}
bad input parameter