立即开始
Box Tools

Box Commit Upload Session

通过 Aident Loadout 使用 Box Tools 的 Box Commit Upload Session。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Commits an upload session and creates a file from the uploaded chunks. This is the final step in a chunked upload workflow: 1. Create an upload session using 'create_upload_session' 2. Upload file parts using 'upload_part_of_file' 3. Commit the session using this action to final…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • partsarray
    必填
    List of uploaded parts to commit. Each part must include: 'part_id' (string), 'offset' (integer byte position), 'size' (integer bytes). Optionally includes 'sha1' (string hash of the part). These values are returned by the upload part API.
  • digeststring
    必填
    The Base64-encoded SHA1 hash of the entire file being uploaded. Format should be the raw Base64 string (e.g., 'fpRyg5eVQletdZqEKaFlqwBXJzM='). The 'sha=' prefix will be added automatically.
  • if_matchstring
    Optional. The last known ETag value of the upload session. If provided, the request fails with 412 if the session has changed.
  • attributesobject
    Optional file attributes to set on the uploaded file, such as 'content_modified_at' (ISO 8601 timestamp). Example: {'content_modified_at': '2024-01-15T12:00:00Z'}.
  • if_none_matchstring
    Optional. ETag value to check for changes. Request fails with 304 if item unchanged.
  • upload_session_idstring
    必填
    The ID of the upload session to commit. This is returned when creating an upload session.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源