Montara Pass
API reference

Categories

A plain, unencrypted reference list managed by super users.

Categories are not part of the encrypted vault. Reading them is public; writing needs a signed-in user with the super_user role.

Method and pathAccessPurpose
GET /api/v1/categoriespublicList, with offset, limit, search and sorted
GET /api/v1/categories/:idpublicOne category
POST /api/v1/categoriessuper userCreate
PUT /api/v1/categories/:idsuper userRename
DELETE /api/v1/categories/:idsuper userMove to the trash
PUT /api/v1/categories/:id/restoresuper userBring back
DELETE /api/v1/categories/:id/forcesuper userDelete permanently

Body

{ "name": "Work" }

name is required and at most 100 characters.

List parameters

  • search: a case-insensitive match on the name, at most 100 characters.
  • sorted: a column and a direction, such as name:asc. The columns are name, created_at and updated_at; the default is created_at:desc.

On this page