- URL:
- https://<host>/<instance>/rest/info
- Methods:
- GET
- Version Introduced:
- 10.0
Description
The Server  resource provides general information about the server (for example, the current version of the server), as well as information on whether the server is secured using token-based authentication; and the token services URL (if token-based authentication is used). At 10.1 and later, when the server is secured using token-based authentication, the short  property is returned. The value returned for this property represents the validity of short-lived tokens in minutes.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | Description: The response format. The default response format is  Values:  | 
Example usage
https://organization.example.com/<context>/rest/info?f=pjsonJSON Response syntax
{
"currentVersion": <currentVersion>,
"fullVersion": "<fullVersion>", //Added in 10.1 - returns version information as a String
"soapUrl": "<soapUrl>",
"secureSoapUrl": <soapSslUrl>,
"owningSystemUrl": "<owningSystemUrl>", //Added in 10.1 SP1
"authInfo" : {
    "isTokenBasedSecurity" : <true | false>,
    "tokenServicesUrl" : "<tokenServiceUrl>", //sent only if isTokenBasedSecurity = "true"
     "shortLivedTokenValidity" : <shortLivedTokenValidity> //Added in 10.1. Sent only if isTokenBasedSecurity = "true"
  }
}JSON Response example
{
"currentVersion": 10.1,
"fullVersion": "10.1",
"soapUrl": "https://organization.example.com/<context>/services",
"secureSoapUrl": "https://server/arcgis/services",
"owningSystemUrl": "https://www.arcgis.com",
"authInfo" : {
    "isTokenBasedSecurity" : true,
    "tokenServicesUrl" : "https://organization.example.com/<context>/tokens",
	"shortLivedTokenValidity" :60
  }
}