TeamCity 2020.2 Help

Change

Represents a VCS change (commit).

Related Help article: Change

Properties

FieldData type

id

long

version

string

internalVersion

string

username

string

date

string

registrationDate

string

personal

boolean

href

string

webUrl

string

comment

string

user

User

files

FileChanges

vcsRootInstance

VcsRootInstance

parentChanges

Changes

parentRevisions

Items

attributes

Properties

storesProjectSettings

boolean

locator

string

Schema

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.

<change comment="string" date="string" href="string" id="123456789" internalVersion="string" locator="string" personal="true" registrationDate="string" storesProjectSettings="true" username="string" version="string" webUrl="string"> <user email="string" hasPassword="true" href="string" id="123456789" lastLogin="string" locator="string" name="string" password="string" realm="string" username="string"> <properties>[[[properties...|properties.html]]]</properties> <roles>[[[roles...|roles.html]]]</roles> <groups>[[[groups...|groups.html]]]</groups> </user> <files count="123"> <file>[[[FileChange...|filechange.html]]]</file> </files> <vcsRootInstance 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...|vcsroot.html]]]</vcs-root> <status>[[[vcsStatus...|vcsstatus.html]]]</status> <repositoryState>[[[repositoryState...|repositorystate.html]]]</repositoryState> <properties>[[[properties...|properties.html]]]</properties> <repositoryIdStrings>[[[items...|items.html]]]</repositoryIdStrings> </vcsRootInstance> <parentChanges count="123" href="string" nextHref="string" prevHref="string"> <change>[[[change...|change.html]]]</change> </parentChanges> <parentRevisions item="string"/> <attributes count="123" href="string"> <property>[[[property...|property.html]]]</property> </attributes> </change>
{ "date" : "date", "vcsRootInstance" : "[[[vcs-root-instance...|vcsrootinstance.html]]]", "personal" : true, "storesProjectSettings" : true, "version" : "version", "webUrl" : "webUrl", "registrationDate" : "registrationDate", "files" : "[[[FileChanges...|filechanges.html]]]", "parentRevisions" : "[[[items...|items.html]]]", "internalVersion" : "internalVersion", "comment" : "comment", "attributes" : "[[[properties...|properties.html]]]", "id" : 6, "href" : "href", "user" : "[[[user...|user.html]]]", "locator" : "locator", "parentChanges" : "[[[changes...|changes.html]]]", "username" : "username" }
Last modified: 20 February 2021