Update file by storage ID and path

Required roles:

  • can_write_files
patch/v1/storages/{storage_id}/files/

Request

Path parameters

storage_idstring required

Headers

App-IDstring required
Auth-Tokenstring required

Request body

asset_idstring uuid
checksumstring nullable
date_createdstring date-time
date_modifiedstring date-time
directory_pathstring required
file_date_createdstring date-time
file_date_modifiedstring date-time
file_set_idstring uuid
format_idstring uuid
idstring uuid
namestring

If not specified, name will be autogenerated based on id and original_name

original_namestring required
parent_idstring uuid nullable
sizeinteger
status'OPEN' | 'GROWING' | 'AWAITED' | 'CLOSED' | 'FAILED' | 'ARCHIVED' | 'MISSING' | 'REDISCOVERED' | 'DELETED'
storage_idstring uuid
templatestring
template_engine'SIMPLE' | 'JINJA2' | 'null' nullable
type'FILE' | 'DIRECTORY' | 'SYMLINK' | 'SEQUENCE' required
user_idstring uuid nullable
version_idstring uuid

Response

Returns updated file

asset_idstring uuid
checksumstring nullable
date_createdstring date-time
date_modifiedstring date-time
directory_pathstring required
file_date_createdstring date-time
file_date_modifiedstring date-time
file_set_idstring uuid
format_idstring uuid
idstring uuid
namestring

If not specified, name will be autogenerated based on id and original_name

original_namestring required
parent_idstring uuid nullable
sizeinteger
status'OPEN' | 'GROWING' | 'AWAITED' | 'CLOSED' | 'FAILED' | 'ARCHIVED' | 'MISSING' | 'REDISCOVERED' | 'DELETED'
storage_idstring uuid
templatestring
template_engine'SIMPLE' | 'JINJA2' | 'null' nullable
type'FILE' | 'DIRECTORY' | 'SYMLINK' | 'SEQUENCE' required
user_idstring uuid nullable
version_idstring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.