AnswerDotAI / AnswerDotAI/ghapi

/credential-authorizations endpoint missing per_page and page query params

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
685
Forks
70
Avg merge
1m
Merged PRs (30d)
2

Description

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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.