gladstonemrm / SportsAndLeisureManagement

Issues relating to open data from Sports and Leisure Management LTD (Everyone Active)
0 stars 0 forks source link

Next pages for Slots data return 404 error #7

Closed mattjudge closed 2 years ago

mattjudge commented 2 years ago

The Live Slots feed returns an error if anything other than the first page of data is requested:

https://opendata.leisurecloud.live/api/feeds/EveryoneActiveSLM-live-slots correctly loads, and returns

{
  "next":"https://opendata.leisurecloud.live/api/feeds/EveryoneActiveSLM-live-slots?afterTimestamp=268739165&afterId=063BADMINTON_2022-04-03T11-00-00",
  "items": [...]
}

but https://opendata.leisurecloud.live/api/feeds/EveryoneActiveSLM-live-slots?afterTimestamp=268739165&afterId=063BADMINTON_2022-04-03T11-00-00 returns a 404 with

{"message":"'EveryoneActiveSLM-live-slots' feed not found"}

This is also the case when simply including the ? query character in the original url https://opendata.leisurecloud.live/api/feeds/EveryoneActiveSLM-live-slots?

mattjudge commented 2 years ago

This appears to be fixed now - I'll leave the issue open a bit in case it turns out to be an intermittent problem. Thanks though, if you've worked on it!