opensessions / opendata

Documentation, Changelog and Issues related to the Open Sessions RPDE endpoint
1 stars 0 forks source link

RPDE non-conformance: Last page returns an error #1

Closed GetTheData closed 6 years ago

GetTheData commented 6 years ago

The last page returns an HTTP 200 status, however the JSON contents consist of an empty error array.

Example next URL:

https://app.opensessions.io/api/rdpe/sessions?from=2017-03-07T13%3A28%3A50.679Z&after=4b307bd0-0338-11e7-905b-87402f299767

Body:

{"error":{}}

According to 5.1.5 Last page definition of the Realtime Paged Data Exchange I would expect an empty items array and a self-referencing next URL:

The last page must have the following properties:

The items property is an empty array. The next property matches the URL of the current page.