Credential Schema APIs
If the schema is updated, a new semver will be generated and the old one will be deprecated. If only metadata (like tags/status) is updated, the semver will not be generated
Authorizations
TokenstringRequired
Path parameters
idstringRequired
Body
tagsstring[]Optional
statusstring · enumOptionalPossible values:
Responses
200
Credential Schema successfully updated!
application/json
Responseall of
400
Invalid Input
500
error
put
/credential-schema/{id}Authorizations
TokenstringRequired
Body
templatestringOptional
It should be valid string in handlebar format
schemaIdstringOptionalExample:
did:cred-schema:MDP8AsFhHzhwUvGNuYkX7T/06e126d1-fa44-4882-a243-1e326fbe21db;version=1.1Responses
201
Rendering template successfully created!
application/json
400
Invalid Input
500
error
post
/templateCreate a new version of template
Authorizations
TokenstringRequired
Path parameters
idstringRequired
Body
templatestringOptional
It should be valid string in handlebar format
schemaIdstringOptionalExample:
did:cred-schema:MDP8AsFhHzhwUvGNuYkX7T/06e126d1-fa44-4882-a243-1e326fbe21db;version=1.1Responses
200
Rendering template successfully updated!
application/json
Responseall of
400
Invalid Input
500
error
put
/template/{id}Last updated