Server

Description

This resource represents an ArcGIS Server site that has 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

id

ID of the ArcGIS Server site.

name

The fully qualified name of the machine hosting the ArcGIS Server site, followed by the port.

adminUrl

The administrative URL of the ArcGIS Server site, using the fully qualified name of the machine.

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

serverKey

The key returned when the Register Server operation is called for this server. The key is only displayed once; hence, this property usually returns null.

serverType

The type of server being registered with the portal. For example: ArcGIS.

Example Usage

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

JSON Response Syntax

{
  "id": <serverId>,
  "name": <serverName>,
  "adminUrl": <serverAdminUrl>,
  "url": <serverUrl>,
  "isHosted": true | false,
  "serverKey": <serverKey>,
  "serverType": <serverType>
}

JSON Response Example

{
  "id": "J5TUOrNQurCDgHFq",
  "name": "myserver.mydomain.com:6080",
  "adminUrl": "http://myserver.mydomain.com:6080/arcgis",
  "url": "http://myserver.mydomain.com/arcgis",
  "isHosted": true,
  "serverKey": "null",
  "serverType": "ArcGIS"
}

3/3/2017