Webhooks

Slipstream deploy record

Called by the record-deploy stage of the Slipstream deploy recipe (HO-15721) once the promoted commit is live. Stamps deployed_at (status success) or deploy_failed_at (status failed) on tickets whose merge_sha is sha, in the projects wired to repo, saves that repo reported a deploy (HO-16279: the hourly sweep keeps its merged tickets waiting for their deploy), then closes the closing-line tickets parked on that sha. Only environment: production stamps; any other environment is acknowledged and ignored. Idempotent: a repeat stamps nothing and re-runs the close. Protected by CRON_SECRET via the x-cron-secret header.

post/webhooks/slipstream/deploy

Request

  • Base URL: https://api.apphandoff.com/api
  • URL: https://api.apphandoff.com/api/webhooks/slipstream/deploy
  • Auth: none required

Request body

repostring required

GitHub owner/name

shastring required

Promoted commit, 40 hex characters

environmentstring required
status'success' | 'failed' required

Example request

{
  "environment": "production"
}

Response

Recorded, or acknowledged and ignored (unknown repo, non-production environment)

stampedinteger
closedinteger
ignoredboolean
reasonstring

Changes

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