Credential Schema APIs

Get credential schema by tags

get
Authorizations
TokenstringRequired
Query parameters
tagsstringOptionalExample: tag1,tag2
Responses
get
/credential-schema

Create credential schema

post
Authorizations
TokenstringRequired
Body
tagsstring[]Optional
statusstring · enumOptionalPossible values:
Responses
post
/credential-schema

Get credential schema by id

get
Authorizations
TokenstringRequired
Path parameters
idstringRequired
Responses
200

Response

application/json
get
/credential-schema/{id}

Update credential schema by id

put

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
put
/credential-schema/{id}

Get rendering templates by schema id

get
Authorizations
TokenstringRequired
Query parameters
schemaIdstringRequired
Responses
200

Response

application/json
Responseall of
get
/template

Create redenring templates

post
Authorizations
TokenstringRequired
Body
templatestringOptional

It should be valid string in handlebar format

schemaIdstringOptionalExample: did:cred-schema:MDP8AsFhHzhwUvGNuYkX7T/06e126d1-fa44-4882-a243-1e326fbe21db;version=1.1
Responses
post
/template

Get rendering templates by id

get
Authorizations
TokenstringRequired
Path parameters
idstringRequired
Responses
200

Response

application/json
Responseall of
get
/template/{id}

Update rendering templates by id

put

Create 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.1
Responses
200

Rendering template successfully updated!

application/json
Responseall of
put
/template/{id}

Delete rendering templates by id

delete
Authorizations
TokenstringRequired
Path parameters
idstringRequired
Responses
200

Credential Schema successfully deleted!

No content

delete
/template/{id}

No content

Last updated