Learn R Programming

arcgisutils (version 0.4.0)

arc_portal_servers: List ArcGIS Enterprise Servers

Description

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()
)

Value

a data.frame of servers

Arguments

id

the portal ID. By default it fetches the id from arc_portal_self().

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

Examples

Run this code
if (FALSE) {
set_arc_token(auth_user())
arc_portal_servers()
}

Run the code above in your browser using DataLab