Rivier/ Reference/ hosting

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

  • namestringrequired
    At most 80 characters.
  • stackstring
    One of: next, static, harness. Default: next.

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
    • looksboolean
      Whether a look at the preview can be asked for on this server; false until Praecise Cloud's looks are live
  • 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