Skip to main content

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:

  • 503 if the node keeps failing (for example a network error or a timeout that persists after a few retries): retry later;
  • 500 if 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​

Success