event-subscriptions

List Event Subscriptions

Changed on

Get all event subscriptions.

get/groups/{groupId}/apps/{appId}/event_subscriptions

Request

  • Base URL
    https://services.cloud.mongodb.com/api/admin/v3.0
  • URL
    https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/event_subscriptions
  • Auth
    HTTP bearer

Response

Success.

Example response

[
  {
    "name": "onNewEmployee",
    "type": "DATABASE",
    "function_id": "5eea9ca4ca0e356e2c2a148a",
    "config": {
      "operation_types": [
        "INSERT"
      ],
      "database": "HR",
      "collection": "employees",
      "service_id": "5adeb649b8b998486770ae7c",
      "match": {},
      "project": {},
      "full_document": true
    },
    "event_processors": {
      "FUNCTION": {
        "config": {
          "function_id": "6841b8d3e71dc81bed89dbba",
          "function_name": "Atlas_Triggers_DatabaseInsert_1749137618"
        }
      }
    }
  }
]

Changes

    • info

      the response property ///////////////// became required for the status

    • info

      the response property ///////////////// became required for the status

    • info

      the response property ///////////////// became required for the status

    • breaking

      the response property /////////////// became optional for the status

    • breaking

      the response property /////////////// became optional for the status

    • breaking

      the response property /////////////// became optional for the status

    • breaking

      the response property /////////////// became optional for the status

    • breaking

      the response property /////////////// became optional for the status

    • breaking

      the response property /////////////// became optional for the status

    • info

      the response's property default value false was added for the status

    • info

      removed the DELETE enum value from the //////////////// response property for the response status

    • info

      removed the INSERT enum value from the //////////////// response property for the response status

    • info

      removed the REPLACE enum value from the //////////////// response property for the response status

    • info

      removed the UPDATE enum value from the //////////////// response property for the response status