update_metric_setting
Update quality metric settings for a DeepSource project by specifying metric code and toggling report and threshold enforcement.
Instructions
Update the settings for a quality metric
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | DeepSource project key to identify the project | |
| repositoryId | Yes | Repository GraphQL ID | |
| metricShortcode | Yes | Code for the metric to update | |
| isReported | Yes | Whether the metric should be reported | |
| isThresholdEnforced | Yes | Whether the threshold should be enforced |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| projectKey | Yes | ||
| metricShortcode | Yes | ||
| settings | Yes | ||
| message | Yes | ||
| next_steps | Yes |