Send one part of a project too large for one request
post/hosting/coder/projects/import/parts
Send one part of a project too large for one request: up to 8 parts of at most 8 MB each, in the request body as bytes, all with the same upload identifier. Sending a part again replaces it. Nothing is read until the upload is finished.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Sdk
hosting.coderProject.importPart- Cli
hosting coder project import part
Parameters
- uploadstring (uuid)requiredIn the query
- partintegerrequiredIn the query
Request bodyapplication/octet-stream, required
string (binary)
Responses
- 200application/jsonSuccess
- uploadstringrequired
- partnumberrequired
- bytesnumberrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring