Trust Registry Proof Templates
parameters
Authorizations
Path parameters
registryIdstringRequired
A trust registry id
parameters
PARAMETERS /trust-registries/{registryId}/proof-templates HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
Returns the Trust Registry proof templates
Authorizations
Path parameters
registryIdstringRequired
A trust registry id
Query parameters
offsetinteger · int32OptionalDefault:
How many items to offset by for pagination
0
limitinteger · int32 · min: 1 · max: 64OptionalDefault:
How many items to return at one time (max 64)
64
Responses
200
List of proof templates
application/json
400
Application error
application/json
401
Unauthorized.
application/json
404
Trust Registry was not found.
application/json
get
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
}
]
}
Authorizations
Path parameters
registryIdstringRequired
A trust registry id
Body
idstringRequiredExample:
The proof template ID
a6cd414a-6eba-4241-9a9c-6f75864edbd5
Responses
200
Trust Registry has been assigned the proof template
400
Error inviting Trust Registry participant
application/json
401
Unauthorized.
application/json
402
Transaction limit reached or upgrade required to proceed
application/json
404
Trust Registry was not found.
application/json
post
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
parameters
Authorizations
Path parameters
registryIdstringRequired
A trust registry id
templateIdstringRequired
A proof template id
parameters
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
Authorizations
Path parameters
registryIdstringRequired
A trust registry id
templateIdstringRequired
A proof template id
Responses
200
Trust Registry proof template has been deleted
400
Something went wrong with deleting the Trust Registry proof template
application/json
401
Unauthorized.
application/json
404
Trust Registry does not exist
application/json
delete
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?