Kothai

Spaces

Manage Spaces (collections) and their contents.

GET /api/collections

Returns all Spaces.

POST /api/collections

Prop

Type

PATCH /api/collections/:id

Prop

Type

On create or update, a parentId that is not a Space id, is the Space itself, or is a Space inside it answers 400.

DELETE /api/collections/:id

Deletes the Space. Notes in it are not deleted, and Spaces inside it move up to its parent (or to the top level).

POST /api/collections/:id/items

Prop

Type

DELETE /api/collections/:id/items/:itemId

Removes a note from the Space without deleting the note itself.

Last updated on

On this page