Update a file
Changed onUpdates the file's display name. Metadata only: storage is keyed by id, so the object never moves and existing URLs keep working, and past deliveries keep the name they were sent under. Only an uploaded file can be renamed; a captured file's name is part of its provenance, so renaming one is rejected.
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
Path parameters
file identifier to rename
Request body
Example request
{
"$schema": "/api/v1/FileRenameRequest.json"
}Response
OK
Example response
{
"$schema": "/api/v1/RenameFileOutputBody.json",
"file": {
"$schema": "/api/v1/FileSummary.json"
}
}Changes
- warning
added the new
messageenum value to the/response property for the response status - info
api operation id
files_renameremoved and replaced withfiles_update - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- info
endpoint added
- info