lingchu
  1. health
lingchu
  • db
    • 获取模型列表
      GET
    • 创建记录
      POST
    • 查询单条记录
      POST
    • 查询列表
      POST
    • 统计数量
      POST
    • 更新记录
      POST
    • 删除记录
      POST
  • health
    • 数据库健康检查
      GET
  • Onebot V11 Root Http
    POST
  • Onebot V11 Http
    POST
  • Onebot V11 Http Slash
    POST
  • 数据模型
    • APIErrorResponse
    • CreateReq
    • AffectedResponse
    • DeleteReq
    • CountResponse
    • GetOneReq
    • ListReq
    • ErrorDetail
    • UpdateReq
    • HealthResponse
    • ModelsResponse
    • RecordListResponse
    • RecordResponse
  1. health

数据库健康检查

GET
/api/db/health
数据库连接健康检查(轻量)。

请求参数

无

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/db/health'

返回响应

🟢200
application/json
Successful Response
Body

示例
{
    "status": "success",
    "message": "ok",
    "data": {
        "property1": "string",
        "property2": "string"
    }
}
🟠400
🟠404
🟠409
🟠422
🔴500
修改于 2025-12-27 17:30:02
上一页
删除记录
下一页
Onebot V11 Root Http
Built with