Get Claim by ID
GET  /api/v1/{entity-name}/claims/{claimId}
Path Parameters
Name
Type
Description
entity-name*
String
Name of the entity to which attestation request was sent
claimId*
String
ID of the claim to be returned
Headers
Name
Type
Description
content-type*
String
Set to application/json
authorization
String
Set to Bearer {access-token} if roles in schema config is not anonymous else this can be empty
{
    "id": "{claimId}",
    "entity": "{entityName",
    "entityId": "{entityId}",
    "status": "OPEN",
    "attestationId": "{attestationID}",
    "attestationName": "{attestationName}",
    "closed": false        
}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
Last updated