{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Rum API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Rum",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Aggregate Rum Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/analytics/aggregate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "The API endpoint to aggregate RUM events into buckets of computed metrics and timeseries."
        },
        {
          "info": {
            "name": "Datadog List All the Rum Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications"
          },
          "docs": "List all the RUM applications in your organization."
        },
        {
          "info": {
            "name": "Datadog Create a New Rum Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new RUM application in your organization."
        },
        {
          "info": {
            "name": "Datadog Order Rum Retention Filters",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/relationships/retention_filters",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Order RUM retention filters for a RUM application.\nReturns RUM retention filter objects without attributes from the request body when the request is successful."
        },
        {
          "info": {
            "name": "Datadog Get All Rum Retention Filters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              }
            ]
          },
          "docs": "Get the list of RUM retention filters for a RUM application."
        },
        {
          "info": {
            "name": "Datadog Create a Rum Retention Filter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a RUM retention filter for a RUM application.\nReturns RUM retention filter objects from the request body when the request is successful."
        },
        {
          "info": {
            "name": "Datadog Get a Rum Retention Filter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters/:rf_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              },
              {
                "name": "rf_id",
                "value": "",
                "type": "path",
                "description": "Retention filter ID."
              }
            ]
          },
          "docs": "Get a RUM retention filter for a RUM application."
        },
        {
          "info": {
            "name": "Datadog Update a Rum Retention Filter",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters/:rf_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              },
              {
                "name": "rf_id",
                "value": "",
                "type": "path",
                "description": "Retention filter ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a RUM retention filter for a RUM application.\nReturns RUM retention filter objects from the request body when the request is successful."
        },
        {
          "info": {
            "name": "Datadog Delete a Rum Retention Filter",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters/:rf_id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "RUM application ID."
              },
              {
                "name": "rf_id",
                "value": "",
                "type": "path",
                "description": "Retention filter ID."
              }
            ]
          },
          "docs": "Delete a RUM retention filter for a RUM application."
        },
        {
          "info": {
            "name": "Datadog Get a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ]
          },
          "docs": "Get the RUM application with given ID in your organization."
        },
        {
          "info": {
            "name": "Datadog Update a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the RUM application with given ID in your organization."
        },
        {
          "info": {
            "name": "Datadog Delete a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ]
          },
          "docs": "Delete an existing RUM application in your organization."
        },
        {
          "info": {
            "name": "Datadog Get a List of Rum Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/events",
            "params": [
              {
                "name": "filter[query]",
                "value": "@type:session @application_id:xxxx",
                "type": "query",
                "description": "Search query following RUM syntax."
              },
              {
                "name": "filter[from]",
                "value": "2019-01-02T09:42:36.320Z",
                "type": "query",
                "description": "Minimum timestamp for requested events."
              },
              {
                "name": "filter[to]",
                "value": "2019-01-03T09:42:36.320Z",
                "type": "query",
                "description": "Maximum timestamp for requested events."
              },
              {
                "name": "sort",
                "value": "example_value",
                "type": "query",
                "description": "Order of events in results."
              },
              {
                "name": "page[cursor]",
                "value": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==",
                "type": "query",
                "description": "List following results with a cursor provided in the previous query."
              },
              {
                "name": "page[limit]",
                "value": "25",
                "type": "query",
                "description": "Maximum number of events in the response."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns events that match a RUM search query.\n[Results are paginated][1].\n\nUse this endpoint to see your latest RUM events.\n\n[1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination"
        },
        {
          "info": {
            "name": "Datadog Search Rum Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns RUM events that match a RUM search query.\n[Results are paginated][1].\n\nUse this endpoint to build complex RUM events filtering and search.\n\n[1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination"
        }
      ]
    }
  ],
  "bundled": true
}