Start a website or an app that is made by conversation
post/hosting/coder/projects
Start a website or an app that is made by conversation. Names the kind of project (Next.js today); refuses a kind that cannot be made yet. Nothing is written until the first turn.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingCoderProjectCreate- Sdk
hosting.coderProject.create- Cli
hosting coder project create
Request bodyapplication/json, required
- namestringrequiredAt most 80 characters.
- stackstringOne of: next, static, harness. Default: next.
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
- looksbooleanWhether a look at the preview can be asked for on this server; false until Praecise Cloud's looks are live
- 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