Diffy icon

Diffy

Interact with Diffy AI Code Review API

Rule → Update Global Rule

AI-generated

Summary

Updates a global rule on Diffy via PUT /api/v1/rules/global/{ruleId}

Inputs

  • ruleId (required) — The rule ID
  • ruleContent (required) — The rule definition
  • ruleName — Name or title for the rule

Output shape

The API response from Diffy, typically containing the updated rule object

Returned as the node's main output data item

Examples

Example 1: Update an existing global rule with new content and name

ruleId: 42, ruleName: 'my-rule', ruleContent: '...'

Discussion