Update temporary file's info

Required roles:

  • can_write_files
put/v1/assets/{asset_id}/temporary_files/{file_id}/

Request

Path parameters

asset_idstring required
file_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 required
file_set_statusstring nullable
format_idstring uuid
format_statusstring nullable
idstring uuid
multipart_upload_urlstring
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
storage_methodstring
system_domain_idstring uuid
templatestring
template_engine'SIMPLE' | 'JINJA2' | 'null' nullable
type'FILE' | 'DIRECTORY' | 'SYMLINK' | 'SEQUENCE' required
upload_credentialsobject
upload_filenamestring
upload_headersobject
upload_methodstring
upload_urlstring

On a file creation for Backblaze B2 storage in case when request to Backblaze failed, upload_url field will be empty. You can try getting upload_url again by requesting created file with generate_signed_post_url set to true.

urlstring
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 required
file_set_statusstring nullable
format_idstring uuid
format_statusstring nullable
idstring uuid
multipart_upload_urlstring
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
storage_methodstring
system_domain_idstring uuid
templatestring
template_engine'SIMPLE' | 'JINJA2' | 'null' nullable
type'FILE' | 'DIRECTORY' | 'SYMLINK' | 'SEQUENCE' required
upload_credentialsobject
upload_filenamestring
upload_headersobject
upload_methodstring
upload_urlstring

On a file creation for Backblaze B2 storage in case when request to Backblaze failed, upload_url field will be empty. You can try getting upload_url again by requesting created file with generate_signed_post_url set to true.

urlstring
user_idstring uuid nullable
version_idstring uuid

Changes

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