Trust Registry Proof Templates
A trust registry id
PARAMETERS /trust-registries/{registryId}/proof-templates HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
Returns the Trust Registry proof templates
A trust registry id
How many items to offset by for pagination
0
How many items to return at one time (max 64)
64
List 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 JWT
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-6f75864edbd5
Trust 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 JWT
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 JWT
Accept: */*
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 JWT
Accept: */*
No content
Last updated
Was this helpful?