Servers

Description

This resource lists the ArcGIS Server sites that have been federated with the portal.

This resource is not applicable to ArcGIS Online; it is only applicable to Portal for ArcGIS.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

Property

Details

servers

An array of JSON objects representing ArcGIS Server sites. Each JSON object has the following properties:

  • id—A unique identifier for the site.
  • name—The fully qualified name of the machine hosting the ArcGIS Server site, followed by the port.
  • url—The externally visible URL of the ArcGIS Server site, using the fully qualified name of the machine.
  • isHosted—A Boolean property denoting whether the ArcGIS Server site is allowed to host services for the portal (true) or is not allowed to host services (false).
  • adminUrl—The administrative URL of the ArcGIS Server site, using the fully qualified name of the machine.

Example Usage

http://myportal.mydomain.com/arcgis/sharing/rest/portals/0123456789ABCDEF/servers

JSON Response Syntax

{"servers": [{
  "id": <serverId>,
  "name": <serverName>,
  "url": <serverUrl>,
  "isHosted": true | false,
  "adminUrl": <serverAdminUrl>
}]}

JSON Response Example

{"servers": [{
  "id": "J5TUOrNQurCDgHFq",
  "name": "myserver.mydomain.com:6080",
  "url": "http://myserver.mydomain.com/arcgis",
  "isHosted": true,
  "adminUrl": "http://myserver.mydomain.com:6080/arcgis"
}]}

10/6/2017