Adds a rule to the list of rules that get applied to the artifact 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 artifact with this
artifactIdexists (HTTP error404) - Rule (named in the request body) is unknown (HTTP error
400) - A server error occurred (HTTP error
500)