Closed vivienlacourba closed 9 years ago
The items parameter used to control how many items are displayed on paginated results is not taken into account on /specifications/{shortname}/versions/{date}/previous (and I believe there is a similar issue for .../next).
items
/specifications/{shortname}/versions/{date}/previous
.../next
See for example the version below which has 4 previous versions. I requested only 2 items per page but got 4 items. https://api-test.w3.org/specifications/WCAG20-TECHS/versions/20060427/previous?items=2
Fixed. Will be deployed later.
The
items
parameter used to control how many items are displayed on paginated results is not taken into account on/specifications/{shortname}/versions/{date}/previous
(and I believe there is a similar issue for.../next
).See for example the version below which has 4 previous versions. I requested only 2 items per page but got 4 items. https://api-test.w3.org/specifications/WCAG20-TECHS/versions/20060427/previous?items=2