The servers resource lists the ArcGIS Server sites that have been federated with the portal.
Usage
arc_portal_servers(
id = arc_portal_self(token)[["id"]],
host = arc_host(),
token = arc_token()
)
Arguments
- id
the portal ID. By default it fetches the
id
fromarc_portal_self()
.- 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
Examples
if (FALSE) { # \dontrun{
set_arc_token(auth_user())
arc_portal_servers()
} # }