Get accesses
GET/track-and-trace/accesses
Get accesses filtered by subject.
The accesses of the subject are read from the contract in full before the page is returned. The request fails instead of returning a partial list:
503if the node keeps failing (for example a network error or a timeout that persists after a few retries): retry later;500if the contract can't answer for some documents of the subject, or can't list them (for example an empty revert that persists after a few retries): retrying won't help.
A subject that can't hold Track and Trace accesses (a did:key on a curve other than
secp256k1) fails with 400 Unsupported Subject.
Request
Responses
- 200
- 400
- 405
- 406
- 500
- 503
Success
Bad Request. A pagination parameter or subject failed validation, the contractAddress
query parameter is malformed, points at no contract or at the wrong contract, or is
required but absent, or the subject can't hold Track and Trace accesses.
It is also returned when the request carries a query parameter that this operation does not declare.
Method Not Allowed. Returned for any documented path invoked with an HTTP method it doesn't support.
Response Headers
Comma-separated list of HTTP methods supported by this path.
GET, HEADNot Acceptable. Returned when the request's Accept header matches none of the content
types this operation can produce. The detail lists them: Only '<type>' content type supported when the operation produces a single one, Only '<type>' or '<type>' content types supported when it produces several.
Internal Server Error. Besides unexpected errors, Unreadable Documents is returned
when the contract can't answer for some documents of the subject (see the description
above): retrying won't help.
Service Unavailable