- establish OAuth session key for ODS Bookmark instance:
Syntax: ods-set-bookmark-oauth <session_key>
Example: ods-set-bookmark-oauth c4746c96bd8faa99798ad88448ba3bab
- Example usage you can find here.
- create bookmark:
Syntax: ods-create-bookmark <instance_id> title <title> url <url> [description <description>] [tags <tags>]
Example: ods-create-bookmark 10 title OpenLink url http://openlinksw.com
- Example usage you can find here.
- get bookmark resource information by resource ID:
Syntax: ods-get-bookmark-by-id <bookmark_id>
Example: ods-get-bookmark-by-id 1001
- Example usage you can find here.
- update bookmark by resource ID:
Syntax: ods-update-bookmark <bookmark_id> title <title> url <url> [description <description>]
Example: ods-update-bookmark 1001 title OpenLink Software url http://openlinksw.com
- delete bookmark by resource ID:
Syntax: ods-delete-bookmark-by-id <bookmark_id>
Example: ods-delete-bookmark-by-id 1001
- create bookmarks folder by resource path:
Syntax: ods-create-bookmarks-folder <instance_id> path <path>
Example: ods-create-bookmarks-folder 10 path /Test
- delete bookmarks folder by resource path:
Syntax: ods-delete-bookmarks-folder <instance_id> path <path>
Example: ods-delete-bookmarks-folder 10 path /Test
- export bookmarks:
Syntax: ods-export-bookmarks <instance_id> [exportType <Netscape|XBEL>]
Example: ods-export-bookmarks 10
- import bookmarks:
Syntax: ods-import-bookmarks <instance_id> source <source> sourceType <string|WebDAV|URL>
Example: ods-import-bookmarks 10 source /DAV/home/demo/bookmarks.html sourceType WebDAV
- Example usage you can find here.
- create annotation to existing bookmark ID:
Syntax: ods-create-bookmark-annotation <bookmark_id> author <author> body <body>
Example: ods-create-bookmark-annotation 1001 author demo body OpenLink RDF Browser
- get annotation information by resource ID:
Syntax: ods-get-bookmark-annotation-by-id <annotation_id>
Example: ods-get-bookmark-annotation-by-id 10001
- create claim to existing annotation:
Sybtax: ods-create-bookmark-annotation-claim <annotation_id> iri <iri> relation <relation> value <value>
Example: ods-create-bookmark-annotation-claim 10001 iri http://openlinksw.com relation rdfs:seeAlso value http://dbpedia.org
- delete bookmark annotation by resource ID:
Syntax: ods-delete-bookmark-annotation <annotation_id>
Example: ods-delete-bookmark-annotation 10001
- create comment to existing bookmark ID:
Syntax: ods-create-bookmark-comment <bookmark_id> title <title> body <body> author <author> authorMail <authorMail> [authorUrl <authorUrl>]
Example: ods-create-bookmark-comment 1001 title RDF body OpenLink RDF Browser http://demo.openlinksw.com/rdfbrowser/ author demo authorMail demo@openlinksw.com
- get bookmark comment information by resource ID:
Syntax: ods-get-bookmark-comment-by-id <comment_id>
Example: ods-get-bookmark-comment-by-id 10001
- delete bookmark comment by resource ID:
Syntax: ods-delete-bookmark-comment <comment_id>
Example: ods-delete-bookmark-comment 10001
- create bookmarks publication:
Syntax: ods-create-bookmarks-publication <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <WebDAV|URL>] destination <destination> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>]
Example: ods-create-bookmarks-publication 10 name Publish My Items destinationType WebDAV destination /~/demo/Public/DemoBookmarks.html userName demo userPassword demo
- Example usage you can find here.
- get bookmarks publication information by resource ID:
Syntax: ods-get-bookmarks-publication <publication_id>
Example: ods-get-bookmarks-publication 1001
- update bookmarks publication by resource ID:
Syntax: ods-update-bookmarks-publication <publication_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <destinationType>] destination <destination> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>]
Example: ods-update-bookmarks-publication 1001 name Publish My Bookmarks destinationType WebDAV destination /~/demo/Public/DemoBookmarks.html userName demo userPassword demo
- sync bookmarks publication by resource ID:
Syntax: ods-sync-bookmarks-publication <publication_id>
Example: ods-sync-bookmarks-publication 1001
- Example usage you can find here.
- delete bookmarks publication by resource ID:
Syntax: ods-delete-bookmarks-publication <publication_id>
Example: ods-delete-bookmarks-publication 1001
- create bookmarks subscription:
Syntax: ods-create-bookmarks-subscription <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tags <tags>]
Example: ods-create-bookmarks-subscription 10 name Subscribe Company Items sourceType WebDAV source /~/demo/Public/CompanyBookmarks.html
- Example usage you can find here.
- get bookmarks subscription information by resource ID:
Syntax: ods-get-bookmarks-subscription <subscription_id>
Example: ods-get-bookmarks-subscription 1001
- Example usage you can find here.
- update bookmarks subscription by resource ID:
Syntax: ods-update-bookmarks-subscription <subscription_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tags <tags>]
Example: ods-update-bookmarks-subscription 1001 name Subscribe Company Bookmarks sourceType WebDAV source /~/demo/Public/CompanyBookmarks.html
- sync bookmarks subscription by resource ID:
Syntax: ods-sync-bookmarks-subscription <subscription_id>
Example: ods-sync-bookmarks-subscription 1001
- Example usage you can find here.
- delete bookmarks subscription by resource ID:
Syntax: ods-delete-bookmarks-subscription <subscription_id>
Example: ods-delete-bookmarks-subscription 1001
- set bookmarks instance options/properties:
Syntax: ods-set-bookmarks-options <instance_id> with <options>
Example: ods-set-bookmarks-options 10 with tbLabels=0 (hide toolbar labels from UI)
- get bookmarks instance options/properties:
Syntax: ods-get-bookmarks-options <instance_id>
Example: ods-get-bookmarks-options 10