Performs a GET request on the specified resource_url
and all its
pages.
Usage
request_all(
resource_url = "/",
base_url = pgs_server(),
limit = 20L,
verbose = FALSE,
warnings = TRUE,
progress_bar = TRUE
)
Arguments
- resource_url
Endpoint URL. The endpoint is internally appended to the
base_url
. It should start with a forward slash (/
).- base_url
The PGS REST API base URL (one should not need to change its default value).
- limit
number of results per page.
- verbose
whether to print information about each API request.
- warnings
whether to print warnings related to API requests.
- progress_bar
whether to show a progress bar as the paginated resources are retrieved.