GET/api/v1discovery
Discovery
| 处理器 | discovery |
|---|---|
| 签名 | async discovery() -> JSONResponse |
| 源码 | L2134 |
REQUEST
curl -X GET \
http://127.0.0.1:8000/api/v1Server 当前 健康与版本 接口;路径、方法、状态码与处理器签名直接来自 0.8.4 源码。
源码 packages/fastsim-plugin-server/src/fastsim_plugin_server/application.pyDiscovery
| 处理器 | discovery |
|---|---|
| 签名 | async discovery() -> JSONResponse |
| 源码 | L2134 |
curl -X GET \
http://127.0.0.1:8000/api/v1Health live
| 处理器 | health_live |
|---|---|
| 签名 | async health_live() -> JSONResponse |
| 源码 | L2116 |
curl -X GET \
http://127.0.0.1:8000/health/liveHealth ready
| 处理器 | health_ready |
|---|---|
| 签名 | async health_ready() -> JSONResponse |
| 源码 | L2121 |
curl -X GET \
http://127.0.0.1:8000/health/ready