Briefcase Ubiquity Commands

  1. Establish OAuth session key for ODS Briefcase instance:

    Syntax: ods-set-briefcase-oauth <session-key> Example: ods-set-briefcase-oauth c4746c96bd8faa99798ad88448ba3bab

    • Example usage you can find here.
  2. Add information resource:

    Syntax: ods-store-briefcase-resource <path> with <content> Example: ods-store-briefcase-resource /DAV/home/demo/ubiquity.txt with Hello, ODS Ubiquity

    • Example usage you can find here.
  3. Get information resource content:

    Syntax: ods-get-briefcase-resource-info-by-path <path> Example: ods-get-briefcase-resource /DAV/home/demo/ubiquity.txt

  4. Delete information resource:

    Syntax: ods-delete-briefcase-resource <path> Example: ods-delete-briefcase-resource /DAV/home/demo/ubiquity.txt

  5. Create resource collection (folder/directory):

    Syntax: ods-create-briefcase-collection <path> Example: ods-create-briefcase-collection /DAV/home/demo/Ubiquity

  6. Delete resource collection:

    Syntax: ods-delete-briefcase-collection <path> Example: ods-delete-briefcase-collection /DAV/home/demo/Ubiquity

  7. Copy resource/collection to collection:

    Syntax: ods-copy-briefcase <from-path> to <to-path> [with <overwrite flag 0|1>] Example: ods-copy-briefcase /DAV/home/demo/Source/ to /DAV/home/demo/Destination/ with 1

  8. Move resource/collection to collection:

    Syntax: ods-move-briefcase <from-path> to <to-path> Example: ods-move-briefcase /~/demo/Source/ to /~/demo/Destination/

  9. Set resource/collection property:

    Syntax: ods-set-briefcase-property <path> property <property> with <value> Example: ods-set-briefcase-property /~/demo/ubiquity.txt property remark with send to Mary

  10. Get resource/collection property information:

    Syntax: ods-get-briefcase-property <path> property <property> Example: ods-get-briefcase-property /~/demo/ubiquity.txt property remark

  11. Remove resource/collection property:

    Syntax: ods-delete-briefcase-property <path> property <property> Example: ods-delete-briefcase-property /~/demo/ubiquity.txt property remark

  12. set briefcase instance options/properties:

    Syntax: ods-set-briefcase-options <instance_id> with <options> Syntax: ods-set-briefcase-options 39 with rows=20

  13. get briefcase instance options/properties:

    Syntax: ods-get-briefcase-options <instance_id> Example: ods-get-briefcase-options 10

References