You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the [listing] to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The TeamCity REST APIs returns HTTP responses in the following formats according the the HTTP "Accept" header:


Response TypeRequested via

HTTP "Accept" header value

plain text

single-value responses

text/plain in the HTTP Accept header


complex value responses

application/xml in the HTTP Accept header


complex value responses

application/json in the HTTP Accept header

Full and Partial Responses