Resource URL: /platform/<<version=3>>/job/recent

    Overview: List recently completed jobs.

     Methods: GET

********************************************************************************

Method GET: List recently completed jobs.

       URL: GET /platform/<<version=3>>/job/recent

Query arguments:
timeout_ms=<integer> Query timeout in milliseconds. The default is 10000 ms.
     limit=<integer> Max number of recent jobs to return. The default is 8, the
                     max is 100.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }, 
    "recent": {
      "items": {
        "type": "object", 
        "properties": {
          "impact": {
            "enum": [
              "Low", 
              "Medium", 
              "High", 
              "Paused"
            ], 
            "type": "string", 
            "description": "The current impact of the job.", 
            "required": true
          }, 
          "paths": {
            "items": {
              "required": true, 
              "type": "string"
            }, 
            "type": "array", 
            "description": "Paths for which the job was queued."
          }, 
          "start_time": {
            "type": "integer", 
            "description": "The time the job started, in seconds since the Epoch."
          }, 
          "description": {
            "type": "string", 
            "description": "A text representation of the job."
          }, 
          "waiting_reason": {
            "enum": [
              "blocked_by_priority"
            ], 
            "type": "string", 
            "description": "The reason the job is waiting."
          }, 
          "type": {
            "required": true, 
            "type": "string", 
            "description": "The job type."
          }, 
          "current_phase": {
            "type": "integer", 
            "description": "The current phase of the job."
          }, 
          "state": {
            "enum": [
              "running", 
              "paused_user", 
              "paused_system", 
              "paused_policy", 
              "paused_priority", 
              "cancelled_user", 
              "cancelled_system", 
              "failed", 
              "succeeded", 
              "unknown"
            ], 
            "type": "string", 
            "description": "Current state of the job.", 
            "required": true
          }, 
          "priority": {
            "required": true, 
            "minimum": 1, 
            "type": "integer", 
            "description": "Current priority of the job; lower numbers preempt higher numbers.", 
            "maximum": 10
          }, 
          "participants": {
            "items": {
              "required": true, 
              "type": "integer"
            }, 
            "type": "array", 
            "description": "The set of devids working on the job."
          }, 
          "create_time": {
            "required": true, 
            "type": "integer", 
            "description": "The time the job was queued, in seconds since the epoch."
          }, 
          "end_time": {
            "type": "integer", 
            "description": "The time the job ended, in seconds since the Epoch."
          }, 
          "waiting_on": {
            "type": "integer", 
            "description": "The ID of a job for which this job is waiting."
          }, 
          "policy": {
            "required": true, 
            "type": "string", 
            "description": "Current impact policy of the job."
          }, 
          "progress": {
            "type": "string", 
            "description": "A text representation of the job's progress."
          }, 
          "retries_remaining": {
            "required": true, 
            "type": "integer", 
            "description": "The number of retries remaining if the job fails."
          }, 
          "total_phases": {
            "required": true, 
            "type": "integer", 
            "description": "The total number of phases of the job type."
          }, 
          "control_state": {
            "enum": [
              "running", 
              "paused_user", 
              "paused_system", 
              "paused_policy", 
              "paused_priority", 
              "cancelled_user", 
              "cancelled_system", 
              "failed", 
              "succeeded", 
              "unknown"
            ], 
            "type": "string", 
            "description": "State to which the job is transitioning; if control_state is identical to state, the job's state is stable.", 
            "required": false
          }, 
          "id": {
            "minimum": 1, 
            "type": "integer", 
            "description": "The ID of the job.", 
            "required": true
          }, 
          "running_time": {
            "type": "integer", 
            "description": "The number of seconds the job has executed."
          }
        }
      }, 
      "type": "array"
    }
  }
}
