Skip to main content

List credential definition templates

GET 

/v2/config/digital-wallet/openid/sdjwt/credential-definition/templates

Lists the pre-defined credential schema templates that you can use to create a credential definition. The platform returns only the latest version of each schema. A claim path pointer schema has one entry for each credential format, so the same name and version can appear more than once. When the platform cannot read the schema repository, it returns an empty templates array and no pagination object.

Request

Query Parameters

    offset integerrequired

    Default value: 0

    Number of records to skip for pagination. A negative or unreadable value falls back to 0.

    limit integerrequired

    Default value: 10

    Maximum number of records to return per page.

Responses

Credential definition templates listed successfully

Response Headers
    Schema
      templates object[]

      Credential schema templates for the current page.

      pagination object

      Offset based pagination for the template list. This operation does not use the page based pagination of the other list operations.

      offset integer

      Number of templates that the server skipped.

      limit integer

      Maximum number of templates per page. Defaults to 10.

      totalItems integer

      Total number of templates available.

      hasPrevious boolean

      Indicates whether a previous page exists.

      hasNext boolean

      Indicates whether a next page exists.

    Loading...