Changes between Version 1 and Version 2 of Public/Docs/CinnamonApi
- Timestamp:
- Sep 11, 2019, 11:41:19 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Public/Docs/CinnamonApi
v1 v2 235 235 > **NOTE:** This API method will be replaced by a future, global session configuration transfer instead of individual methods. 236 236 === 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 244 The {{{lockobject}}} returns {{{<success/>}}} or an {{{<error/>}}} element containing a message. 245 246 ==== Description 247 The {{{lockobject}}} command places a write lock on the object identified by the {{{id}}} parameter. 248 237 249 === renderindexedosd 238 250 > **NOTE:** New in build 117. … … 274 286 === setchangedstatus 275 287 === 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 296 The {{{setcontent}}} command command returns {{{<success/>}}} or an {{{<error/>}}} element containing a message. 297 298 {{{#!comment 299 TODO: to be documented what can go wrong (wrong id etc.). 300 }}} 301 302 ==== Description 303 The {{{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 276 306 === setmeta 277 307 === setmetaset … … 280 310 === setsysmeta 281 311 === 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 319 The {{{unlockobject}}} command returns {{{<success/>}}} or an {{{<error/>}}} element containing a message. 320 321 ==== Description 322 The {{{unlockobject}}} command removes a write lock on the object identified by the {{{id}}} parameter. 323 282 324 === updatefolder 283 325 === updatelink