Move files

Move a file in another directory#

PUT /v1/file/{uuid}/name

... with the new filename in JSON :

{"name":"birds352.jpg"}

Permissions#

Permission Valid
FILE_UPLOAD Authorized
FILE_LIST Denied
FILE_FETCH Denied
CONFIG_CHANGE Denied

API Demo#

host: "https://example.api.airstore.io" path: "/v1/file/{file_uuid}/meta" variables: file_uuid: 00000000-1111-2222-3333-44444444444 headers: X-Airstore-Secret-Key: aaaabbbbbccccc theme: clouds-midnight editor_theme: clouds_midnight method: PUT body: | { "name" : "new_filename.jpg" }

Response Format

{
  "status":"success",
  "action":"renamed",
  "file_uuid":"4045f60e-8a91-5039-bb4e-3d3d247056e9"
}

Discussions#

Coming soon!