{
  "opencollection": "1.0.0",
  "info": {
    "name": "Webex Admin Address Book Workspace Metrics API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Workspace Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workspace Metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceMetrics",
            "params": [
              {
                "name": "workspaceId",
                "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
                "type": "query",
                "description": "ID of the workspace to get metrics for."
              },
              {
                "name": "metricName",
                "value": "temperature",
                "type": "query",
                "description": "The type of data to extract."
              },
              {
                "name": "aggregation",
                "value": "hourly",
                "type": "query",
                "description": "Time unit over which to aggregate measurements."
              },
              {
                "name": "from",
                "value": "2020-10-21T13:33:37.789Z",
                "type": "query",
                "description": "List only data points after a specific date and time (ISO 8601 timestamp)"
              },
              {
                "name": "to",
                "value": "2020-10-31T16:00:00.532Z",
                "type": "query",
                "description": "List data points before a specific date and time (ISO 8601 timestamp)"
              },
              {
                "name": "unit",
                "value": "celsius",
                "type": "query",
                "description": "Output data unit (only a valid parameter if `metricName` is `temperature`)."
              },
              {
                "name": "sortBy",
                "value": "newestFirst",
                "type": "query",
                "description": "Sort results."
              }
            ]
          },
          "docs": "Get metric data for the specified workspace and metric name, optionally aggregated over a specified time period.\n\n* The `workspaceId` and `metricName` parameters indicate which workspace to fetch metrics for and what kind of metrics to get.\n\n* When executing an aggregated query, the result bucket start times will be truncated to the start of an hour or a day, depending on\nthe aggregation interval. However, the buckets will not contain data from outside the requested time range. For example, when"
        },
        {
          "info": {
            "name": "Workspace Duration Metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceDurationMetrics",
            "params": [
              {
                "name": "workspaceId",
                "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
                "type": "query",
                "description": "ID of the workspace to get metrics for."
              },
              {
                "name": "aggregation",
                "value": "hourly",
                "type": "query",
                "description": "Unit of time over which to aggregate measurements."
              },
              {
                "name": "measurement",
                "value": "timeBooked",
                "type": "query",
                "description": "The measurement to return duration for."
              },
              {
                "name": "from",
                "value": "2020-10-21T13:33:37.789Z",
                "type": "query",
                "description": "Include data points after a specific date and time (ISO 8601 timestamp)."
              },
              {
                "name": "to",
                "value": "2020-10-31T16:00:00.532Z",
                "type": "query",
                "description": "Include data points before a specific date and time (ISO 8601 timestamp)."
              }
            ]
          },
          "docs": "Get metrics for how much time a workspace has been in the state given by the `measurement` parameter.\n\nFor example, if the measurement is  `timeBooked` then the duration for which the workspace has been booked is returned. The `workspaceId` parameter indicates which workspace to fetch metrics for. If no `measurement` is given, the default value is `timeUsed`.\n\n* When executing a query, the result bucket start times will default to the start of an hour or a day, depending on\nthe aggregation inter"
        }
      ]
    }
  ],
  "bundled": true
}