ArcGIS REST API

Version Management Service

  • URL:http://<catalog-url>/<serviceName>/VersionManagementServer
  • Version Introduced: 10.6

Description

The Version Management Service is responsible for exposing the management capabilities necessary to support feature services that work with branch versioned datasets. This server will only support datasets that are using branch versioning.

JSON Response Syntax

root

{
  "name" : "Version Management Server",
  "type" : "Map Server Extension",
  "defaultVersionName" : <versionName>
  "defaultVersionGuid" : <guid>
}

root/versions

An array of strings, each corresponding to the name of a version. Hidden versions are not returned.

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

root/versions/<versionName>

{
  "versionName" : "<versionName>",
  "versionGuid" : <guid>,
  "owner" : string,
  "description" : "<description>",
  "creationDate" : <dateTime>,
  "modifiedDate" : <dateTime>,
  "isBeingEdited" : <true | false>,
  "isBeingRead" : <true | false>,
  "hasConflicts" : <true | false>,
  "isLocked" : <true | false>,
  "lockOwner" : "<lockOwner>",
  "lockDate" : <dateTime>,
  "access" : "private" | "public" | "protected"
}