FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<host>/<instance>/rest/info |
---|
The ServerInfo
resource provides general information about the server (e.g. current version of the server), and provides information
on whether the server is secured using token based authentication; and the token services url (if token based authentication is used).
Parameter | Details |
---|---|
f | Description: The response format. The default response format is html. Values: html | json |
Example 1:
http://sampleserver3.arcgisonline.com/arcgis/rest/info
{
"currentVersion": <currentVersion>,
"soapURL": <soapUrl>,
"secureSoapURL": <soapSslUrl>,
“authInfo” : {
“isTokenBasedSecurity” : <true | false>,
“tokenServiceUrl” : “<tokenServiceUrl>” //sent only if isTokenBasedSecurity = “true”
}
}
{ "currentVersion": 10, "soapUrl": "http://server/arcgis/services", "secureSoapUrl": "https://server/arcgis/services", “authInfo” : { “isTokenBasedSecurity” : true, “tokenServiceUrl” : “https://server/arcgis/tokens” } }