blob: 0ea86699b3d1e5449252f806a8d330391f43c673 [file] [log] [blame]
---++ POST /api/instance/resume/:entity-type/:entity-name
* <a href="#Description">Description</a>
* <a href="#Parameters">Parameters</a>
* <a href="#Results">Results</a>
* <a href="#Examples">Examples</a>
---++ Description
Resume a specific instance of an entity.
---++ Parameters
* :entity-type can either be a feed or a process.
* :entity-name is name of the entity.
* start is the start time of the instance that you want to refer to
* lifecycle <optional param> can be Eviction/Replication(default) for feed and Execution(default) for process.
---++ Results
Results of the resume command.
---++ Examples
---+++ Rest Call
<verbatim>
POST http://localhost:15000/api/instance/resume/process/SampleProcess?colo=*&start=2012-04-03T07:00Z
</verbatim>
---+++ Result
<verbatim>
{
"instances": [
{
"details": "",
"startTime": "2013-10-21T15:19:57-07:00",
"cluster": "primary-cluster",
"logFile": "http:\/\/localhost:11000\/oozie?job=0000070-131021115933395-oozie-rgau-W",
"status": "RUNNING",
"instance": "2012-04-03T07:00Z"
}
],
"requestId": "default\/e88ff2e0-2af7-4829-a360-f92e95be2981\n",
"message": "default\/RESUME\n",
"status": "SUCCEEDED"
}
</verbatim>