Skip To Content
ArcGIS Developers
Dashboard

sharing/rest: Root

Example for ArcGIS Online

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

Example for ArcGIS Enterprise

https://machine.domain.com/webadaptor/sharing/rest?f=json

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

ParameterDetails
f

The response format.

Values: html, json

Response Properties

PropertyDetails
currentVersion

The release version for this portal.

JSON Response Syntax

{    
  "currentVersion": "<version>"    
}

JSON Response Example

{    
  "currentVersion": "2.2"    
}