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)requiredIn the path
- jobstringrequiredIn the path
Responses
- 200application/jsonSuccess
- jobobjectrequired
- idstringrequired
- projectstringrequired
- statusstringrequiredOne of: running, succeeded, failed.
- bundlestring or nullrequired
- releasestring or nullrequired
- errorstring or nullrequired
- started_atnumberrequired
- finished_atnumber or nullrequired
- logstringrequired
- urlstringrequired
- jobobjectrequired
- 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