latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

FileUpload

Update FileUpload

Used to update certain writable properties of a FileUpload, such as the filename.

patch/files/fileUpload/{id}

Path parameters

idstring required

The ID of the fileUpload to update

Headers

ifMatchstring

DEPRECATED - use If-Match

If-Matchstring

If-Match header according to http/1.1 spec section 14.24

Request body

idstring

Object id. Set by system.

organization_idstring

The ID of the organization that this fileUpload belongs to

last_updated_timeinteger

time the fileUpload object was last updated

last_updated_by_idstring

The ID of the user who last updated this fileUpload

created_timeinteger

time the fileUpload was created

created_by_idstring

The ID of the user who created this fileUpload

namestring

The display name of the fileUpload

extensionstring

extension of the file

content_typestring

content-type of the file

file_sizeinteger

The fileSize in bytes

uristring

the uri of the uploaded file object

journeysstring[]

Array of journey IDs that this fileUpload is used in

crc32c_hexstring

The CRC32C checksum for this file upload, encoded as a hex string

Response

The updated fileUpload

idstring

Object id. Set by system.

organization_idstring

The ID of the organization that this fileUpload belongs to

last_updated_timeinteger

time the fileUpload object was last updated

last_updated_by_idstring

The ID of the user who last updated this fileUpload

created_timeinteger

time the fileUpload was created

created_by_idstring

The ID of the user who created this fileUpload

namestring

The display name of the fileUpload

extensionstring

extension of the file

content_typestring

content-type of the file

file_sizeinteger

The fileSize in bytes

uristring

the uri of the uploaded file object

journeysstring[]

Array of journey IDs that this fileUpload is used in

crc32c_hexstring

The CRC32C checksum for this file upload, encoded as a hex string