Open a resumable upload session for a file

Opens a resumable upload session to send a picture, video or PDF (model#739: only kept on items whose reason accepts documents) of a repair item straight to the storage, so an upload cut by the connection goes on from the bytes already stored instead of starting again. PUT the file to url in chunks with Content-Range (a status query Content-Range: bytes */<size> answers how many bytes are stored), then confirm the upload with path so it can be referenced from customerImageNames when the repair is created. The session only accepts exactly size bytes and answers CORS requests for the origin of this request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required

Name of the file on the device. Only its extension is kept, for the stored object.

string
required

Mimetype of the file: an accepted image or video, or a PDF where the endpoint accepts documents.

integer
required

Exact size of the file in bytes. The session only accepts that many bytes. Images are limited to 100 MB, videos to 400 MB and PDFs to 10 MB.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json