KnpLabs / KnpLabs/php-github-api
Commit class does not expose the branches-where-head endpoint
- Linguagem predominante
- PHP
- Estrelas
- 2.2k
- Forks
- 587
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- php
- Domínio
- api
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100