TeamCity REST API Reference 2023.05 Help

EnabledInfo

Represents the current enablement status of the agent.

Related Help article: Build Agent

Properties

Field

Data type

status

boolean

comment

Comment

statusSwitchTime

string

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.

<enabledInfo status="true" statusSwitchTime="string"> <comment text="string" timestamp="string"> <user>[[[user...|user.html]]]</user> </comment> </enabledInfo>
{ "statusSwitchTime" : "statusSwitchTime", "comment" : { "text" : "text", "user" : "[[[user...|user.html]]]", "timestamp" : "timestamp" }, "status" : true }
Last modified: 25 November 2021