files

Finish a folder upload: answers once tar has unpacked it all.

A commit repeated after it succeeded answers the same, while the sandbox still holds the finished tar (its last 16 processes).

post/v1/sandboxes/{id}/files/archive/uploads/{uploadId}:commit

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/sandboxes/{id}/files/archive/uploads/{uploadId}:commit
  • Auth: HTTP bearer

Path parameters

idstring required

Resource identifier (UUID).

uploadIdstring required

The uploadId begin returned.

Headers

Idempotency-Keystring

Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.

Response

Success

pathstring required
receivedinteger required

Bytes of archive unpacked.

Changes

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