v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
Artifact rules

Get artifact rule configuration

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}

Response

Information about a rule.

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

Example response

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