SunLink icon

SunLink

SunLink 博客 API 完整集成节点 (自动登录)

📎 文件管理 (File) → 📤 上传文件分片 (Upload Chunk)

AI-generated

Summary

Upload a file chunk by specifying the upload session ID, the chunk index, and the Base64-encoded file data for that chunk.

Inputs

  • sessionId (required) — The upload session ID returned from the createSession operation, identifying the current upload session.
  • chunkIndex — The index of the chunk, starting from 0. For small files, use 0.
  • fileData (required) — The file chunk data encoded in Base64 format to be uploaded.

Output shape

a single JSON object representing the response from the file chunk upload API endpoint.

The output contains the parsed JSON response from the API. The node returns one output item per execution and includes error handling with continuation on failure option.

Examples

Example 1: Uploading the 0th chunk of a small file or the nth chunk of a large file in an ongoing upload session.

Set 'sessionId' to the ID obtained from createSession; set 'chunkIndex' to the corresponding chunk position; provide the file data encoded in Base64 in 'fileData'.

Discussion