{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azure Monitor Action Groups Events API",
    "version": "2022-06-01"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure Monitor Get events by type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/apps/:appId/events/:eventType",
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "ID of the Application Insights component. This is the Application ID from the API Access settings blade in the Azure portal."
              },
              {
                "name": "eventType",
                "value": "",
                "type": "path",
                "description": "The type of events to query."
              },
              {
                "name": "timespan",
                "value": "",
                "type": "query",
                "description": "The timespan over which to query in ISO 8601 duration format."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "An expression used to filter the returned events."
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "A free-text search expression to match for whether a particular event should be returned."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "A comma-separated list of properties with asc or desc to sort on."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Limits the properties returned for each event."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "The number of items to skip over before returning events."
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "The number of events to return."
              },
              {
                "name": "$format",
                "value": "",
                "type": "query",
                "description": "Format for the returned events."
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Request a count of matching items included with the returned events."
              },
              {
                "name": "$apply",
                "value": "",
                "type": "query",
                "description": "An expression used for aggregation over returned events."
              }
            ]
          },
          "docs": "Gets the results of an OData query for events of a specific type from Application Insights telemetry."
        },
        {
          "info": {
            "name": "Azure Monitor Get a single event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/apps/:appId/events/:eventType/:eventId",
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "ID of the Application Insights component. This is the Application ID from the API Access settings blade in the Azure portal."
              },
              {
                "name": "eventType",
                "value": "",
                "type": "path",
                "description": "The type of events to query."
              },
              {
                "name": "eventId",
                "value": "",
                "type": "path",
                "description": "The ID of the event."
              },
              {
                "name": "timespan",
                "value": "",
                "type": "query",
                "description": "The timespan over which to query."
              }
            ]
          },
          "docs": "Gets the data for a single event from Application Insights telemetry."
        }
      ]
    }
  ],
  "bundled": true
}