kernelci / kernelci/kernelci-api
Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't
- 主要语言
- Python
- 星标
- 10
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
描述
The documentaion says this:
> It can take a few minutes to build the images from scratch the first time. Then the services should be up and running. To confirm the API is available:
>
> ```
> $ curl http://localhost:8001/latest/
> {"message":"KernelCI API"}
> ```
However this is not what I observed:
```
$ curl http://localhost:8001/latest/
KernelCI API Server
body { font-family: Arial, sans-serif; background: #f8f9fa; color: kernelci/kernelci-project#222; margin: 0; padding: 0; }
.container { max-width: 600px; margin: 60px auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); padding: 32px; }
h1 { color: #0057b7; }
a { color: #0057b7; text-decoration: none; }
a:hover { text-decoration: underline; }
.logo { width: 120px; margin-bottom: 24px; }
KernelCI API Server
Welcome! This is the KernelCI API server endpoint.
Use this service to interact with the KernelCI Maestro API via RESTful API calls.
For more information about KernelCI, please visit kernelci.org.
API documentation and usage instructions can be found in the KernelCI documentation.
© 2025 KernelCI Project
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,针对 /latest/ 的本地 Maestro API 重现文档中的 curl 请求,并将 HTML 响应与文档中的 JSON 进行比较。追踪负责此 endpoint 的路由或本地实例文档,然后更新行为或文档,使请求与预期响应保持一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, documentation
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100