AnswerDotAI / AnswerDotAI/ghapi
/credential-authorizations endpoint missing per_page and page query params
- Lingua principale
- Python
- Stelle
- 685
- Fork
- 70
- Merge medio
- 1m
- PR unite (30g)
- 2
Descrizione
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"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la definizione OpenAPI per l’endpoint Credential Authorizations e confrontala con la documentazione GitHub REST collegata. Aggiungi i parametri di query `per_page` e `page`, quindi verifica che la specifica dell’API accetti entrambi i parametri.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github, openapi, python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100