Requires: - https://github.com/CRICDatabase/searchable-image-database-nodejs/issues/148 - https://github.com/CRICDatabase/searchable-image-database-nodejs/issues/86 Create file `src/rotas/collection.js`, following [good practices](https://restfulapi.net/resource-naming/), and add: # POST - [ ] `/api/v1/collections` # GET - [ ] `/api/v1/collections` - [ ] `/api/v1/collections/{slang}` # PUT - [ ] `/api/v1/collections/{slang}` # DELETE - [ ] `/api/v1/collections/{slang}` Remember to write tests, see https://github.com/CRICDatabase/searchable-image-database-nodejs/pull/94, and document the endpoints in `docs/rest_api/collection.rst`.
Requires:
Create file
src/rotas/collection.js, following good practices, and add:POST
/api/v1/collectionsGET
/api/v1/collections/api/v1/collections/{slang}PUT
/api/v1/collections/{slang}DELETE
/api/v1/collections/{slang}Remember to write tests, see #94, and document the endpoints in
docs/rest_api/collection.rst.