Deskhero Developer Hub
Back to deskhero.com
Files

Upload completed

Confirms that files from an upload init actually reached storage, verifying for each one that the object exists and that its size and hash match what was declared, then starts processing: images (png, gif, jpg, jpeg, heic, svg, webp) are moved to their final location right away, everything else is queued for malware scanning in the background. Ids must be unique, belong to this tenant, still be awaiting completion, and have been initiated by the same caller.

POST /api/{tenant:minlength(2)}/v{version:apiVersion}/files/upload_completed
Authorisation
No authentication needed

Request arguments

Name Type Source
inputsDTO_file_upload_completed[]Body
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_file_upload_completed
NameTypeReadOnlyDescription
file_idInt32File id
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 4, 2026 18:37