Skip to main content

UnifiedViews Method - Request Last Finished Pipeline Execution

Abstract

UnifiedViews Method - Request Last Finished Pipeline Execution

Description

Returns the status of the last pipeline execution that has been finished.

URL: http://{server}/master/api/1/pipelines/{pipeline_id}/executions/last

Content Type

application/json

Request

Supported Method

GET

ResponseContent-Type

application/json

Status: 200 - OK

Request Returns

Returns a single pipeline execution entry, the last one according to its end time.

Only the following statuses are considered:

  • CANCELLED

  • FINISHED_SUCCESS

  • FINISHED_WARNING

  • FAILED

Example Response
{
    id: 3,
    status: "FINISHED_SUCCESS",
    isDebugging: false,
    orderNumber: 1,
        start: "2014-08-08T15:15:15.555Z",
    end: "2014-08-08T15:15:15.555Z",
    schedule: 12,
    stop: false,
    lastChange: "2014-08-08T15:15:15.555Z"
}