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
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Response
Retrieve a specific definitions by uid
GET
/api/v1/definition/{uid}
<Description of the endpoint>
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Response
Create a new definition
POST
/api/v1/definition
<Description of the endpoint>
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
| string | Name for this definition (compulsory) |
| string | Description for this definition (compulsory) |
| string | Version for this definition (optional) |
| string | Published short DID of author for this definition (compulsory) |
| string | optional |
| string (url) | Location of the schema definition (httph://...) |
Response
Last updated