public function hook($project_id, $hook_id) { return $this->get($this->getProjectPath($project_id, 'hooks/' . $this->encodePath($hook_id))); }