Check the API status
One call of the distributor API, read from the interface description Yutai publishes. Every sample answer on this page is simulated: no real holder's data stands behind it. The formats every value travels in are the identifiers page's.
The call
/v1/status
This call takes no key: you can call it before you hold one.
What it answers
Every external domain of Yutai's data, each with its mode today and the one sentence to show beside data in that mode, beside the overall word, the build the answer comes from and the server time. The call needs no key, because a distributor calls it before it holds one. A down answer names no modes, because the check failed before they could be read.
apiVersionRequired. It always carries the value below.
1
domainsRequired. A list of objects with the fields below.
Each itemRequired. An object with the fields below.
domainRequired. A string that is one of the values below.
chainopenbankingenrichmentpriceswalletkyc-attestregistrytoken-issuer-sourcesreference-datacustodialtreasury
modeRequired. A string that is one of the values below.
SIMULATEDSANDBOXLIVE
sentenceRequired. A string. It carries at least 1 character.
statusHow the service stands: ok when it answers, degraded when part of it is unavailable, down when a check failed; a down word stands up to thirty seconds, so a recovered service can answer down briefly.
Required. A string that is one of the values below.
okdegradeddown
versionThe build this answer comes from: the first seven characters of the source commit, or unknown when the serving environment names none.
Required. A string. It carries at least 1 character.
timeThe instant this answer was made, in the ISO 8601 form.
Required. An instant in the ISO 8601 form.
The errors
Every refused call answers one object with one field, message: the plain sentence that says what did not happen. The sentence carries 1 to 512 characters, so a refusal never carries an id, a code or an exception's text.
| Status | What it answers |
|---|---|
| 500 | The read failed inside Yutai. Nothing was changed. |
The errors and limits page carries every refusal status the document declares, each in its own words, beside the calls that answer it.