Land a branch
POST
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.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_repository_id*stringFormat
uuidcustomer_id?|nullapplication/json- body
branch*stringLength
1 <= length <= 255Request fulfilled, document follows
application/json- response
head_sha*stringoverlap*array<string>run_id*stringFormat
uuidtask_id?|nullcurl -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"}