TeamCity REST API Reference 2023.05 Help

Trigger

Represents a build trigger.

Properties

Field

Data type

id

string

name

string

type

string

disabled

boolean

inherited

boolean

href

string

properties

Properties

buildCustomization

BuildTriggerCustomization

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.

<trigger disabled="true" href="string" id="string" inherited="true" name="string" type="string"> <properties count="123" href="string"> <property>[[[property...|property.html]]]</property> </properties> <buildCustomization enforceCleanCheckout="true" enforceCleanCheckoutForDependencies="true"> <parameters>[[[properties...|properties.html]]]</parameters> </buildCustomization> </trigger>
{ "inherited" : true, "name" : "name", "disabled" : true, "id" : "id", "href" : "href", "type" : "type", "buildCustomization" : { "enforceCleanCheckout" : true, "enforceCleanCheckoutForDependencies" : true, "parameters" : { "property" : [ { "inherited" : true, "name" : "name", "type" : "[[[type...|type.html]]]", "value" : "value" } ], "count" : 2, "href" : "href" } }, "properties" : { "property" : [ { "inherited" : true, "name" : "name", "type" : "[[[type...|type.html]]]", "value" : "value" } ], "count" : 2, "href" : "href" } }
Last modified: 22 May 2023