Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't
还没有人认领这个 Issue。
- #701 来自 @nuclearcat —— 已关闭,未合并
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- api, documentation
调研方向
首先,针对 /latest/ 的本地 Maestro API 重现文档中的 curl 请求,并将 HTML 响应与文档中的 JSON 进行比较。追踪负责此 endpoint 的路由或本地实例文档,然后更新行为或文档,使请求与预期响应保持一致。
由索引模型根据 Issue 内容生成。
描述
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/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KernelCI API Server</title>
<style>
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; }
</style>
</head>
<body>
<div class="container">
<img src="https://kernelci.org/wp-content/uploads/sites/92/2019/10/kernelci-horizontal-color.svg" alt="KernelCI Logo" class="logo"/>
<h1>KernelCI API Server</h1>
<p>Welcome! This is the <b>KernelCI API</b> server endpoint.</p>
<p>Use this service to interact with the KernelCI Maestro API via RESTful API calls.</p>
<p>For more information about KernelCI, please visit <a href="https://kernelci.org/" target="_blank">kernelci.org</a>.</p>
<p>API documentation and usage instructions can be found in the <a href="https://docs.kernelci.org/" target="_blank">KernelCI documentation</a>.</p>
<hr/>
<p style="font-size: 0.95em; color: #888;">© 2025 KernelCI Project</p>
</div>
</body>
</html>
- 主要语言
- Python
- 星标
- 10
- 派生
- 21
- 平均合并
- 22 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
kernelci/kernelci-api 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
kernelci/kernelci-api#706 ·
-
难度 5/5 一周以上 新手友好度 20/100
kernelci/kernelci-api#629 ·
-
难度 4/5 3-5 天 新手友好度 35/100
kernelci/kernelci-api#608 ·
-
难度 3/5 1-2 天 新手友好度 35/100
kernelci/kernelci-api#597 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
kernelci/kernelci-api#582 ·
查看 kernelci/kernelci-api 的全部 Issue
相似的 Issue
-
automated issue report
难度 1/5 1 小时以内 新手友好度 85/100
RapidAI/RapidOCRDocs#119 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 85/100
btclib-org/btclib-node#1833 ·
维护者通常 1 天内回复
-
IRIS reader: no-data velocity bins (DB_VEL, DB_VELC) returned as 0.0 m/s instead of NaN可能已有人在做 @syedhamidali 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 80/100
elodin-sys/elodin#890 ·
维护者通常 1 天内回复