Group rules
Create group rule
Adds a rule to the list of rules that get applied to an artifact in the group when adding new versions. All configured rules must pass to successfully add a new artifact version.
This operation can fail for the following reasons:
- No group with this groupId exists (HTTP error 404)
- Rule (named in the request body) is unknown (HTTP error 400)
- Rule is already configured (HTTP error 409)
- A server error occurred (HTTP error 500)
post/groups/{groupId}/rules
Request body
Example request
{
"ruleType": "VALIDITY",
"config": "FULL"
}Response
The rule was added.