Diffy icon

Diffy

Interact with Diffy AI Code Review API

Rule → List Repo Rules

AI-generated

Summary

List all rules specific to a given repository in Diffy by its repository ID, optionally including additional custom parameters for the API request.

Inputs

  • Repository ID (required) — The unique identifier of the repository for which to fetch the rules.
  • Additional Parameters — Optional additional key-value parameters to include in the API request, enabling custom filtering or adjustments.

Output shape

a list of repository-specific rule objects as returned by the Diffy API

The output is an array of JSON objects representing rules associated with the specified repository. Additional parameters are passed as query or request parameters and may affect the results.

Examples

Example 1: List rules for repository with ID 1234

Set Repository ID to 1234 and leave Additional Parameters empty to retrieve all rules for that repository.

Discussion