request_all | R Documentation |
Performs a GET request on the specified resource_url
and all its
pages.
request_all(
resource_url = "/",
base_url = pgs_server(),
limit = 20L,
verbose = FALSE,
warnings = TRUE,
progress_bar = TRUE
)
resource_url |
Endpoint URL. The endpoint is internally appended to the
|
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. |
A list four named elements:
The URL endpoint.
A string describing the status of the response obtained. It is "OK" if everything went OK or some other string describing the problem.
A list of JSON responses (each response is a string).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.