KnpLabs / KnpLabs/php-github-api
Commit class does not expose the branches-where-head endpoint
未关闭
- 主要语言
- PHP
- 星标
- 2.2k
- 派生
- 587
- PR 合并指标
- 30 天内没有已合并 PR
描述
It is sometimes required to identify any branches of which a given commit ID is a member of.
GitHub API provides such a method as documented here: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-branches-for-head-commit
Propose adding a new member function `branchesWhereHead()` to the `Commit` object to expose this
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start at the Commit object and compare its existing API methods with the linked GitHub “List branches for head commit” endpoint. Add the branchesWhereHead() entry point and verify that it exposes that endpoint with the expected response shape.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100