Skip to content

Support sending odata.maxpagesize header #17

@jaybeaton

Description

@jaybeaton

Description

Bridge Interactive is changing how their Bridge API handles the $top operator:

https://www.bridgeinteractive.com/bridge-reso-web-api-changes-coming-uat-now-available-for-testing/

The $top operator will be modified to match the OData specification.

  • Bridge API previously treated $top as the page size, whereas OData specifies that $top is meant to be the total collection size. In other words, $top is meant to be the total number of records returned once you have consumed every page.
  • Clients may specify a given page size by utilizing the maxpagesize header. The current default is 10 with a maximum value of 200.

The current RESO-WebAPI-Client-PHP code does not support setting the maxpagesize header, so you won't be able to set the number of items per page after they make this change.

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