Skip to content

Add missing x-total-count header for pagination APIs #13043

Closed
@pd4d10

Description

@pd4d10
  • Gitea version (or commit ref): v1.1.1
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

User's repo list API has a x-total-count response header to give the total count info.

Is there any plan to add it to other pagination APIs?

Haven't checked all APIs yet. Just find these in GitTouch's development.

Related issue: pd4d10/git-touch#106

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions