added params to resource endpoints