fountainpencompanion icon indicating copy to clipboard operation
fountainpencompanion copied to clipboard

Move JSON API endpoints

Open ujh opened this issue 2 years ago • 1 comments

To make them easier to find, let's move all JSON API endpoints from wherever they to /api/v1.

Benefits:

  • Using rails routes it will be easy to see what's there
  • Clean up of specialized endpoints (e.g. /accounts.json comes to mind)

ujh avatar Jan 18 '23 07:01 ujh

/api/v1/inks, /api/v1/lines, and /api/v1/brands` probably don't make sense as separate endpoints. All their requirements could be merged into one general ink search endpoint.

ujh avatar Jan 24 '23 16:01 ujh