APIEnvironment::getDeploy PHP Метод

getDeploy() защищенный Метод

Устаревший: 2.0.0 - moved to DeployDispatcher
protected getDeploy ( integer $id ) : SS_HTTPResponse
$id integer
Результат SS_HTTPResponse
    protected function getDeploy($id)
    {
        $deploy = DNDeployment::get()->byID($id);
        if (!$deploy) {
            return $this->message('Deploy not found', 404);
        }
        $output = array('status' => $deploy->ResqueStatus(), 'message' => $deploy->LogContent());
        return $this->getAPIResponse($output);
    }