Revision
Represents a revision related to a VCS change.
Related Help article: Revision
Field | Data type |
---|---|
|
|
|
|
|
|
| |
|
|
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET
and use the response as a base for the following POST
request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.
XML
JSON
<Revision checkout-rules="string" internalVersion="string" vcsBranchName="string" version="string">
<vcs-root-instance commitHookMode="true" href="string" id="string" lastVersion="string" lastVersionInternal="string" modificationCheckInterval="123" name="string" projectLocator="string" vcs-root-id="string" vcsName="string" vcsRootInternalId="string">
<vcs-root>vcs-root...</vcs-root>
<status>vcsStatus...</status>
<repositoryState>repositoryState...</repositoryState>
<properties>properties...</properties>
<repositoryIdStrings>items...</repositoryIdStrings>
</vcs-root-instance>
</Revision>
{
"vcsBranchName" : "vcsBranchName",
"vcs-root-instance" : {
"lastVersion" : "lastVersion",
"vcsRootInternalId" : "vcsRootInternalId",
"commitHookMode" : true,
"vcs-root" : {
"vcsRootInstances" : "vcs-root-instances...",
"project" : "project...",
"projectLocator" : "projectLocator",
"uuid" : "uuid",
"modificationCheckInterval" : 3,
"internalId" : "internalId",
"name" : "name",
"vcsName" : "vcsName",
"id" : "id",
"href" : "href",
"locator" : "locator",
"properties" : "properties...",
"repositoryIdStrings" : "items..."
},
"projectLocator" : "projectLocator",
"modificationCheckInterval" : 7,
"lastVersionInternal" : "lastVersionInternal",
"name" : "name",
"vcsName" : "vcsName",
"vcs-root-id" : "vcs-root-id",
"id" : "id",
"href" : "href",
"properties" : {
"count" : 1,
"property" : [ {
"inherited" : true,
"name" : "name",
"type" : "type...",
"value" : "value"
} ],
"href" : "href"
},
"status" : {
"current" : "VcsCheckStatus...",
"previous" : "VcsCheckStatus..."
},
"repositoryState" : {
"count" : 3,
"branch" : [ "branchVersion..." ],
"timestamp" : "timestamp"
},
"repositoryIdStrings" : {
"item" : [ "item" ]
}
},
"checkout-rules" : "checkout-rules",
"internalVersion" : "internalVersion",
"version" : "version"
}
Thanks for your feedback!
Was this page helpful?