This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
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 |
|