Templates
Credential Type definitions
In the calls to create Credential Request or Credential Offer there is a reference to the respective credential type by its ID. If you want to get the template spec, you can call the API to get the type definition of a certain template.
Provide the types of the fields of a template based on the given template ID.
Authorizations
Body
TemplateIdnumber · integerOptionalExample:
The ID of a credential template as defined in the sidoes administration console.
18
Responses
200
The description of the template definition.
application/json
400
Bad Request
application/json
403
Unauthorized Access
application/json
500
Server Error
application/json
post
POST /v3/templatefielddescription HTTP/1.1
Host: juno.sideos.io
X-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"TemplateId": 18
}
{
"templateid": 18,
"domain": "https://yourdomain/callback",
"challenge": "A08935CF-FAEF-4978-81FF-BA4BBD757727",
"dataset": {
"email": "DataFeedItem",
"name": "DataFeedItem"
}
}
Last updated