Current API documentation is not working at all. Also most of the examples related to the API are not working neither. Actually, there are 3 API versions but none of them is properly documented leading to a lot of difficulties to use the API, mostly for externals.
My suggestions are:
-- Viktor edit:
Problems:
- The API doc is very much outdated. https://docs.fablabs.io/
- Do we need a specific api.fablabs endpoint?
- Can we do with a simple
.json endpoints which use Ransack query / filter / paginations
- https://api.fablabs.io/ - says it's READ ONLY. Is it? 🤔
This now redirects to the API, why?
https://fablabs.io/labs.json redirects to -> https://api.fablabs.io/0/labs.json which loads ALL labs.
Suggestions
- Can we do with a minimal API? Do we need the v0 / v1 / v2
- Do we need a versioned API? Do we have the resources to maintain it?
- Remove / minimize the outdated documentation? Do we have the resources to maintain it?
- Use simple .json endpoints
- https://api.fablabs.io/0/me.json <-- Needs to keep working
Related #444 #464 #76 #71 #72 #73
Current API documentation is not working at all. Also most of the examples related to the API are not working neither. Actually, there are 3 API versions but none of them is properly documented leading to a lot of difficulties to use the API, mostly for externals.
My suggestions are:
-- Viktor edit:
rocket_pantsgem which is preventing Rails 6 updateProblems:
.jsonendpoints which use Ransack query / filter / paginationsThis now redirects to the API, why?
https://fablabs.io/labs.json redirects to -> https://api.fablabs.io/0/labs.json which loads ALL labs.
Suggestions
Related #444 #464 #76 #71 #72 #73