{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Sites Location API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sites Location",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getSiteBeamCoverageOverview",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/coverage",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "map_id",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "query",
                "description": "Filter results by map identifier"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter results by type. enum: `asset`, `client`, `sdkclient`"
              },
              {
                "name": "client_type",
                "value": "",
                "type": "query",
                "description": "Filter results by client type"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Time range duration for the query, using relative units such as `10m`, `7d`, or `2w`"
              },
              {
                "name": "resolution",
                "value": "",
                "type": "query",
                "description": "Location calculation resolution used by the query. enum: `default`, `fine`"
              },
              {
                "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`"
              }
            ]
          },
          "docs": "Get Beam Coverage Overview"
        },
        {
          "info": {
            "name": "getSiteMachineLearningCurrentStat",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/current",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "map_id",
                "value": "00000000-0000-0000-0000-000000000000",
                "type": "query",
                "description": "Filter results by map identifier"
              }
            ]
          },
          "docs": "Get Machine Learning Current Stat\nFor each VBLE AP, it has ML model parameters (e.g. Path-loss-estimate, Intercept) as well as completion indicators (Level and PercentageComplete). For the completeness, ML takes N sample to finish its first level and use N*0.25 samples to complete each successive level. When a device is moved, the completeness will be reset as it has to re-learn."
        },
        {
          "info": {
            "name": "getSiteDefaultPlfForModels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/defaults",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Default PLF for Models"
        },
        {
          "info": {
            "name": "overwriteSiteMlForDevice",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/device/:device_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "device_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Overwrite ML For Device"
        },
        {
          "info": {
            "name": "clearSiteMlOverwriteForDevice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/device/:device_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "device_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Clear ML Overwrite for Device"
        },
        {
          "info": {
            "name": "overwriteSiteMlForMap",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/map/:map_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "map_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Overwrite ML For Map"
        },
        {
          "info": {
            "name": "clearSiteMlOverwriteForMap",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/map/:map_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "map_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Clear ML Overwrite for Map"
        },
        {
          "info": {
            "name": "resetSiteMlStatsByMap",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/sites/:site_id/location/ml/reset/map/:map_id",
            "params": [
              {
                "name": "site_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "map_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reset ML Stats by Map"
        }
      ]
    }
  ],
  "bundled": true
}