Root
- URL:https://www.arcgis.com/sharing/rest (for ArcGIS Online) or https://<host>:<port>/arcgis/sharing/rest (for your own portal)
- Child Resources:Generate Token, , Community, Content, Portals, OAuth2
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
https://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"
}