Open ffalor opened 3 years ago
It looks like the API spec for Credential Authorizations is missing the per_page and page params.
per_page
page
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
Link
<https://api.github.com/organizations/{orgid}/credential-authorizations?page=2>; rel="next", <https://api.github.com/organizations/{orgid}/credential-authorizations?page=66>; rel="last"
Calling the API and passing in `?per_page=100&page=1'
Returns 100 results, and the following for Link header
<https://api.github.com/organizations/{orgid}/credential-authorizations?per_page=100&page=2>; rel="next", <https://api.github.com/organizations/{orgid}/credential-authorizations?per_page=100&page=20>; rel="last"
It looks like the API spec for Credential Authorizations is missing the
per_page
andpage
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 pageCalling the API and passing in `?per_page=100&page=1'
Returns 100 results, and the following for
Link
header