Artifact rules
List artifact rules
Returns a list of all rules configured for the artifact. The set of rules determines how the content of an artifact can evolve over time. If no rules are configured for an artifact, the set of globally configured rules are used. If no global rules are defined, there are no restrictions on content evolution.
This operation can fail for the following reasons:
- No artifact with this artifactId exists (HTTP error 404)
- A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}/rules
Response
Returns the names of the rules configured for the artifact.
RuleType[] required
Example response
[ "VALIDITY" ]