/api/bookmark/edit/:token

Creates or Edits a Bookmark

Method

POST

Parameters

  • id — (optional) the bookmark id – omitting the id will create a new bookmark
  • name — (optional) bookmark name
  • command — (optional) command to launch
  • geometry — (optional) initial geometry

Notes:

Setting name, command or geometry to and empty string “” will delete the parameter

 

Returns

JSON object with the following parameters

 

Bookmarks, history and suggestions are JSON objects with the following format

  • name — (optional) <string> display name
  • geometry — <string> widthxheight  or rootless
  • id — <string> unique id
  • command — <string> command to launch