Controller/DeploymentController.php
public function retrieveSite($id, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/deployment/sites/' . $id . '', $parameters, $cachePolicy);
        $result = new DeploymentSiteResponse($result);

        return $result;
    }
public function retrieveSite($id, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/deployment/sites/' . $id . '', $parameters, $cachePolicy);
        $result = new DeploymentSiteResponse($result);

        return $result;
    }
Fetches a specific DeploymentSite.

@param int         $id          The DeploymentSite identifier..
@param CachePolicy $cachePolicy a custom cache policy used for this request only

@return DeploymentSiteResponse