Artifact rules

Get artifact rule configuration

Changed on

Returns information about a single rule configured for an artifact. This is useful when you want to know what the current configuration settings are for a specific 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)
get/groups/{groupId}/artifacts/{artifactId}/rules/{rule}

Request

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

Response

Information about a rule.

configstring required
type'VALIDITY' | 'COMPATIBILITY' | 'INTEGRITY'

Example response

{
  "type": "VALIDITY",
  "config": "FULL"
}

Changes

    • warning

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