Preview release.These docs are a work in progress. Pages are still being written, links may break, and structure may shift without notice. Treat everything here as a draft and report issues onGitHub.
Return the readiness probe
GET
/ready
const url = 'https://example.com/ready';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/readyResponses
Section titled “Responses”Evidence runtime is ready
Media typeapplication/json
Example
{ "checks": { "failed": 0, "ok": 1, "total": 1 }, "status": "ready"}Evidence runtime is not ready or is degraded
Media typeapplication/problem+json
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "readiness.not_ready", "detail": "one or more readiness checks are not ready", "status": 503, "title": "Evidence runtime is not ready", "type": "https://docs.registry-notary.dev/problems/readiness/not_ready"}Client error
Media typeapplication/problem+json
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "request.invalid", "detail": "the evidence request is invalid", "status": 400, "title": "Invalid evidence request", "type": "https://docs.registry-notary.dev/problems/request/invalid"}