bookmarks.getSubTree()

Retrieves part of the bookmarks tree, starting at the specified node.

Syntax

browser.bookmarks.getSubTree(
  id,                     // string
  function(results) {...} // function
)

Parameters

id
string. The ID of the root of the subtree to retrieve.
callback
function. The function is passed the following arguments:
results
array of bookmarks.BookmarkTreeNode.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

Acknowledgements

This API is based on Chromium's chrome.bookmarks API. This documentation is derived from bookmarks.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,