Definition
This API suite focuses on defining the types of verifiable credentials. This is mostly optional.
Retrieve all credential definitions registered by a user
GET
/api/v1/definition
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
Response
Retrieve a specific definitions by uid
GET
/api/v1/definition/{uid}
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
Response
Create a new definition
POST
/api/v1/definition
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
name
string
Name for this definition (compulsory)
description
string
Description for this definition (compulsory)
version
string
Version for this definition (optional)
author
string
Published short DID of author for this definition (compulsory)
tags
string
optional
location
string (url)
Location of the schema definition (httph://...)
Response
Last updated