{
  "opencollection": "1.0.0",
  "info": {
    "name": "Work Analytics Customer Data",
    "version": "8-x-8-Latest"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "8x8-apikey",
      "value": "{{8x8-apikey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pbxes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns all pbxes of a customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.8x8.com/analytics/work/v2/pbxes/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page number to begin your query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page size to begin your query with.  A value between 1 and 100 is supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting strategy. <br> Sorting can be done for each entity by the name field. Queues can be sorted also by extension."
              }
            ]
          },
          "docs": "This endpoint returns all the PBXes available for a customer"
        }
      ]
    },
    {
      "info": {
        "name": "Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns the list of sites of a pbx",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.8x8.com/analytics/work/v2/pbxes/:pbxId/sites",
            "params": [
              {
                "name": "pbxId",
                "value": "",
                "type": "path",
                "description": "The id of the pbx."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page number to begin your query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page size to begin your query with.  A value between 1 and 100 is supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting strategy. <br> Sorting can be done for each entity by the name field. Queues can be sorted also by extension."
              }
            ]
          },
          "docs": "Returns a list of sites of a pbx."
        }
      ]
    },
    {
      "info": {
        "name": "Queues Per Site",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns the list of queues for the given pbx and site.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.8x8.com/analytics/work/v2/pbxes/:pbxId/sites/:siteId/queues",
            "params": [
              {
                "name": "pbxId",
                "value": "",
                "type": "path",
                "description": "The ID for the specified pbx."
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "The ID for the specified site."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page number to begin your query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page size to begin your query with.  A value between 1 and 100 is supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting strategy. <br> Sorting can be done for each entity by the name field. Queues can be sorted also by extension."
              }
            ]
          },
          "docs": "Returns the list of queues for the given pbx and site."
        }
      ]
    },
    {
      "info": {
        "name": "Queues per PBX",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns the list of queues for the given pbx.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.8x8.com/analytics/work/v2/pbxes/:pbxId/queues",
            "params": [
              {
                "name": "pbxId",
                "value": "",
                "type": "path",
                "description": "The ID for the specified pbx."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page number to begin your query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page size to begin your query with.  A value between 1 and 100 is supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting strategy. <br> Sorting can be done for each entity by the name field. Queues can be sorted also by extension."
              }
            ]
          },
          "docs": "Returns the list of queues for the given pbx."
        }
      ]
    },
    {
      "info": {
        "name": "Agents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns the list of agents for the given pbx.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.8x8.com/analytics/work/v2/pbxes/:pbxId/agents",
            "params": [
              {
                "name": "pbxId",
                "value": "",
                "type": "path",
                "description": "The ID for the specified pbx."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page number to begin your query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "This parameter indicates the page size to begin your query with.  A value between 1 and 100 is supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting strategy. <br> Sorting can be done for each entity by the name field. Queues can be sorted also by extension."
              }
            ]
          },
          "docs": "Returns the list of agents for the given pbx."
        }
      ]
    }
  ],
  "bundled": true
}