GET/api/v1/capabilitiescapabilities
Capabilities
| 处理器 | capabilities |
|---|---|
| 签名 | async capabilities() -> JSONResponse |
| 源码 | L2190 |
REQUEST
curl -X GET \
http://127.0.0.1:8000/api/v1/capabilitiesServer 当前 发现与运行信息 接口;路径、方法、状态码与处理器签名直接来自 0.8.4 源码。
源码 packages/fastsim-plugin-server/src/fastsim_plugin_server/application.pyCapabilities
| 处理器 | capabilities |
|---|---|
| 签名 | async capabilities() -> JSONResponse |
| 源码 | L2190 |
curl -X GET \
http://127.0.0.1:8000/api/v1/capabilitiesLaunch status
| 处理器 | launch_status |
|---|---|
| 签名 | async launch_status() -> JSONResponse |
| 源码 | L2252 |
curl -X GET \
http://127.0.0.1:8000/api/v1/launchReturn bounded, redacted operator events without opening a cold Run.
| 处理器 | server_logs |
|---|---|
| 签名 | async server_logs(after_sequence: int=Query(default=0, ge=0, le=2 ** 63 - 1), limit: int=Query(default=200, ge=1, le=500), wait_s: float=Query(default=0.0, ge=0.0, le=30.0)) -> JSONResponse |
| 源码 | L2501 |
curl -X GET \
http://127.0.0.1:8000/api/v1/logsProcess metrics
| 处理器 | process_metrics |
|---|---|
| 签名 | async process_metrics() -> JSONResponse |
| 源码 | L2197 |
curl -X GET \
http://127.0.0.1:8000/api/v1/metrics/processPlugin events
| 处理器 | plugin_events |
|---|---|
| 签名 | async plugin_events(after_sequence: int=Query(default=0, ge=0, le=2 ** 63 - 1), limit: int=Query(default=100, ge=1, le=200), instance: str | None=Query(default=None, min_length=1, max_length=128, pattern=_ENTITY_PATTERN), topic: str | None=Query(default=None, min_length=1, max_length=128, pattern='^[A-Za-z0-9_.:-]+$')) -> JSONResponse |
| 源码 | L2467 |
curl -X GET \
http://127.0.0.1:8000/api/v1/plugins/eventsPlugin status
| 处理器 | plugin_status |
|---|---|
| 签名 | async plugin_status() -> JSONResponse |
| 源码 | L2435 |
curl -X GET \
http://127.0.0.1:8000/api/v1/plugins/statusPlugin instance status
| 处理器 | plugin_instance_status |
|---|---|
| 签名 | async plugin_instance_status(instance: str=Path(min_length=1, max_length=128, pattern=_ENTITY_PATTERN)) -> JSONResponse |
| 源码 | L2444 |
curl -X GET \
http://127.0.0.1:8000/api/v1/plugins/{instance}/statusScenario summary
| 处理器 | scenario_summary |
|---|---|
| 签名 | async scenario_summary() -> JSONResponse |
| 源码 | L2388 |
curl -X GET \
http://127.0.0.1:8000/api/v1/scenarioScenario behavior
| 处理器 | scenario_behavior |
|---|---|
| 签名 | async scenario_behavior() -> JSONResponse |
| 源码 | L2420 |
curl -X GET \
http://127.0.0.1:8000/api/v1/scenario/behaviorScenario evaluation
| 处理器 | scenario_evaluation |
|---|---|
| 签名 | async scenario_evaluation() -> JSONResponse |
| 源码 | L2427 |
curl -X GET \
http://127.0.0.1:8000/api/v1/scenario/evaluationScenario scene
| 处理器 | scenario_scene |
|---|---|
| 签名 | async scenario_scene() -> JSONResponse |
| 源码 | L2413 |
curl -X GET \
http://127.0.0.1:8000/api/v1/scenario/sceneScenario source
| 处理器 | scenario_source |
|---|---|
| 签名 | async scenario_source() -> JSONResponse |
| 源码 | L2406 |
curl -X GET \
http://127.0.0.1:8000/api/v1/scenario/sourceState
| 处理器 | state |
|---|---|
| 签名 | async state() -> JSONResponse |
| 源码 | L2638 |
curl -X GET \
http://127.0.0.1:8000/api/v1/state