speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

Returned weblinks and URIs use http instead of https #131

Closed randomidiot13 closed 3 years ago

randomidiot13 commented 3 years ago

Some time in the last few days, the API started returning all weblinks and URIs with http://, instead of https:// as had been done previously. I suspect this was (accidentally) introduced by the site performance improvements on 13 August mentioned in this forum post, but I cannot be certain.

As an example, https://www.speedrun.com/api/v1 returns

{
  "data": {
    "links": [{
      "rel": "series",
      "uri": "http://www.speedrun.com/api/v1/series"
    }, {
      "rel": "games",
      "uri": "http://www.speedrun.com/api/v1/games"
    }, ... // 4 more http links
    ]
  }
}

Granted, this has a fairly trivial workaround, but it's cumbersome nonetheless.

EDIT: As of the following day, this appears to have been silently fixed.