TeamCity REST API Reference 2025.11 Help

Projects

Represents a paginated list of Project entities.

Properties

count

Returns the number of Project objects in this collection.

href

The relative link (without the server URL) to the current collection.

nextHref

If the list of returned entities exceeds the request count value, TeamCity splits it into multiple batches. This property returns the endpoint that allows you to obtain the next batch.

prevHref

If the list of returned entities exceeds the request count value, TeamCity splits it into multiple batches. This property returns the endpoint that allows you to obtain the next batch.

project

The list of Project entities owned by this collection.

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.

<projects count="39" href="/app/rest/projects?locator=count:30,start:10" nextHref="/app/rest/projects?locator=count:30,start:40" prevHref="/app/rest/projects?locator=count:10,start:0"> <project>[[[project...|project.html]]]</project> </projects>
{ "count" : 39, "project" : [ "[[[project...|project.html]]]" ], "prevHref" : "/app/rest/projects?locator=count:10,start:0", "href" : "/app/rest/projects?locator=count:30,start:10", "nextHref" : "/app/rest/projects?locator=count:30,start:40" }
Last modified: 02 December 2025