Rivier/ Reference/ hosting

How a build is going, for a publish or a preview

get/hosting/coder/projects/{id}/deploys/{job}

How a build is going, for a publish or a preview: running, succeeded or failed, with the end of its log and, when it failed, the reason as a sentence.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Graphql
Query.hostingCoderDeployGet
Sdk
hosting.coderDeploy.get
Cli
hosting coder deploy get

Parameters

  • idstring (uuid)required
    In the path
  • jobstringrequired
    In the path

Responses

  • 200application/json
    Success
    • jobobjectrequired
      • idstringrequired
      • projectstringrequired
      • statusstringrequired
        One of: running, succeeded, failed.
      • bundlestring or nullrequired
      • releasestring or nullrequired
      • errorstring or nullrequired
      • started_atnumberrequired
      • finished_atnumber or nullrequired
    • logstringrequired
    • urlstringrequired
  • 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