Changes between Version 1 and Version 2 of Public/Docs/CinnamonApi


Ignore:
Timestamp:
Sep 11, 2019, 11:41:19 AM (5 years ago)
Author:
Administrator
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Public/Docs/CinnamonApi

    v1 v2  
    235235> **NOTE:** This API method will be replaced by a future, global session configuration transfer instead of individual methods.
    236236=== lockobject
     237==== Parameters
     238||=**Field** =||=**Value** =||
     239||{{{command}}}    ||{{{lockobject}}}        ||
     240||{{{id}}}    ||ID of the object to be locked.        ||
     241||{{{ticket}}}    ||Session ticket.        ||
     242
     243==== Return value
     244The {{{lockobject}}} returns {{{<success/>}}} or an {{{<error/>}}} element containing a message.
     245
     246==== Description
     247The {{{lockobject}}} command places a write lock on the object identified by the {{{id}}} parameter.
     248
    237249=== renderindexedosd
    238250> **NOTE:** New in build 117.
     
    274286=== setchangedstatus
    275287=== setcontent
     288==== Parameters
     289||=**Field** =||=**Value** =||
     290||{{{command}}}    ||{{{setcontent}}}        ||
     291||{{{id}}}    ||ID of the object whose content is to be uploaded.        ||
     292||{{{format}}}    ||System name of the format whose content is to be uploaded.        ||
     293||{{{ticket}}}    ||Session ticket to disconnect.        ||
     294
     295==== Return value
     296The {{{setcontent}}} command command returns {{{<success/>}}} or an {{{<error/>}}} element containing a message.
     297
     298{{{#!comment
     299TODO: to be documented what can go wrong (wrong id etc.).
     300}}}
     301
     302==== Description
     303The {{{setcontent}}} command uploads content of the format identified by {{{format}}} to an existing object identified by its {{{id}}}. {{{setcontent}}} sends the file content stream to the server.
     304
     305
    276306=== setmeta
    277307=== setmetaset
     
    280310=== setsysmeta
    281311=== unlockobject
     312==== Parameters
     313||=**Field** =||=**Value** =||
     314||{{{command}}}    ||{{{unlockobject}}}        ||
     315||{{{id}}}    ||ID of the object to be unlocked.        ||
     316||{{{ticket}}}    ||Session ticket.        ||
     317
     318==== Return value
     319The {{{unlockobject}}} command returns {{{<success/>}}} or an {{{<error/>}}} element containing a message.
     320
     321==== Description
     322The {{{unlockobject}}} command removes a write lock on the object identified by the {{{id}}} parameter.
     323
    282324=== updatefolder
    283325=== updatelink