GET管理接口
查询项目级 GitHub 集成配置
返回项目的 GitHub App 功能配置。`*_active` 字段是综合实例配置得出的实际生效状态: 项目开关打开但实例功能未启用/凭据不全时为 false。
URL
/api/v1/admin/projects/{projectKey}/github-integration鉴权方式
需要管理员 JWT 或 API Key,二者等价(Authorization: Bearer <token>)
请求参数
Path 参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| projectKey | string | 是 | 项目主键 project_key(大小写不敏感) |
Header 参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| Authorization | string | 是 | Bearer <管理员 JWT 或 API Key> |
该接口无需请求体。
响应示例
200 响应
{
"project_key": "verhub",
"repo_full_name": "acme/app",
"feedback_issue_enabled": true,
"feedback_issue_active": true,
"feedback_issue_template_source": "inherit",
"feedback_issue_template_repo_path": null,
"feedback_issue_template_repo_ref": null,
"feedback_issue_title_template": null,
"feedback_issue_body_template": null,
"feedback_issue_labels": [
"feedback"
],
"comment_commands_enabled": true,
"comment_commands_active": true,
"command_allowed_associations": [
"OWNER",
"MEMBER",
"COLLABORATOR"
],
"command_allowed_users": [],
"commands": [
{
"name": "release",
"workflow": "release.yml",
"ref": "main",
"input": "version"
}
],
"updated_at": 1760000000
}GET
