API referenceRules
`POST /rules/plan` — what an apply would change (ADR-0072 §3). Writes nothing.
POST
/rules/planRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /rules/plan and POST /rules/apply (ADR-0072 §3): every rule one
repository declares, under the scope that names the repository.
Response Body
application/json
curl -X POST "https://example.com/rules/plan" \ -H "Content-Type: application/json" \ -d '{ "managed_by": "string", "rules": [ { "name": "string" } ] }'{ "create": [ "string" ], "delete": [ "string" ], "managed_by": "string", "unchanged": [ "string" ], "update": [ "string" ]}