TeamCity REST API Reference 2025.11 Help

Comment

Represents a dated comment of the specific user.

Properties

Field

Data type

timestamp

string

text

string

user

User

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.

<comment text="string" timestamp="string"> <user email="string" enabled2FA="false" hasPassword="true" href="/app/rest/users/id:11" id="1" lastLogin="20241001T155514+0200" locator="null" name="John Doe" password="foobar" realm="string" username="johndoe"> <properties>[[[properties...|properties.html]]]</properties> <roles>[[[roleAssignments...|roleassignments.html]]]</roles> <groups>[[[groups...|groups.html]]]</groups> <avatars>[[[userAvatars...|useravatars.html]]]</avatars> </user> </comment>
{ "text" : "text", "user" : "[[[user...|user.html]]]", "timestamp" : "timestamp" }
Last modified: 02 December 2025