Root

Description

The Root resource only returns the version of the containing portal. It acts as a root to its child resources and operations. To obtain descriptive information about this portal including its name, logo, featured items, and supported protocols (HTTP vs HTTPS), access the Self resource under Portals.

Request Parameters

Parameter

Details

f

The response format.

Values: html, json

Response Properties

Property

Details

currentVersion

The release version for this portal.

Example for ArcGIS Online

http://www.arcgis.com/sharing/rest?f=json

Example for your own portal with the ArcGIS Web Adaptor

https://webadaptorhost.domain.com/webadaptorname/sharing/rest?f=json

JSON Response Syntax

{    
  "currentVersion": "<version>"    
}

JSON Response Example

{    
  "currentVersion": "2.2"    
}

3/3/2017