lib/Github/Api/Deployment.php
public function getStatuses($username, $repository, $id)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.rawurlencode($id).'/statuses');
    }
public function getStatuses($username, $repository, $id)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.rawurlencode($id).'/statuses');
    }
public function getStatuses ( $ username , $ repository , $ id ) { return $ this -> get ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/deployments/' . rawurlencode ( $ id ) . '/statuses' ) ; }
Gets all of the status updates tied to a given deployment.

@param string $username   the username
@param string $repository the repository
@param int    $id         the deployment identifier

@return array the deployment statuses
Gets all of the status updates tied to a given deployment .