Skip To Content

Servers

Description

This resource returns detailed information about the ArcGIS Server registered with Portal for ArcGIS, such as the ID of the server, name of the server, ArcGIS Web Adaptor URL, administration URL, and if the server is set as a hosting server.

Request parameters

ParameterDetails
f

The response format. The default is html.

Values: html | json | pjson

Example usage

Below is a sample request URL for the servers resource:

https://machine.domain.com/webadaptor/portaladmin/federation/servers?f=json

JSON Response example


{
  "servers": [
    {
      "id": "EzbP0KZKrzn5guAh",
      "name": "machine.domain.com:6443",
      "url": "https://machine.domain.com/arcgis",
      "isHosted": true,
      "adminURL": "https://machine.domain.com:6443/arcgis",
      "serverRole": "FEDERATED_SERVER",
      "serverFunction": "MissionServer",
      "webgisServerTrustKey": ""
    }
  ]
}