v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
Global rules
Admin

Create global rule

Adds a rule to the list of globally configured rules.

This operation can fail for the following reasons:

  • The rule type is unknown (HTTP error 400)
  • The rule already exists (HTTP error 409)
  • A server error occurred (HTTP error 500)
post/admin/rules

Request body

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

Example request

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

Response

The global rule was added.