Skip to content

Pagination not working for Weather/SnowReport endpoint #606

@lukmay

Description

@lukmay

When calling the endpoint v1/Weather/SnowReport with pagination parameters (e.g. pagesize=1&pagenumber=1, these parameters are completely ignored. The API always returns all available records instead of just the requested page.

Example request:
GET https://tourism.opendatahub.com/v1/Weather/SnowReport?pagesize=1&pagenumber=1

Expected behavior:
Only 1 record should be returned (since pagesize=1).

Actual behavior:
All records are returned (26), and the metadata says TotalPages: 1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions