/credential-authorizations endpoint missing per_page and page query params
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
Research direction
Start by locating the OpenAPI definition for the Credential Authorizations endpoint and compare it with the linked GitHub REST documentation. Add the per_page and page query parameters, then verify the API specification accepts both parameters.
Written by the indexing model from the issue text.
Description
It looks like the API spec for Credential Authorizations 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
<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"
- Dominant language
- Python
- Stars
- 687
- Forks
- 69
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AnswerDotAI/ghapi
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AnswerDotAI/ghapi#158 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AnswerDotAI/ghapi#120 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
AnswerDotAI/ghapi#208 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
AnswerDotAI/ghapi#201 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AnswerDotAI/ghapi#186 ·
All issues in AnswerDotAI/ghapi
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100