apps

Build a commit again on Lathe's builder, named by the run of the build that failed (source="lathe" only)

post/instances/{instance_id}/apps/{name}/github/actions/rebuild

Request

  • Base URL: https://app.lathe.live/api/v1
  • URL: https://app.lathe.live/api/v1/instances/{instance_id}/apps/{name}/github/actions/rebuild
  • Auth: none declared

Path parameters

instance_idstring required
namestring required

Request body

runinteger nullable

The run id of the build to build again. Left out, the head of the branch is built as it stands: the way to build a commit that has no build yet.

no_cacheboolean

Build every step over instead of taking what the builder already has for it. For a build that succeeded and produced the wrong thing, where the cause is a step whose output depends on the world rather than on the repository (an apt-get update is as old as the first build that ran it). As slow as the first build was.

Response

Successful Response

status'queued' | 'already_queued' | 'removed'
job_idstring nullable required
instance_idstring required
messagestring required
job_urlstring nullable
checkout_urlstring nullable

A free instance's upgrade: open in a browser and pay the plan's first month; the upgrade follows the payment.

verifiedboolean nullable

Registry credentials only: whether the registry took them. Null when there was no image of yours there to try them on.

warningstring nullable

Registry credentials only: why the registry refused them, when it did. They are saved either way.

cidrsstring[] nullable

The allowlist as normalised (allowlist only).

settingsobject nullable

Engine settings only: the whole engine as it will be once the job has run, secrets masked. A read before the job finishes still answers the previous values, so an add reads its result here.

Changes

No recorded changes to this operation across all 1 revision of this API.