Artifact rules

List artifact rules

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Response

Returns the names of the rules configured for the artifact.

RuleType[] required

Example response

[
  "VALIDITY"
]

Changes

    • warning

      added the new INTEGRITY enum value to the response property for the response status