Skip to content

GetCredentialDefinitionById

GET
/credential-definitions/{credentialDefinitionId}

Retrieve credential definition by credential definition id

Authorizations

Parameters

Path Parameters

credentialDefinitionId
required
string
WgWxqztrNooG92RXvxSTWv:3:CL:20:tag

Responses

200

CredDef

object
credentialDefinition
object
issuerId
required
string
schemaId
required
string
type
required
string
Allowed values: CL
tag
required
string
value
required
object
revocation
primary
required

Construct a type with a set of properties K of type T

object
credentialDefinitionId
required
string
resolutionMetadata
required
object
error
Any of:
string
message
string
credentialDefinitionMetadata
required

Construct a type with a set of properties K of type T

object
Examples
{
"ver": "1.0",
"id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag",
"schemaId": "351936",
"type": "CL",
"tag": "definition",
"value": {
"primary": {
"n": "string",
"s": "string",
"r": {
"master_secret": "string",
"string": "string"
},
"rctxt": "string",
"z": "string"
},
"revocation": {
"g": "1 string",
"g_dash": "string",
"h": "string",
"h0": "string",
"h1": "string",
"h2": "string",
"htilde": "string",
"h_cap": "string",
"u": "string",
"pk": "string",
"y": "string"
}
}
}