R/filters.R

Defines functions get_filter list_filters

Documented in get_filter list_filters

#' @template get_filters
#' @include mgmt.R
#' @export
get_filter <- function(accountId, filterId, token) {
    path <- sprintf("management/accounts/%s/filters/%s", accountId, filterId)
    get_mgmt(path, token)
}

#' @template list_filters
#' @include mgmt.R
#' @export
list_filters <- function(accountId, start.index = NULL, max.results = NULL, token) {
    path <- sprintf("management/accounts/%s/filters", accountId)
    list_mgmt(path, list(start.index = start.index, max.results = max.results), token)
}

Try the RGA package in your browser

Any scripts or data that you put into this service are public.

RGA documentation built on May 2, 2019, 6:47 a.m.