public function getSegment($id) { $path = '/segments/' . $id; $result = $this->adapter->get($path, array(), $this->getHeaders()); return $this->format($result); }