- URL:
- https://<root>/<serviceName>/VersionManagementServer/versions
- Methods:
GET- 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
| Parameter | Details |
|---|---|
| Specifies the output format of the response. The default response format is Values: |
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:
{
"versions": [
{
"versionName": "SDE.DEFAULT",
"versionGuid": "{BD3F4817-9A00-41AC-B0CC-58F78DBAE0A1}"
},
{
"versionName": "UNADMIN.ProjectA",
"versionGuid": "{F93DB9FD-6F39-45D9-A6C7-D43E69EB3076}"
}
],
"success": true
}