Skip to main content

List credential definition

GET 

/v2/config/digital-wallet/openid/sdjwt/credential-definitions

This endpoint is used to list all credential definitions.

Request

Query Parameters

    offset integerrequired

    Requested index for start of resources to be provided in response requested by client

    limit integerrequired

    Default value: 10

    Number of items returned per page. Requested number of resources to be provided in response requested by client

    vct string

    Credential type(SD-JWT)

    doctype string

    Credential type(MSO-MDOC)

    type string

    Credential type(JWT)

Responses

Response Headers
    Schema
      credentialDefinition object[]
    • Array [
    • credentialDefinitionId stringrequired

      Identifier for the credential definition

      type string[]

      Specifies the credential type to be present in verifiable credential issued.

      credentialDefinition objectrequired

      Defines the structure of the verifiable credential as per JSON schema specification.

      createdAt numberrequired

      Timestamp when the record was created.

      updatedAt numberrequired

      Timestamp when the record was updated.

      label stringrequired

      Defines the usage purpose for the credential definition. For e.g. Issue Portable Document A1

      expirationInDays numberrequired

      Defines the expiration for verifiable credential in days. If not specified, by default it is specified as 30 days.

      display object
      name stringrequired

      Defines name for the credential

      locale stringrequired

      Defines language for the credential. eg. en-GB

      description string

      Defines the discription for the credential definition.

      backgroundColor stringrequired

      Defines background color for the credential

      textColor stringrequired

      Defines text color for the credential.

      credentialFormat string

      Possible values: [jwt_vc_json, dc+sd-jwt, mso_mdoc]

      Specifies the credential format for verifiable credential.

      vct string

      Specifies the credential type to be present in verifiable credential issued for ietf sd-jwt.

      doctype string

      Specifies the credential type to be present in verifiable credential issued for mso mdoc.

      claims object

      Defines the structure of the verifiable credential as per JSON schema specification for ietf sd-jwt and mso mdoc.

      property name* any

      Defines the structure of the verifiable credential as per JSON schema specification for ietf sd-jwt and mso mdoc.

      supportRevocation boolean

      Specifies the verifiable credential supports revocation.

      enforceWUA boolean

      Specifies the verifiable credential should enforce wallet unit attestation

      validationPath string

      Possible values: [$.vc.credentialSubject, $.vc, $]

      Specifies the validation path for the credential definition

      version string

      Possible values: [draft_11, draft_13]

      Specifies the version of oid4vci draft specification

      kid string

      Specifies the key identifier of keys to be used for credential issuance

      trustAnchor string

      Possible values: [jwk, did:key, did:ebsi, did:web]

      Specifies the trust anchor used for credential issuance

      revocationMethod string

      Possible values: [status_list, status_list_2021]

      Specifies the revocation method for the credential definition

      enforceCredentialUniqueness boolean

      Specifies the verifiable credential supports credential uniqueness

      supportCredentialReissuance boolean

      Specifies the verifiable credential supports credential reissuance

      credentialDefinitions object[]
    • Array [
    • type string[]

      Specifies the credential type to be present in verifiable credential issued.

      credentialDefinition object

      Defines the structure of the verifiable credential as per JSON schema specification.

      property name* any

      Defines the structure of the verifiable credential as per JSON schema specification.

      expirationInDays number

      Defines the expiration for verifiable credential in days. If not specified, by default it is specified as 30 days.

      credentialDefinitionUri string
      display object
      name string

      Defines name for the credential

      description string

      Defines the discription for the credential definition.

      backgroundColor string

      Defines background color for the credential

      textColor string

      Defines text color for the credential.

      credentialFormat string

      Possible values: [jwt_vc_json, dc+sd-jwt, mso_mdoc]

      Specifies the credential format for verifiable credential.

      vct string

      Specifies the credential type to be present in verifiable credential issued for ietf sd-jwt.

      doctype string

      Specifies the credential type to be present in verifiable credential issued for mso mdoc.

      claims object

      Defines the structure of the verifiable credential as per JSON schema specification for ietf sd-jwt and mso mdoc.

      property name* any

      Defines the structure of the verifiable credential as per JSON schema specification for ietf sd-jwt and mso mdoc.

      supportRevocation boolean

      Specifies the verifiable credential supports revocation.

      enforceWUA boolean

      Specifies the verifiable credential should enforce wallet unit attestation

      validationPath string

      Possible values: [$.vc.credentialSubject, $.vc, $]

      Specifies the validation path for the credential definition

      revocationMethod string

      Possible values: [status_list, status_list_2021]

      Specifies the revocation method for the credential definition

      enforceCredentialUniqueness boolean

      Specifies the verifiable credential supports credential uniqueness

      supportCredentialReissuance boolean

      Specifies the verifiable credential supports credential reissuance

      id string

      Specifies the identifier for credential definition 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

    Loading...