Claims (single claim) [OPTIONS]

The OPTIONS request to the /parties/{partyId}/claims/{claimId} endpoint returns a list of supported HTTP methods that can be used with the /parties/{partyId}/claims/{claimId} resource. This allows clients to determine which operations are permitted by the server for this endpoint.

options
Authorizations
AuthorizationstringRequired

OAuth 2.0 authorization based on bearer token. MUST contain “Bearer “ + access token value. Must be provided if restricted endpoints are needed.

Path parameters
partyIdstringRequired

The id of the party for which the allowed HTTP methods must be fetched

Example: did:ishare:EU.NL.NTRNL-12345678
claimIdstringRequired

The id of the claim for which the allowed HTTP methods must be fetched

Example: 5ffb4bb9-2020-4045-a922-3bd84e78f709
Responses
204

List the allowed HTTP methods for this endpoint

options
/parties/{partyId}/claims/{claimId}
OPTIONS /parties/{partyId}/claims/{claimId} HTTP/1.1
Host: isharetest.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

List the allowed HTTP methods for this endpoint

No content

Request model

The following URL parameters must be used.

  • partyId {url}/parties/{partyId} required String. The id of the party whose claims must be fetched. Can be anyone of the party id from id or alsoKnownAs attributes of that participant. Since all participants are automatically allocated the derived ishare did, that id is always an option to search for a participant.

  • claimId {url}/parties/{partyId}/claims/{claimId} required String. The id of the claims that must be fetched.

Example request

> Authorization: Bearer IIeDIrdnYo2ngwDQYJKoZIhvcNAQELBQAwSDEZMBcGA1UEAwwQaVNIQ

OPTIONS /parties/did%3Aishare%3AEU.NL.NTRLNL-10000001/claims/724ef843-68c3-4a9a-a244-8b17bcae33e1

Example response

The server provides the response with status code 204.

The response contains the following HTTP header:

Header
Example value

Allow

GET, PATCH, OPTIONS

Last updated