Diffy icon

Diffy

Interact with Diffy AI Code Review API

Rule → List Global Rules

AI-generated

Summary

Lists all global rules from the Diffy AI Code Review API.

Inputs

None.

Output shape

Array of global rule objects returned by the Diffy API.

Returned data is the raw JSON response from GET /api/v1/rules/global.

Examples

Example 1: Workflow author adds the Diffy node, sets Resource to Rule and Operation to List Global Rules.

The node executes a GET request to /api/v1/rules/global. No repository ID, rule ID, or other resource-specific parameters are required. The UI provides an 'Additional Parameters' collection field for custom key-value pairs, but the bundled source does not merge these into the request for this operation; the API call consists solely of the authenticated GET endpoint.

Discussion