Syndai Docs

Go live anyway with a held change

POST
/api/v1/external/coding/runs/{coding_run_id}/land/merge-anyway

Records a person's consent to land a change that was held before landing, past the checks that held it; the landing is still verified live afterwards. Send the head_sha you reviewed: 409 if the change moved since, or if it is not held for a reason you can override. This is a human decision: an API key gets 403 HUMAN_APPROVAL_REQUIRED with a review_url, and a signed-in person must be a workspace owner or admin.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

coding_run_id*string
Formatuuid

Query Parameters

customer_id?|null

Request Body

application/json
  1. body
head_sha*string
Match^[0-9a-f]{40}$|^[0-9a-f]{64}$

Response Body

Request fulfilled, document follows

application/json
  1. response
land*
Example Request
curl -X POST 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/land/merge-anyway' \  -H 'Content-Type: application/json' \  -d '{  "head_sha": "string"}'
Example Response
{  "land": {    "can_merge_anyway": false,    "head_sha": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",    "state": "landing",    "strategy": "merge"  }}