公开仓库最新正式Release的只读REST资料;可免认证,排除draft/prerelease;未请求。
调用方式 / profile:github-public-releases-documentation · 组件版本:documentation-sha256:414c9ba7ebb979303de3253c940a638d1457bfcf21b87c721a537daf52166ed0 · 引用此版本与调用方式
已记录条件
- auth_required = false:支持。Supported within this profile and component version. 依据:github-public-releases-documentation-e1
- invocation_mode = api:支持。Supported within this profile and component version. 依据:github-public-releases-documentation-e2
- output_format = json:支持。Supported within this profile and component version. 依据:github-public-releases-documentation-e2
- output_structure = json_object:支持。Supported within this profile and component version. 依据:github-public-releases-documentation-e2
入口与前提
- 协议
- HTTPS GET
- 认证
- 仅公共资源可不认证;私有仓库和写操作不在本profile
- 价格是否查明
- unknown
- 配额是否查明
- unknown
https://api.github.com/repos/{owner}/{repo}/releases/latest- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- latest按created_at对应commit日期,不是发布/草稿日期;排除draft及prerelease。
- 404可能是没有可见release或权限等,不推断仓库不存在;价格、频率限额未知。
配方 github-public-releases-documentation-recipe · 修订 1
所需调用能力:
- read_latest_public_release
运行前提:
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- latest按created_at对应commit日期,不是发布/草稿日期;排除draft及prerelease。
- 404可能是没有可见release或权限等,不推断仓库不存在;价格、频率限额未知。
使用步骤:
- 准备已获授权的最小输入,核对本profile的适用范围、认证与费用;不填私人信息或凭据到公开示例。
- 候选GET https://api.github.com/repos/{owner}/{repo}/releases/latest,Accept application/vnd.github+json;owner/repo由获准公开仓库填入。
- 未来获准调用后核对HTTP/MCP状态、返回结构与请求条件,保留缺项/限流/权限错误;本次没有执行此步骤。
- 输入约定
- owner和repo必填路径;不提交创建/更新release请求。
- 输出约定
- 文档HTTP200 JSON对象的release及asset/download链接元信息;不下载或执行asset。
- 成功检查
- 待执行:HTTP状态、公开仓库、正式release与时间语义;下载链接只保元信息。
- 失败与回退
- 条件不满足、认证/限流/结构错误即停止该调用并保留unknown;不切换付费服务、不猜工具名、不执行写操作。
适用证据
github-public-releases-documentation-e1 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/api-expansion-20261024-01/sources/github-public-releases-documentation.txt:L681-L681
- 来源版本
- documentation-sha256:414c9ba7ebb979303de3253c940a638d1457bfcf21b87c721a537daf52166ed0
- 内容摘要
- 414c9ba7ebb979303de3253c940a638d1457bfcf21b87c721a537daf52166ed0
- 采集时间
- 2026-10-24T04:06:25.8247836+00:00
This endpoint can be used without authentication or the aforementioned permissions if only public resources are requested.
覆盖条件:auth_required=false
github-public-releases-documentation-e2 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/api-expansion-20261024-01/sources/github-public-releases-documentation.txt:L706-L720
- 来源版本
- documentation-sha256:414c9ba7ebb979303de3253c940a638d1457bfcf21b87c721a537daf52166ed0
- 内容摘要
- 414c9ba7ebb979303de3253c940a638d1457bfcf21b87c721a537daf52166ed0
- 采集时间
- 2026-10-24T04:06:25.8247836+00:00
get/repos/{owner}/{repo}/releases/latest cURL JavaScript GitHub CLI Copy to clipboard curl request example curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2026-03-10" \ https://api.github.com/repos/OWNER/REPO/releases/latest Response Example response Response schema Status: 200 {
覆盖条件:invocation_mode=api; output_format=json; output_structure=json_object
结构化配方尚未提供或不适用于本版本;旧用法文字保留,连接与执行结果未知。