Goal

Bulk-upsert a ctq-tasks manifest push

T440. Replaces N individual add/advance/link calls with one idempotent, transactional upsert. Correlation key is (tenantId, projectId, external_ref.local_id). See docs/tech/ctq-tasks-sync.md.

post/api/goal/sync

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/goal/sync
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

project_idinteger nullable

Response

Sync result.

mappingobject

local_id -> { node_id, updated_at } for every task in the payload.

createdinteger
updatedinteger
skippedinteger

Hash-unchanged tasks — no write happened.

depsAddedinteger
depsRemovedinteger

Changes

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