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);
}