{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Sites Rfdiags API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sites Rfdiags",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getSiteSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d`, `-2h`, or `now`"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Time range duration for the query, using relative units such as `10m`, `7d`, or `2w`"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Select the page number to return when using page-based pagination; starts at `1`"
              }
            ]
          },
          "docs": "List RF Glass Recording"
        },
        {
          "info": {
            "name": "startSiteRecording",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Start RF Glass Recording"
        },
        {
          "info": {
            "name": "getSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags/:rfdiag_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rfdiag_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get RF Diag Recording Details"
        },
        {
          "info": {
            "name": "updateSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags/:rfdiag_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rfdiag_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Recording"
        },
        {
          "info": {
            "name": "deleteSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags/:rfdiag_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rfdiag_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Recording"
        },
        {
          "info": {
            "name": "downloadSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags/:rfdiag_id/download",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rfdiag_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download Recording\nDownload raw_events blob"
        },
        {
          "info": {
            "name": "stopSiteRfdiagRecording",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/sites/:site_id/rfdiags/:rfdiag_id/stop",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rfdiag_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "If the recording session is active for the given rfdiag_id, it will finish the recording. duration and end_time will be updated to reflect the correct values."
        }
      ]
    }
  ],
  "bundled": true
}