Rivier/ Reference/ hosting

Whether the project can be published

get/hosting/coder/projects/{id}/publish

Whether the project can be published: what the automatic checks still find, and the checklist a person reads first (example content still in place, unknowns in the brief). Says where it is published when it is.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Graphql
Query.hostingCoderPublishGet
Sdk
hosting.coderPublish.get
Cli
hosting coder publish get

Parameters

  • idstring (uuid)required
    In the path

Responses

  • 200application/json
    Success
    • readybooleanrequired
    • issueslist of objectrequired
      • checkstringrequired
      • severitystringrequired
        One of: error, advice.
      • pathstringrequired
      • linenumber
      • messagestringrequired
    • checklistlist of stringrequired
    • publishedobject
      • urlstringrequired
      • checkpointstring
  • 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