Previous Next JavaScript must be enabled to correctly display this content

## Get pending jobs

get

/jobs/pending

List all pending jobs which are submitted, but not completed

### Request

Supported Media Types

- application/json

Query Parameters

- count: integer
  Maximum Value: `200`
  Get the number of last events
  Default Value: `100`

Back to Top

### Response

Supported Media Types

- application/json

#### 200 Response

Ok
Body ()
Root Schema : schema
Type: `array`
Show Source

- Array of: object ServiceJobReportSummary
  Job Request summary

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/ServiceJobReportSummary"
        }
    }

Nested Schema : ServiceJobReportSummary
Type: `object`
Job Request summary
Show Source

- createTimestamp: string(date-time)
- description: string
- duration: string
- jobId: string
- jobType: string
- message: string
- status: string
  Allowed Values: `[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure" ]`

    {
        "description":"Job Request summary",
        "properties":{
            "jobId":{
                "type":"string"
            },
            "status":{
                "type":"string",
                "enum":[
                    "Created",
                    "Scheduled",
                    "Running",
                    "Success",
                    "Failure",
                    "Retrying",
                    "Waiting",
                    "InternalError",
                    "Reverting",
                    "Reverted",
                    "NodeDisconnectedFailure"
                ]
            },
            "message":{
                "type":"string"
            },
            "createTimestamp":{
                "type":"string",
                "format":"date-time"
            },
            "duration":{
                "type":"string"
            },
            "description":{
                "type":"string"
            },
            "jobType":{
                "type":"string"
            }
        }
    }

#### Default Response

An unexpected error has occurred
Body ()
Root Schema : Error
Type: `object`
Show Source

- code(required): string
- message(required): string

    {
        "required":[
            "code",
            "message"
        ],
        "properties":{
            "code":{
                "type":"string"
            },
            "message":{
                "type":"string"
            }
        }
    }

Back to Top