rebus-ink / ink-API

Hobb API Server: backend for the Rebus Reader system
GNU Affero General Public License v3.0
4 stars 5 forks source link

Canvas routes #626

Closed Marie000 closed 4 years ago

Marie000 commented 4 years ago

The basic routes for canvases. POST /canvas PUT /canvas/:id DELETE /canvas/:id GET /canvas/:id GET /canvas

maybe I should have named them 'canvases' but looks like we will be renaming canvases, so I didn't bother putting that much thought into it.

For GET /canvas/:id the Canvas object returned will include, in addition to the normal Canvas properties:

For the GET /canvas, I haven't implemented any pagination or filtering. I will add that later.