fablabs.io icon indicating copy to clipboard operation
fablabs.io copied to clipboard

Changes in api namespace and serialization

Open fibasile opened this issue 7 years ago • 5 comments
trafficstars

The new release breaks the /v0 api in two points:

/v0 is not anymore valid -> replaced with /0, i.e. applies to /v0/labs.json

/v0/me.json returns same information as before but not wrapped in a "user" dictionary

Investigate on how to restore these two endpoints with rewrites and / or reimplementation of the two endpoints

fibasile avatar Oct 17 '18 11:10 fibasile

As an example, check this commit from my omniauth-fablabs gem https://github.com/fibasile/omniauth-fablabs/commit/27f9c369f811960a0de34ca281f8214549936e93

fibasile avatar Oct 17 '18 11:10 fibasile

We are getting a huge amount of requests to https://fablabs.io/v0/labs.json What is the new valid endpoint @fibasile ?

ActionController::RoutingError (No route matches [GET] "/v0/labs.json"):

viktorsmari avatar Jan 14 '19 16:01 viktorsmari

/0/labs.json

fibasile avatar Jan 15 '19 12:01 fibasile

@fibasile Did you try visiting this one https://fablabs.io/0/labs.json ?

viktorsmari avatar Jan 15 '19 12:01 viktorsmari

#464

adriens avatar Mar 28 '19 22:03 adriens