waitingroom_rule_position

Reorder the position of a rule

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-waitingroom-rule-position-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/waitingroom_rule_position",
  "title": "waitingroom_rule_position",
  "description": "Reorder the position of a rule",
  "oneOf": [
    {
      "properties": {
        "index": {
          "description": " Places the rule in the exact position specified by the integer number <POSITION_NUMBER>. Position numbers start with 1. Existing rules in the ruleset from the specified position number onward are shifted one position (no rule is overwritten).",
          "type": "integer"
        }
      },
      "type": "object"
    },
    {
      "properties": {
        "before": {
          "description": " Places the rule before rule <RULE_ID>. Use this argument with an empty rule ID value (\"\") to set the rule as the first rule in the ruleset.",
          "example": "<RULE_ID>",
          "type": "string"
        }
      },
      "type": "object"
    },
    {
      "properties": {
        "after": {
          "description": "Places the rule after rule <RULE_ID>. Use this argument with an empty rule ID value (\"\") to set the rule as the last rule in the ruleset.",
          "example": "<RULE_ID>",
          "type": "string"
        }
      },
      "type": "object"
    }
  ],
  "type": "object"
}