Finish a resumable folder upload and unpack it into the workspace [write]
Changed onChecks the parts' total size and sha256 against the declaration, then has the pod pull and unpack the folder in the background, exactly as /workspace/import would; poll the upload until its state is imported or failed. Calling it again is safe. 202 while importing. 409 parts_missing, 422 size_mismatch or checksum_mismatch, 409 import_unsupported when the session's runtime predates resumable imports (use /workspace/import).
post/sessions/{id}/workspace/imports/{upload_id}/complete
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/workspace/imports/{upload_id}/complete
- AuthHTTP bearer
Path parameters
idstring required
The session id
upload_idstring required
Response
OK
Changes
- info
endpoint added
- info