Allows editing the meta information of a single file from file storage.
Description
GET /file_storage/modify_file.php?company=RTI_COMPANYKEY&import=IMPORTKEY&file=UUID&action=action
Parameters
parameter | description | type | hint | mandatory |
---|---|---|---|---|
company | RTI company key | string | yes | |
import | RTI import key | string | yes | |
file | UUID of requested file | string | You can receive this value via file_storage/get_overview.php or a sreturn value from file_storage/upload_file.php, if the file was directly uploaded via RTI. | yes |
action | action type | string | possible values:
| yes |
name | new name of file | string | only relevant if action "RENAME" | (yes) |
path | new path of file | string | only relevant if action "MOVE" Format: folder/subfolder/.../target folder (separated by /) Root does not have to be specified. To move the file to root directory, just leave the param empty. Paths are case insensitive. | (no) |
return
On success you will receive "OK". On missing parameters or errors you will receive "ERROR:description".
examples
set a new name
|
move file
|