Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was 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

Description

@Nosferican

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions