public function getAllowedParams() { return array('startId' => array(ApiBase::PARAM_REQUIRED => true), 'endId' => array(ApiBase::PARAM_REQUIRED => true)) + parent::getAllowedParams(); }