Skip to content

Commit

Permalink
registry fix for .get_result_sets
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Jun 27, 2024
1 parent d59f312 commit d49dd2a
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions inst/script/registry.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ registerEndpoint(
# not implemented, redundant with result sets.

# /resultSets, get_result_sets -----
#' get_result_sets
#' .get_result_sets
#'
#' Returns queried result set
#'
Expand All @@ -142,11 +142,38 @@ registerEndpoint(
NULL


# get_result_set output is paginated awkardly, it is downgraded to an internal function
# with a high level processor with the same name
# registerEndpoint(
# "resultSets?datasets={datasets}&filter={filter}&offset={offset}&limit={limit}&sort={sort}",
# "get_result_sets",open_api_name = 'get_result_sets',
# keyword = "misc",
# compressibles = 'filter',
# defaults = list(
# datasets = NA_character_,
# resultSets = NA_character_,
# # database entires not supported for now.. not sure if there's a good use for them
# filter = NA_character_,
# offset = 0,
# limit = 20,
# sort = '+id'
# ),
# validators = alist(
# datasets = validateOptionalID,
# resultSets = validateOptionalID,
# filter = validateFilter,
# offset = validatePositiveInteger,
# limit = validateLimit,
# sort = validateSort
# ),
# preprocessor = quote(processDifferentialExpressionAnalysisResultSetValueObject)
# )

registerEndpoint(
"resultSets?datasets={datasets}&filter={filter}&offset={offset}&limit={limit}&sort={sort}",
"get_result_sets",open_api_name = 'get_result_sets',
".get_result_sets",open_api_name = 'get_result_sets',
keyword = "misc",
internal = TRUE,
compressibles = 'filter',
defaults = list(
datasets = NA_character_,
Expand Down

0 comments on commit d49dd2a

Please sign in to comment.