AnswerDotAI / AnswerDotAI/ghapi
/credential-authorizations endpoint missing per_page and page query params
- Lenguaje dominante
- Python
- Estrellas
- 685
- Forks
- 70
- Merge medio
- 1 min
- PR fusionados (30 d)
- 2
Descripción
It looks like the API spec for [Credential Authorizations](https://docs.github.com/en/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization) is missing the `per_page` and `page` params.
Calling the endpoint without these params will return 30 results.
In the `Link` header of the response it will include the next page, and the last page
```
; rel="next",
; rel="last"
```
Calling the API and passing in `?per_page=100&page=1'
Returns 100 results, and the following for `Link` header
```
; rel="next",
; rel="last"
```
Guía de contribución
Línea de trabajo
Comienza localizando la definición de OpenAPI para el endpoint de Credential Authorizations y compárala con la documentación de GitHub REST enlazada. Añade los parámetros de consulta `per_page` y `page` y, a continuación, verifica que la especificación de la API acepte ambos parámetros.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, openapi, python
- Área
- api
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100