Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Total in agencies/repos endpoint should be based on query result not size #329

Open
Nosferican opened this issue Oct 17, 2019 · 0 comments

Comments

@Nosferican
Copy link

Nosferican commented Oct 17, 2019

Is your feature request related to a problem? Please describe.
When using the repos endpoint the total return is how many items match the query.
When querying the agencies endpoint the total is the number of items returned (i.e., as a function of size)
Describe the solution you'd like
Have the value of total in the agencies endpoint match that of the repos.
Describe alternatives you've considered
A possible solution would be to include in the headers a count of how many items were returned.

@Nosferican Nosferican changed the title Add total count as included element for agencies endpoints Total in agencies endpoint should be based on query result not size Oct 18, 2019
@Nosferican Nosferican changed the title Total in agencies endpoint should be based on query result not size Total in agencies/repos endpoint should be based on query result not size Oct 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant