健康检查
GET
/meta/v1/health● 支持返回
200
错误按 problem+json 格式返回,参见 错误码
请求示例
curl
curl https://api.deepraxis.com/meta/v1/healthPython
import requests
opts = dict(
base_url="https://api.deepraxis.com/meta",
)
resp = requests.get(f"{opts['base_url']}/v1/health")
print(resp.text)TypeScript
const opts = {
baseURL: "https://api.deepraxis.com/meta",
};
const resp = await fetch(`${opts.baseURL}/v1/health`);
console.log(await resp.text());响应示例 200
ok响应
HTTP 200
The API edge is up; the body is the plain text ok.
text/plain
| 名称 | 类型 | 说明 |
|---|---|---|
| $ | string | Always the literal ok. |