Rivier/ Reference/ hosting

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)required
    In the query
  • partintegerrequired
    In the query

Request bodyapplication/octet-stream, required

string (binary)

Responses

  • 200application/json
    Success
    • uploadstringrequired
    • partnumberrequired
    • bytesnumberrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown