openapi: 3.0.3 info: title: SkillHub Official GitHub Deep Discovery Admin API version: 0.1.0-draft description: 配置及管理员读模型已实现;全新迁移、隔离HTTP、生成SDK、浏览器及1万合成仓库串行基线通过;公网召回和并发资源验收未完成。仅SUPER_ADMIN,固定公共@github范围。enabled保存管理员意图,不证明执行器正在运行;配套MD定义语义。 x-implementation-status: implemented-controlled-runtime-verified servers: - url: /api/v1/admin/github-sync/deep-discovery security: - SessionCookie: [] paths: /configuration: get: operationId: getOfficialGithubDiscoveryConfiguration x-implementation-status: implemented-controlled-runtime-verified parameters: &id001 [] responses: '200': description: 配置已读取或持久保存;使用ApiResponse,不表示探索已执行。 content: application/json: schema: $ref: '#/components/schemas/ConfigurationResponse' '400': description: 参数无效 content: application/json: schema: $ref: '#/components/schemas/Error' '401': description: 未登录 content: application/json: schema: $ref: '#/components/schemas/Error' '403': description: 无平台权限或CSRF无效 content: application/json: schema: $ref: '#/components/schemas/Error' put: operationId: updateOfficialGithubDiscoveryConfiguration x-implementation-status: implemented-controlled-runtime-verified parameters: - $ref: '#/components/parameters/Csrf' responses: '200': description: 配置已读取或持久保存;使用ApiResponse,不表示探索已执行。 content: application/json: schema: $ref: '#/components/schemas/ConfigurationResponse' '400': description: 参数无效 content: application/json: schema: $ref: '#/components/schemas/Error' '401': description: 未登录 content: application/json: schema: $ref: '#/components/schemas/Error' '403': description: 无平台权限或CSRF无效 content: application/json: schema: $ref: '#/components/schemas/Error' '409': description: expectedVersion 与当前版本不符;读取最新配置后由管理员合并,禁止自动覆盖。 content: application/json: schema: $ref: '#/components/schemas/Error' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConfigurationUpdate' /summary: get: operationId: getOfficialGithubDiscoverySummary x-implementation-status: implemented-controlled-runtime-verified parameters: - name: from in: query required: true schema: type: string format: date-time description: UTC区间[from,until),from