Comment on page

Get All Claims

get
/api/v1/{entity-name}/claims
Parameters
Path
entity-name*
Name of the entity to which attestation request was sent
Query
page
Page no if you want response in pagenated format
size
Maximum claims claims to be returned in one page
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?page=1&size=10' \
--header 'Authorization: Bearer {access-token}'

HTTPie

http GET '{registry-url}/api/v1/{entity-name}/claims?page=1&size=10' \
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