{
  "opencollection": "1.0.0",
  "info": {
    "name": "VDI & DAAS Host API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Host",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get host metrics per folder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.controlup.com/historical/v1/hosts/metrics",
            "params": [
              {
                "name": "metrics",
                "value": "",
                "type": "query",
                "description": "The metric to return."
              },
              {
                "name": "_timeFrom",
                "value": "2025-02-01T00:00:00.000Z",
                "type": "query",
                "description": "Start date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ"
              },
              {
                "name": "_timeTo",
                "value": "2025-02-02T00:00:00.000Z",
                "type": "query",
                "description": "End date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ"
              },
              {
                "name": "_page",
                "value": "1",
                "type": "query",
                "description": "The page number returned. The first page is 1."
              },
              {
                "name": "_limit",
                "value": "20",
                "type": "query",
                "description": "The number of items returned per page. Minimum is 1."
              }
            ]
          },
          "docs": "Returns average host resource consumption per folder throughout the search period. The granularity depends on the search period."
        },
        {
          "info": {
            "name": "Get host counts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.controlup.com/historical/v1/hosts/counts",
            "params": [
              {
                "name": "entity",
                "value": "",
                "type": "query",
                "description": "The type of host statistics to return."
              },
              {
                "name": "hostName",
                "value": "",
                "type": "query",
                "description": "Only return statistics for the specified host name."
              },
              {
                "name": "_timeFrom",
                "value": "2025-02-01T00:00:00.000Z",
                "type": "query",
                "description": "Start date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ"
              },
              {
                "name": "_timeTo",
                "value": "2025-02-02T00:00:00.000Z",
                "type": "query",
                "description": "End date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ"
              },
              {
                "name": "_page",
                "value": "1",
                "type": "query",
                "description": "The page number returned. The first page is 1."
              },
              {
                "name": "_limit",
                "value": "20",
                "type": "query",
                "description": "The number of items returned per page. Minimum is 1."
              }
            ]
          },
          "docs": "Returns usage statistics per host."
        }
      ]
    }
  ],
  "bundled": true
}