put
https://api.revenium.ai/profitstream/v2/api/teams//settings/pr-health
Update the PR Health settings for a team. agingDays and rottingDays are required and agingDays must be lower than rottingDays. Every other field is optional and absent or null leaves it unchanged; cutoffDateIsDefault=true restores the default (full-history counts, dollars from the first coding-assistant day) and ignores any cutoffDate beside it; an empty excludedRepos or automationPatterns list clears it. A cutoffDate in the future or before 2008-01-01, more than 200 repositories or one not shaped owner/repo, more than 20 patterns, and a pattern that is blank, longer than 200 characters, invalid in Java or PostgreSQL (alone or combined with the others), or matching an empty string, are all a 400.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…