-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
The API endpoint /repos/${username}/${repo}/commits
returns these in the headers:
X-HasMore
boolean
True if there is another page
X-Page
integer <int64>
The current page
X-PageCount
integer <int64>
Total number of pages
X-PerPage
integer <int64>
Commits per page
X-Total
integer <int64>
Total commit count
But /repos/${username}/${repo}/branches
seems to return only x-total-count
(total number of branches).
It would be helpful to return at least x-pagecount
because it will vary according to the limit
.
Screenshots
No response
Metadata
Metadata
Assignees
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.