Commencer maintenant
Box Tools

Box Commit Upload Session

Utilisez Box Commit Upload Session avec Box Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • partsarray
    Obligatoire
    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
    Obligatoire
    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
    Obligatoire
    The ID of the upload session to commit. This is returned when creating an upload session.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur