sharing/rest: Root

URL:
https://https://www.arcgis.com/sharing/rest (for ArcGIS Online) or https://machine.domain.com/webadaptor/sharing/rest (for ArcGIS Enterprise)
Methods:
GET
Operations:
Generate Token
Child Resources:
Search, Community, Content, Portals, OAuth

Example for ArcGIS Online

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest?f=json

Example for ArcGIS Enterprise

Use dark colors for code blocksCopy
1
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. Starting at ArcGIS Enterprise 11.3, the site root returns the ArcGIS Enterprise version and build numbers.

Request Parameters

ParameterDetails

f

The response format.

Values: html, json

Response Properties

PropertyDetails

currentVersion

The release version for ArcGIS Online.

enterpriseVersion

The release version for ArcGIS Enterprise.

enterpriseBuild

The build number for the final release version of ArcGIS Enterprise.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
{
  "currentVersion": "<version>"
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "currentVersion": "2024.1",
  "enterpriseVersion": "11.3.0",
  "enterpriseBuild": "51526"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.