public function getByProjectAndCategory($project_id, $category_id, $archive = false)
    {
        $project_id  = (int) $project_id;
        if ($project_id <= 0) {
            throw new \TeamWorkPm\Exception('Invalid param project_id');
        }
        $category_id  = (int) $category_id;
        if ($category_id <= 0) {
            throw new \TeamWorkPm\Exception('Invalid param category_id');
        }
        $action = "projects/$project_id/cat/$category_id/$this->action";
        if ($archive) {
            $action .= '/archive';
        }
        return $this->rest->get($action);
    }