GitRepositoryDTO Data Type

Properties
name data type constraints description
repositoryIdentity string   the UUID of the repository
name string   the friendly name of the repository
fileSystemPath string   the path on the file system of the repository
globalReadOnly boolean required boolean true if the repository is read only
localReadOnly boolean required boolean Return true if the repository is in read only mode locally. It will return false if the repository is in global read only but not locally.
readOnlyReason string  
readOnlyTime number  
latestRevision RepositoryRevisionDTO   Returns the details of the repository's youngest revision.
state RepositoryStateDTO  
replicationGroupId string  
pendingTransactions number  
pendingTransactionsForAllNodes VCSNodesTransactionsListDTO  
dsmId string  
denyNonFastForwards boolean required boolean

Example

{
  "repositoryIdentity" : "...",
  "name" : "...",
  "fileSystemPath" : "...",
  "globalReadOnly" : true,
  "localReadOnly" : true,
  "readOnlyReason" : "...",
  "readOnlyTime" : 12345,
  "latestRevision" : {
    "revision" : "...",
    "timestamp" : 12345
  },
  "state" : { },
  "replicationGroupId" : "...",
  "pendingTransactions" : 12345,
  "pendingTransactionsForAllNodes" : {
    "repositoryNodesTransactions" : [ {
      "nodeId" : "...",
      "lastOutput" : 12345,
      "lastDelivered" : 12345,
      "pendingTransactions" : 12345
    }, {
      "nodeId" : "...",
      "lastOutput" : 12345,
      "lastDelivered" : 12345,
      "pendingTransactions" : 12345
    } ]
  },
  "dsmId" : "...",
  "denyNonFastForwards" : true
}