Skip to content
Select themeSelect language

`POST /api/workspace/repo_sync/resolve` — accept the REMOTE version of one conflicted file (#397): force-applies it, overriding last-write-wins. Gated by `sync_mode` (rejected in `ui-only`).

POST
/api/workspace/repo_sync/resolve
curl --request POST \
--url https://example.com/api/workspace/repo_sync/resolve \
--header 'Content-Type: application/json' \
--data '{ "path": "example" }'
Media typeapplication/json

Body of POST /api/workspace/repo_sync/resolve.

object
path
required

The conflict path from the pull preview, e.g. resources/prod-smtp.yaml.

string
Examplegenerated
{
"path": "example"
}
Media typeapplication/json

One row per entity affected by a pull.

object
action
required
string
reason

Set for skipped / failed rows; absent for the happy path.

string | null
target_id
string | null format: uuid
target_kind
required

Closed catalogue of sync targets a log row can reference.

string
Allowed values: workflow script app resource memory
target_slug
required
string
Example
{
"target_kind": "workflow"
}