Skip to main content

Complete a chunked upload

POST 

/uploads/:id/complete

Assembles the uploaded chunks into one stored file. Every chunk must have arrived; GET /api/v1/uploads/{id}/status lists any that are missing. For a session opened with purpose "private_apk" the body may be empty: the server computes the file's SHA-256, refuses it with SHA256_MISMATCH when a declared sha256 (at init or here) differs, reads the APK (APK_UNREADABLE, APK_UNSIGNED), and creates the private APK content item, returned under content. The same bytes uploaded again return the existing item with created false, and repeating the call returns the same item.

Request​

Responses​

Upload completed; content is present for a private-APK upload