The resources endpoint lists all file resources for the organization.
Usage
arc_portal_resources(
id = arc_portal_self(token)[["id"]],
page_size = 50,
max_pages = Inf,
.progress = TRUE,
host = arc_host(),
token = arc_token()
)
Arguments
- id
the portal ID. By default it fetches the
id
fromarc_portal_self()
.- page_size
a scalar integer between 1 and 100 indicating the number of responses per page.
- max_pages
the maximum number of pages to fetch. By default fetches all pages.
- .progress
default
TRUE
. Whether to display a progress bar for requests.- host
default
"https://www.arcgis.com"
. The host of your ArcGIS Portal.- token
an object of class
httr2_token
as generated byauth_code()
or related function
See also
Other portal:
arc_portal_urls()
,
arc_portal_users()
,
self
Examples
if (FALSE) { # \dontrun{
set_arc_token(auth_user())
arc_portal_resources()
} # }