Version Management Service

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 using branch versioning.

Service

The version management service is accessed as follows:

•	https://<host>/server/rest/services/<service-name>/MapServer/exts/VersionManagementServer

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"
}