...
The TeamCity REST APIs returns HTTP responses in the following formats according the the HTTP "Accept" header:
Format | Response TypeRequested via | HTTP "Accept" header value |
---|---|---|
plain text | single-value responses | text/plain in the HTTP Accept header |
XML | complex value responses | application/xml in the HTTP Accept header |
JSON | complex value responses | application/json in the HTTP Accept header |
Full and Partial Responses
...