Return pending restoration tasks list

This function lists the tasks that the restoration queue has not yet processed.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/restore_queue_list_pending
Request samples
whmapi1 --output=jsonpretty \
  restore_queue_list_pending
Response samples
application/json
{
  • "data": {
    • "restore_job": [
      • {
        • "options": {
          • "destid": "LmTZCUpqqLSPH8AO7pVtIeNK",
          • "give_ip": 1,
          • "mail_config": 1,
          • "mysql": 1,
          • "subdomains": 1
          },
        • "restore_point": "2015-10-21T00:00:00.000Z",
        • "user": "username"
        }
      ]
    },
  • "metadata": {
    • "command": "restore_queue_list_pending",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}