GET公开接口

获取项目公开信息

提供项目基础信息,通常用于客户端启动时初始化展示。

URL

/api/v1/public/{projectKey}

鉴权方式

无需鉴权

请求参数

Path 参数

名称类型必填说明
projectKeystring项目标识(不区分大小写)

该接口无需请求体。

响应示例

200 响应

{
  "project_key": "verhub",
  "name": "Verhub",
  "description": "版本管理平台",
  "repo_url": "https://github.com/example/verhub",
  "author": "octocat",
  "author_homepage_url": "https://github.com/octocat",
  "icon_url": "https://avatars.githubusercontent.com/u/1?v=4",
  "website_url": "https://verhub.dev",
  "published_at": 1760000000
}
GET

Try It Out

请求 URL 预览

/api/v1/public/verhub