GET /
...小于 1 分钟约 118 字
操作
获取可用性
- Method:
GET - Path:
/
获取 API 当前可用性。在使用之前,建议先请求以确保 API 可用性。
参数
format
- In:
query
输出格式,默认 text (文本格式)
string, 可用值: "text", "xml", "json", 默认: "text"
响应
状态码: 200 API 可用
Content-Type: text/html
string, 可用值: "true"
示例:
"true"Content-Type: application/xml
successboolean— 可用性
示例:
<?xml version="1.0" encoding="UTF-8"?>
<api>
<success>true</success>
</api>Content-Type: application/json
successboolean— 可用性
示例:
{
"success": true
}