Config

Upload a file chunk

Universal API endpoint for chunked file uploads. Allows uploading large files in multiple chunks.

Usage:

  1. Generate a unique hash (upload session ID)
  2. Send each chunk as multipart/form-data with Content-Range header
  3. Intermediate chunks return 200 OK, the last chunk returns 201 Created with file details

Supported file types: scheduling_task_attachment, scheduling_task_comment_attachment, ticket_attachment.

After uploading, use file_ids parameter in task attachments, task comments, or ticket attachments endpoints to attach the uploaded files.

post/admin/config/chunked-upload/{hash}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/config/chunked-upload/{hash}
  • Auth: HTTP basic

Path parameters

hashstring required
Example:abc123def456

Unique upload session identifier (e.g. UUID or random string)

Query parameters

typestring required
Example:scheduling_task_attachment

File type: scheduling_task_attachment, scheduling_task_comment_attachment, or ticket_attachment

Headers

Content-Rangestring required
Example:bytes 0-1048575/5242880

Byte range of the chunk being uploaded, e.g. bytes 0-1048575/5242880

Response

Intermediate chunk accepted

resultboolean

Example response

{
  "result": true
}

Changes

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