Skip to content

Pagination: Add count field #238

@jpmckinney

Description

@jpmckinney

Our guidance mentions: https://standard.open-contracting.org/latest/en/guidance/build/hosting/#endpoints

Include the total number of results across all pages.

However, we suggest/offer no model for it.

We could add a count field to the pagination extension, like OData (@odata.count) and JSON API (links.related.meta.count). Other options here: https://stackoverflow.com/a/43968710

This extension is outside the governance process, so a change can be made anytime.

cc @yolile

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommunityRelates to a regular extensionSchemaInvolves editing the schema

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions