Skip to main content
Credential definitions

Read credential definition version

GET/v4/config/ows/issuer/credential-definitions/{definitionId}/versions/{version}

Returns a credential definition as it was in one version. Each create and update of a credential definition makes a new version, and a version never changes. An issuance history follows the version that it started with (credentialDefinition.definitionVersion of Read issuance history): use this call to see the settings that governed it. The answer has the shape of Read credential definition, without the checks of the signing keys.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:credential-definitions:read

Path parameters

  • definitionIdstringrequired

    The id of the credential definition (credentialDefinitionId), from List credential definitions.

  • versionintegerrequired

    The version of the credential definition: definitionVersion of the definition, or credentialDefinition.definitionVersion of an issuance history. The first version is 1.

    At least 1.

Response

application/json

The credential definition as it was in the version.

  • credentialDefinitionobject

    A credential definition. The top-level members are the settings of the whole definition (label, signing key, trust in wallets, issuance options); credentialConfigurations has the credential configurations that the issuer publishes in the Credential Issuer Metadata. Some top-level members (the format, the type, the claims, the validity, the holder binding and the proof types) are read-only copies of the first credential configuration: the configurations govern the issuance.