KnpLabs / KnpLabs/php-github-api
Commit class does not expose the branches-where-head endpoint
- Vorherrschende Sprache
- PHP
- Sterne
- 2.2k
- Forks
- 587
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100