powered by
The resources endpoint lists all file resources for the organization.
arc_portal_resources( id = arc_portal_self(token)[["id"]], page_size = 50, max_pages = Inf, .progress = TRUE, host = arc_host(), token = arc_token() )
a data.frame of resources available to your portal.
the portal ID. By default it fetches the id from arc_portal_self().
id
arc_portal_self()
a scalar integer between 1 and 100 indicating the number of responses per page.
the maximum number of pages to fetch. By default fetches all pages.
default TRUE. Whether to display a progress bar for requests.
TRUE
default "https://www.arcgis.com". The host of your ArcGIS Portal.
"https://www.arcgis.com"
an object of class httr2_token as generated by auth_code() or related function
httr2_token
auth_code()
API Reference
Other portal: arc_portal_urls(), arc_portal_users(), self
arc_portal_urls()
arc_portal_users()
self
if (FALSE) { set_arc_token(auth_user()) arc_portal_resources() }
Run the code above in your browser using DataLab