---++Gallery Ubiquity Commands
1 establish OAuth session key for ODS Gallery instance:
Syntax: ods-set-photo-oauth
Example: ods-set-photo-oauth c4746c96bd8faa99798ad88448ba3bab
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsGalleryOAuthD][here]].
1 create photo album:
Syntax: ods-create-photo-album name [description ] [startDate ] [endDate ] [visibility ] [geoLocation ]
Example: ods-create-photo-album 10 name Openlink
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsAlbumGallery][here]].
1 update photo album:
Syntax: ods-update-photo-album name [new_name ] [description ] [startDate ] [endDate ] [visibility ] [geoLocation ] [obsolete ]
Example: ods-update-photo-album 10 name Openlink new_name OpenLink
1 delete photo album:
Syntax: ods-delete-photo-album name
Example: ods-delete-photo-album 10 name OpenLink
1 add photo image:
Syntax: ods-create-photo-image instance_id album name [description ] [visibility ] sourceUrl
Example: ods-create-photo-image 10 album OpenLink name Product.jpg sourceUrl http://docs.openlinksw.com/docserverhome550.jpg
1 get photo image:
Syntax: ods-get-photo-image instance_id album name
Example: ods-get-photo-image 10 album OpenLink name Company.jpg
1 update photo image:
Syntax: ods-update-photo-image instance_id album name [new_name ] [description ] [visibility ]
Example: ods-update-photo-image 10 album OpenLink name Company.jpg visibility 1
1 delete photo image:
Syntax: ods-delete-photo-image instance_id album name
Example: ods-delete-photo-image 10 album OpenLink name Company.jpg
1 create comment to existing photo image:
Syntax: ods-create-photo-image-comment instance_id album image text
Example: ods-create-photo-image-comment 10 album OpenLink image Company.jpg text OpenLink Company Image: New Year 2009
1 get photo image comment information by resource ID:
Syntax: ods-get-photo-image-comment-by-id
Example: ods-get-photo-image-comment-by-id 10001
1 delete photo image comment by resource ID:
Syntax: ods-delete-photo-image-comment
Example: ods-delete-photo-image-comment 10001
1 set photo instance options/properties:
Syntax: ods-set-photo-options [show_map ] [show_timeline ] [discussion_enable ] [discussion_init ] [albums_per_page ]
Example: ods-set-photo-options 10 discussion_enable 1
1 get photo instance options/properties:
Syntax: ods-get-photo-options
Example: ods-get-photo-options 10
---+++References
* [[VirtuosoOdsUbiquity][ODS Ubiquity Commands]]