Syndai Docs

Land a branch

POST
/api/v1/external/coding/repos/{coding_repository_id}/land

On a project Syndai hosts, land a branch you pushed with your own git login (people//): it gets the same checks, review and landing slot as any change. A branch named for a task (people//t12) delivers it when the landing goes live. Returns the landing run, the head it lands and live work on the same files.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

coding_repository_id*string
Formatuuid

Query Parameters

customer_id?|null

Request Body

application/json
  1. body
branch*string
Length1 <= length <= 255

Response Body

Request fulfilled, document follows

application/json
  1. response
head_sha*string
overlap*array<string>
run_id*string
Formatuuid
task_id?|null
Example Request
curl -X POST 'https://api.syndai.ai/api/v1/external/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/land' \  -H 'Content-Type: application/json' \  -d '{  "branch": "string"}'
Example Response
{  "head_sha": "string",  "overlap": [    "string"  ],  "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",  "task_id": "736fde4d-9029-4915-8189-01353d6982cb"}
Was this page helpful?