- URL:
- https://<root>/federation/servers
- Methods:
GET- Operations:
- Federate Servers, Validate Servers
- Child Resources:
- Server
- Version Introduced:
- 10.4
Access requirements
Required privileges
The Portal Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.
Tokens
This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Portal Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.
Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generate operation in the Portal Directory API. For security reasons, all POST requests made to the Portal Administrator API must include a token in the request body.
Description
This servers resource returns detailed information about an ArcGIS Server registered with an organization, which includes the following information:
- The server's ID
- The server's name
- The ArcGIS Web Adaptor URL
- The server's administrative URL
- Whether the server is set as a hosting server
- The server role
- The server type
Request parameters
| Parameter | Details |
|---|---|
| The response format. The default is Values: |
Example usage
The following is a sample URL used to access the servers resource:
https://organization.example.com/<context>/portaladmin/federation/servers?f=pjsonJSON Response example
{
"servers": [
{
"id": "A5jgUpHKuk8thd8R",
"name": "machine1.esri.com:6443",
"url": "https://machine1.esri.com/gis",
"isHosted": false,
"adminUrl": "https://machine1.esri.com:6443/arcgis",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "ImageHosting,KnowledgeServer",
"serverType": "ArcGIS",
"webgisServerTrustKey": ""
},
{
"id": "qNToMlTRZivoziTW",
"name": "machine2.esri.com",
"url": "https://machine2.esri.com/mission",
"isHosted": false,
"adminUrl": "https://machine2.esri.com/mission",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "MissionServer",
"serverType": "ARCGIS_MISSION_SERVER",
"webgisServerTrustKey": ""
},
{
"id": "07YfVcO6qk2iwqF7",
"name": "machine3.esri.com:6443",
"url": "https://machine3.esri.com/gis",
"isHosted": true,
"adminUrl": "https://machine3.esri.com:6443/arcgis",
"serverRole": "HOSTING_SERVER",
"serverFunction": "WorkflowManager",
"serverType": "ArcGIS",
"webgisServerTrustKey": ""
},
{
"id": "ij8kEYiPWA94e30S",
"name": /machine4.esri.com:6443",
"url": "https://machine4.esri.com/gis",
"isHosted": false,
"adminUrl": "https:///machine4.esri.com:6443/arcgis",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "RasterAnalytics",
"serverType": "ArcGIS",
"webgisServerTrustKey": ""
},
{
"id": "zaqghiyLnmIgpfPr",
"name": "machine2.esri.com",
"url": "https://machine2.esri.com/video",
"isHosted": false,
"adminUrl": "https://machine2.esri.com/video",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "VideoServer",
"serverType": "ARCGIS_VIDEO_SERVER",
"webgisServerTrustKey": ""
}
]
}