Skip to content

市场接口

供客户端和开发者使用的场景市场接口。

搜索场景

http
GET /api/v1/marketplace/search?q=code&category=development&page=1&pageSize=20
参数说明
q搜索关键词
category分类筛选
page页码
pageSize每页数量

获取分类

http
GET /api/v1/marketplace/categories

场景详情

http
GET /api/v1/marketplace/:id

安装场景

http
POST /api/v1/marketplace/:id/install
Authorization: Bearer <token>

检查更新

http
POST /api/v1/marketplace/check-updates
Authorization: Bearer <token>
Content-Type: application/json

{
  "scenarios": [
    { "id": "code-reviewer", "version": "1.0.0" }
  ]
}

评分评价

http
POST /api/v1/marketplace/:id/review
Authorization: Bearer <token>
Content-Type: application/json

{
  "rating": 5,
  "comment": "非常好用"
}

AweeClaw AI 应用构建平台