URL : api/queue-list
Method : GET
Content-Type : application/JSON
Permission to: Admin Only
Keep In Mind: Please Provide an Authorization token in the Header to access
Parameters In Params – NA
Success Response:

{
  "success": true,
  "data": {
    "current_page": 1,
    "first_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/queue-list?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/queue-list?page=1",
    "next_page_url": null,
    "path": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/queue-list",
    "per_page": 10,
    "prev_page_url": null,
    "to": 6,
    "total": 6,
    "queues": [
      {
        "id": 3,
        "name": "Beanstalkd",
        "status": 0
      },
      {
        "id": 4,
        "name": "SQS",
        "status": 0
      },
      {
        "id": 5,
        "name": "Iron",
        "status": 0
      },
    ],
    "cronPath": "/opt/lampp/htdocs/faveo_sd/faveo-helpdesk-advance/artisan",
    "paths": [
      "/usr/bin/php",
      "/usr/bin/php5.6",
      "/usr/lib/php",
      "/etc/php",
      "/usr/include/php",
      "/usr/share/php",
      "/opt/lampp/bin/php"
    ]
  }
}

Note*:  By Default it will take sort-order = asc, sort-filed = asc, sort-filed = updated-at.

Tagged: