Artifact rules
Update artifact rule configuration
Updates the configuration of a single rule for the artifact. The configuration data is specific to each rule type, so the configuration of the COMPATIBILITY rule is in a different format from the configuration of the VALIDITY rule.
This operation can fail for the following reasons:
- No artifact with this artifactId exists (HTTP error 404)
- No rule with this name/type is configured for this artifact (HTTP error 404)
- Invalid rule type (HTTP error 400)
- A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/rules/{rule}
Request body
Example request
{
"type": "VALIDITY",
"config": "FULL"
}Response
Rule configuration was updated.
Example response
{
"type": "VALIDITY",
"config": "FULL"
}