/recastRiskRule
Methods
GET
Gets the list of Recast Risk Rules across all reps, plugins, and orgs, unless filters are provided.
Fields Parameter
Filters
Example Response
POST
Adds a Recast Risk Rule to one repository.
Request Parameters
Example Response
/recastRiskRule/{id}
Methods
GET
Gets the Recast Risk Rule associated with {id}.
Fields Parameter
Request Query Parameters
None
Example Response
DELETE
Deletes the Recast Risk Rule associated with {id}, depending on access and permissions.
Request Parameters
None
Example Response
PATCH
Request Parameters
Example Response
/recastRiskRule/apply
Methods
POST
Applies all rules for the given repository or all (id: 0)