Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

(POST) /resources/files/actions/command

PARAMETERS

The message body contains a JSON object:

scope

The scope object. Note that if you use a document set or global search scope, you will receive an "available" = false result. In fact these scopes do not support files.

didThe document id. This must be a document within the scope.
action

The action to carry out.

locale

Required. Locale of file to apply action to

folderApply action to this folder ID.
nameOptional. Apply action to this file name.
tlocale

Optional. Some actions require a destination. Locale of file to apply action to

tfolderOptional. Some actions require a destination. Apply action to this folder ID.
tnameOptional. Some actions require a destination. Apply action to this file name.
overwriteOptional. By default is false.
returnChangesOptional. By default is true. Tells if the method shall return the full file information or just null (faster).

...