Skip To Content
ArcGIS Developers
Dashboard

Versions

Description

The Versions resource represents all versions in a Version Management service. It is returned as an array of version names. Hidden versions are not included.

Request parameters

ParameterDetails
f

Description: The response format. The default response format is html.

Values: <html | json>

JSON Response syntax

{
  "versions" : [
    {
      "versionName": "<versionName>",
      "versionGuid": <guid>
    }
  ]
}

Example usage

The Versions resource is used to return branch versions for the version management service. Hidden versions are not returned.

Request URL and JSON response:

https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/versions

{
 "versions": [
  {
   "versionName": "SDE.DEFAULT",
   "versionGuid": "{BD3F4817-9A00-41AC-B0CC-58F78DBAE0A1}"
  },
  {
   "versionName": "UNADMIN.ProjectA",
   "versionGuid": "{F93DB9FD-6F39-45D9-A6C7-D43E69EB3076}"
  }
 ],
 "success": true
}