Configure automatic GitHub push deployment

Configures exactly one Git branch whose signed pushes deploy immutable commits to dev. Production remains an explicit promotion.

put/v1/projects/{project_id}/source/auto-deploy

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/source/auto-deploy
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project identifier.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Request body

branchstring required

Exact Git branch accepted by Git check-ref-format branch rules; control/space, dot-lock, reflog, range and metacharacter forms are rejected.

enabledboolean required

Response

The current automatic deployment configuration.

branchstring nullable required
refstring nullable required
environment'dev' required
enabledboolean required
generationinteger required
grant_status'active' | 'revoked' | 'null' nullable required
updated_atstring date-time nullable required

Changes

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