arc_portal_resources: Portal File Resources

View source: R/portal-resources.R

arc_portal_resourcesR Documentation

Portal File Resources

Description

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 from arc_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 by auth_code() or related function

Value

a data.frame of resources available to your portal.

References

API Reference

See Also

Other portal: arc_portal_urls(), arc_portal_users(), self

Examples

## Not run: 
  set_arc_token(auth_user())
  arc_portal_resources()

## End(Not run)


arcgisutils documentation built on March 4, 2026, 9:06 a.m.