Read credential definition cover image
GET/v2/config/digital-wallet/openid/sdjwt/credential-definition/:credentialDefinitionId/coverimage
Retrieves the cover image of an OID4VCI credential definition. This operation needs no authentication, because wallets read the image from the URL that the issuer publishes in the OID4VCI Credential Issuer Metadata. Anybody who knows the credential definition ID can read the image.
Request
Path Parameters
credentialDefinitionId stringrequired
Unique identifier of the credential definition that specifies the credential format, type, and claims structure for OID4VCI issuance.
Responses
- 200
- 400
- 500
The server returns the raw image bytes. The Content-Type response header holds image/jpeg.
Response Headers
- image/jpeg
- Schema
Schema
string
No credential definition matches credentialDefinitionId.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The credential definition holds no cover image, or the server cannot read the stored image.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Loading...