Global rules
Admin

Create global rule

Changed on

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

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

Request body

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

Example request

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

Response

The global rule was added.

Changes