Rivier/ Reference/ hosting

Hosting coder project import finish

post/hosting/coder/projects/import/finish

Join the parts of a project sent in parts (at most 60 MB in all) and bring it in exactly as an upload in one request is brought in. The parts are removed once it is brought in or refused; a part that has not arrived is named so it can be sent again.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Sdk
hosting.coderProject.importFinish
Cli
hosting coder project import finish

Request bodyapplication/json, required

  • uploadstring (uuid)required
    The identifier the parts were sent with
  • partsintegerrequired
    How many parts were sent At least 1. At most 8.
  • namestringrequired
    What the project is called in Rivier At most 80 characters.

Responses

  • 201application/json
    Success
    • projectobjectrequired
      • idstringrequired
      • namestringrequired
      • stackstringrequired
        One of: next, static, harness.
      • libraryobjectrequired
        • versionstringrequired
        • commitstringrequired
      • entriesobjectrequired
      • headstring or nullrequired
      • checkpointsnumberrequired
      • eventsnumberrequired
      • cloudobject
        • namestringrequired
        • urlstringrequired
        • deployobject
        • liveobject
        • previewobject
        • lockobject
      • carriedobject
        Set for a project that carries over a site made with the earlier designer
        • sitestringrequired
        • hoststring
      • originobject
        Set for a project that was brought in from outside
        • kindstringrequired
          One of: upload, cloud, github.
        • frameworkstringrequired
        • versionstringrequired
        • fromstring
      • createdAtstringrequired
      • updatedAtstringrequired
    • checkpointobjectrequired
      • idstringrequired
      • projectIdstringrequired
      • seqnumberrequired
      • parentstring or nullrequired
      • messagestringrequired
      • restoresstring
      • bystringrequired
      • createdAtstringrequired
      • filesnumberrequired
    • supportobjectrequired
      • frameworknextrequired
      • versionstringrequired
      • noteslist of stringrequired
    • leftlist of objectrequired
      Files that were not kept, and why
      • pathstringrequired
      • whystringrequired
        One of: secret, too_large, name, too_many.
    • keptnumberrequired
      Files kept beside the source: pictures, fonts, the lockfile
    • skippednumberrequired
      Installed packages, build output and version-control files that were passed over
  • 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