Trust registry proof templates
A trust registry id
PARAMETERS /trust-registries/{registryId}/proof-templates HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns the Trust Registry proof templates
A trust registry id
How many items to offset by for pagination
0How many items to return at one time (max 64)
64List of proof templates
Application error
Unauthorized.
Trust Registry was not found.
GET /trust-registries/{registryId}/proof-templates HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"total": 200,
"list": [
{
"id": "37275574-7ea4-438d-b8ef-f8fc61dbf09e",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": {
"name": "favouriteDrink",
"names": [
"age"
]
}
},
"name": "Proof request",
"nonce": "1234567890",
"qr": "http://creds-testnet.truvera.io/proof/37275574-7ea4-438d-b8ef-f8fc61dbf09e",
"did": "did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59",
"verified": false
}
]
}A trust registry id
The proof template ID
a6cd414a-6eba-4241-9a9c-6f75864edbd5Trust Registry has been assigned the proof template
No content
Error inviting Trust Registry participant
Unauthorized.
Transaction limit reached or upgrade required to proceed
Trust Registry was not found.
POST /trust-registries/{registryId}/proof-templates HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "a6cd414a-6eba-4241-9a9c-6f75864edbd5"
}No content
A trust registry id
A proof template id
PARAMETERS /trust-registries/{registryId}/proof-templates/{templateId} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Remove Trust Registry proof template
Removes a Trust Registry proof template
A trust registry id
A proof template id
Trust Registry proof template has been deleted
No content
Something went wrong with deleting the Trust Registry proof template
Unauthorized.
Trust Registry does not exist
DELETE /trust-registries/{registryId}/proof-templates/{templateId} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?