TeamCity REST API Reference 2025.11 Help

RepositoryState

Represents the list of the repository Branch entities with their recent revisions.

Properties

timestamp

Specifies when this RepositoryState object was created.

count

The length of the branches collection.

branch

The list of repository branches.

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.

<repositoryState count="9" timestamp="20250412T151928+0200"> <branch>[[[branchVersion...|branchversion.html]]]</branch> </repositoryState>
{ "count" : 9, "branch" : [ "[[[branchVersion...|branchversion.html]]]" ], "timestamp" : "20250412T151928+0200" }
Last modified: 02 December 2025