browser-bookmarks

Create a bookmark or folder

Retry-safe with client_id: a live item with the same client_id is returned unchanged.

post/browser-bookmarks

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

kind'bookmark' | 'folder' required
titlestring required

May be empty, as in Chrome. Stored encrypted.

urlstring

Required for a bookmark, rejected for a folder. Any scheme. Stored encrypted.

parent_idstring uuid nullable

Folder to create the item in; omit or null for the top level

positionnumber

Sort key among siblings; omitted means after the last sibling

client_idstring

The client's own id for the item (e.g. Chrome's node GUID). Unique among the user's live items.

Example request

{
  "url": "https://example.com/"
}

Response

idstring uuid required
parent_idstring uuid nullable required

Null for a top-level item

kind'bookmark' | 'folder' required
client_idstring nullable required
titlestring required
urlstring nullable required

Null exactly when kind is folder

positionnumber required

Sort key among siblings; order by position, then id

created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable required

Set on a deleted item; only the sync feed returns deleted items

Changes

No recorded changes to this operation across all 1 revision of this API.