Get Claim by ID

get
/api/v1/{entity-name}/claims/{claimId}
Parameters
Path
entity-name*
Name of the entity to which attestation request was sent
claimId*
ID of the claim to be returned
Header
content-type*
Set to application/json
authorization
Set to Bearer {access-token} if roles in schema config is not anonymous else this can be empty
Responses
200: OK

Usage

cURL

curl --location --request GET '{registry-url}/api/v1/{entity-name}/claims/{claimId}' \
--header 'Authorization: Bearer {access-token}'

HTTPie

http GET '{registry-url}/api/v1/{entity-name}/claims/{claimId}' \
Authorization:'Bearer {access-token}'
{registry-url} is usually http://localhost:{port}. The port can be found under the registry section in the docker-compose.yml file and is usually 8081