Readiness: migrations, the writer, the pinned verifier and the cursor keyring
GET
/readyz
const url = 'https://example.com/readyz';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/readyzResponses
Section titled “Responses”Successful Response
Media typeapplication/json
Readiness
object
status
required
Status
string
checks
required
Checks
Array<object>
Checkobject
name
required
Name
string
ok
required
Ok
boolean
detail
required
Detail
string
Example generated
{ "status": "example", "checks": [ { "name": "example", "ok": true, "detail": "example" } ]}Service Unavailable
Media typeapplication/json
Readiness
object
status
required
Status
string
checks
required
Checks
Array<object>
Checkobject
name
required
Name
string
ok
required
Ok
boolean
detail
required
Detail
string
Example generated
{ "status": "example", "checks": [ { "name": "example", "ok": true, "detail": "example" } ]}