mq_rule

APIs.ioEngineeringPlatform

Properties

Name Type Description
actions array Array of R2 object actions that will trigger notifications
prefix string Notifications will be sent only for objects with this prefix
suffix string Notifications will be sent only for objects with this suffix
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-mq-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/mq_rule",
  "title": "mq_rule",
  "properties": {
    "actions": {
      "description": "Array of R2 object actions that will trigger notifications",
      "example": [
        "PutObject",
        "CopyObject"
      ],
      "items": {
        "$ref": "#/components/schemas/mq_r2-action"
      },
      "type": "array",
      "uniqueItems": true
    },
    "prefix": {
      "description": "Notifications will be sent only for objects with this prefix",
      "example": "img/",
      "type": "string"
    },
    "suffix": {
      "description": "Notifications will be sent only for objects with this suffix",
      "example": ".jpeg",
      "type": "string"
    }
  },
  "required": [
    "actions"
  ],
  "type": "object"
}