ODS provides Ubiquity commands to manipulate user accounts as well as instances and instance specific data using the ODS Controllers API. This command set is available only for the Firefox browser with the Ubiquity extension installed.
First, the Ubiquity Firefox extension must be installed.
Then, ODS Ubiquity commands can be installed by accessing http://host:port/ods/ods_ubiquity.html
page.
Ubiquity commands are accessed by the ctrl-space key combination.
Syntax: ods-get-params Example: ods-get-params
Syntax: ods-log-enable Example: ods-log-enable
Syntax: ods-log-disable Example: ods-log-disable
Syntax: ods-host <host_url> Example: ods-host http://demo.openlinksw.com/ods
Example usage you can find here.
Syntax: ods-oauth-host <host_url> Example: ods-oauth-host http://demo.openlinksw.com/OAuth
Example usage you can find here.
In OAuth mode, for every ODS application instance, an OAuth key must be obtained and then initialized via the following steps:
http://myopenlink.net/ods/oauth_sid.vsp
If you choose the SID mode of interaction with ODS you have to perform the following steps:
Note: The sid is a session ID applicable to all ODS commands for a given bound instance and user combination. It's obtained from an ODS session.
Syntax: ods-get-uri-info <uri> Example: ods-get-uri-info http://myopenlink.net/dataspace/person/kidehen
Syntax: ods-create-user <user_name> password <password> email <email> Example: ods-create-user test password test email test@openlinksw.com
Syntax: ods-authenticate-user <user_name> with <password> Example: ods-authenticate-user demo with demo
Syntax: ods-get-user <user_name> Example: ods-get-user test
Syntax: ods-enable-user <user_name> Example: ods-enable-user test
Syntax: ods-disable-user <user_name> Example: ods-disable-user test
Syntax: ods-delete-user <user_name> Example: ods-delete-user test
Syntax: ods-create-user-annotation <iri> has <relation> with <value> Example: ods-create-user-annotation http://yahoo.com has see:Also with test
Syntax: ods-delete-user-annotation <iri> has <relation> with <value> Example: ods-delete-user-annotation http://yahoo.com has see:Also with test
Syntax: ods-create-user-topicOfInterest <topicURI> [label <topicLabel>] Example: ods-create-user-topicOfInterest http://yahoo.com label Yahoo Search Engine
Syntax: ods-delete-user-topicOfInterest <topicURI> Example: ods-delete-user-topicOfInterest http://yahoo.com
Syntax: ods-create-user-thingOfInterest <thingURI> [label <thingLabel>] Example: ods-create-user-thingOfInterest http://facefook.com
Syntax: ods-delete-user-thingOfInterest <thingURI> Example: ods-delete-user-thingOfInterest http://facefook.com
Syntax: ods-create-user-bioevent <bioEvent> on <bioDate> in <bioPlace> Example: ods-create-user-bioevent bio:Birth on 1970-01-01 in London
Syntax: ods-delete-user-bioevent <bioEvent> on <bioDate> in <bioPlace> Example: ods-delete-user-bioevent bio:Birth on 1970-01-01 in London
Syntax: ods-create-user-offer <offerName> [comment <offerComment>] Example: ods-create-user-offer LCD Monitor
Syntax: ods-create-user-offer-property <offerName> property <offerProperty> value <offerPropertyValue> Example: ods-create-user-offer-property LCD Monitor property gr:price value $199.95
Syntax: ods-delete-user-offer-property <offerName> property <offerProperty> Example: ods-delete-user-offer-property LCD Monitor property gr:price
Syntax: ods-delete-user-offer <offerName> Example: ods-delete-user-offer LCD Monitor
Syntax: ods-create-user-wish <wishName> type <wishType> [comment <wishComment>] Example: ods-create-user-wish Keyboard type wishs
Syntax: ods-delete-user-wish Example: ods-delete-user-wish Keyboard
Syntax: ods-get-instance-id <instance_name> Example: ods-get-instance-id demo's Bookmarks
Syntax: ods-freeze-instance <instance_id> Example: ods-freeze-instance 10
Syntax: ods-freeze-instance <instance_id> Example: ods-unfreeze-instance 10