Versions

URL:
https://<root>/<serviceName>/VersionManagementServer/versions
Methods:
GET
Child Resources:
Version
Version Introduced:
10.6

Description

The versions resource represents all the versions in a version management service that the current user can access. It is returned as an array of version names. Hidden versions are not included.

Learn more about version access for branch versions

Request parameters

ParameterDetails

f

Specifies the output format of the response. The default response format is html .

Values: <html | json>

JSON Response syntax

1
2
3
4
5
6
7
8
{
  "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

1
2
3
4
5
6
7
8
9
10
11
12
13
{
 "versions": [
  {
   "versionName": "SDE.DEFAULT",
   "versionGuid": "{BD3F4817-9A00-41AC-B0CC-58F78DBAE0A1}"
  },
  {
   "versionName": "UNADMIN.ProjectA",
   "versionGuid": "{F93DB9FD-6F39-45D9-A6C7-D43E69EB3076}"
  }
 ],
 "success": true
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close