{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Sites Location API",
    "version": "2604.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": "Map_id (filter by map_id)"
              },
              {
                "name": "type",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_type",
                "value": "",
                "type": "query",
                "description": "Client_type (as filter. optional)"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Duration like 7d, 2w"
              },
              {
                "name": "resolution",
                "value": "",
                "type": "query"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Start time (epoch timestamp in seconds, or relative string like \"-1d\", \"-1w\")"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "End time (epoch timestamp in seconds, or relative string like \"-1d\", \"-2h\", \"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": "Map_id (as filter, optional)"
              }
            ]
          },
          "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
}