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)requiredThe identifier the parts were sent with
- partsintegerrequiredHow many parts were sent At least 1. At most 8.
- namestringrequiredWhat the project is called in Rivier At most 80 characters.
Responses
- 201application/jsonSuccess
- projectobjectrequired
- idstringrequired
- namestringrequired
- stackstringrequiredOne of: next, static, harness.
- libraryobjectrequired
- versionstringrequired
- commitstringrequired
- entriesobjectrequired
- headstring or nullrequired
- checkpointsnumberrequired
- eventsnumberrequired
- cloudobject
- namestringrequired
- urlstringrequired
- deployobject
- liveobject
- previewobject
- lockobject
- carriedobjectSet for a project that carries over a site made with the earlier designer
- sitestringrequired
- hoststring
- originobjectSet for a project that was brought in from outside
- kindstringrequiredOne of: upload, cloud, github.
- frameworkstringrequired
- versionstringrequired
- fromstring
- kindstringrequired
- createdAtstringrequired
- updatedAtstringrequired
- checkpointobjectrequired
- idstringrequired
- projectIdstringrequired
- seqnumberrequired
- parentstring or nullrequired
- messagestringrequired
- restoresstring
- bystringrequired
- createdAtstringrequired
- filesnumberrequired
- supportobjectrequired
- frameworknextrequired
- versionstringrequired
- noteslist of stringrequired
- leftlist of objectrequiredFiles that were not kept, and why
- pathstringrequired
- whystringrequiredOne of: secret, too_large, name, too_many.
- keptnumberrequiredFiles kept beside the source: pictures, fonts, the lockfile
- skippednumberrequiredInstalled packages, build output and version-control files that were passed over
- projectobjectrequired
- 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