Bring in a project that is already at Praecise Cloud, by its name there
post/hosting/coder/projects/import/cloud
Bring in a project that is already at Praecise Cloud, by its name there: the newest source Praecise Cloud keeps for it (uploaded, or imported from GitHub) becomes the project's first checkpoint, as with an upload. Asked in the signed-in person's name: they must be able to deploy to the project, and its owner must have opened it to Rivier in the Praecise Cloud console. A project that was placed without its source is refused in Praecise Cloud's own sentence. Publishing afterwards places a new release of that same project.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Sdk
hosting.coderProject.importCloud- Cli
hosting coder project import cloud
Request bodyapplication/json, required
- cloudstringrequiredThe project's name at Praecise Cloud Pattern: ^[a-z0-9][a-z0-9-]{0,62}$.
- namestringWhat to call it in Rivier; the Praecise Cloud name when left out 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