Diffy icon

Diffy

Interact with Diffy AI Code Review API

Context → Cancel Sync

AI-generated

Summary

Cancel an ongoing context sync for a Diffy repository.

Inputs

  • repoId (required) — The Diffy repository ID

Output shape

The JSON response from the Diffy API, returned as an n8n main item.

The node constructs a POST request to /api/v1/context/repos/{repoId}/sync/cancel. Only repoId is used to build the endpoint path; the additionalParams property is declared in the UI but not consumed by the source implementation for this operation.

Examples

Example 1: Cancel a running context sync for repository ID 42.

Set Repository ID to 42. Execute the node to send a POST to /api/v1/context/repos/42/sync/cancel.

Discussion