Bookmark API¶
BookmarkService enables you to read, add and remove bookmarks from content.
Bookmark REST API
To learn how to manage bookmarks using the REST API, see REST API reference.
To view a list of all bookmarks, use BookmarkService::loadBookmarks:
1 2 3 4 5 6 7 | |
You can add a bookmark to a content item by providing its Location object to the BookmarkService::createBookmark method:
1 2 3 | |
You can remove a bookmark from a location with BookmarkService::deleteBookmark:
1 | |