TeamCity REST API Reference 2023.05 Help

NodeApi

getAllNodes

Get all TeamCity nodes.

Endpoint

/app/rest/server/nodes

Produces

  • application/xml

  • application/json

Parameters

Response

Nodes

getNode

Get a node matching the locator.

Endpoint

/app/rest/server/nodes/{nodeLocator}

Produces

  • application/xml

  • application/json

Parameters

Response

Node

getDisabledResponsibilities

Get all disabled responsibilities for a node matching the locator.

Endpoint

/app/rest/server/nodes/{nodeLocator}/disabledResponsibilities

Produces

  • application/xml

  • application/json

Parameters

Response

DisabledResponsibilities

getEffectiveResponsibilities

Get all effective responsibilities for a node matching the locator.

Endpoint

/app/rest/server/nodes/{nodeLocator}/effectiveResponsibilities

Produces

  • application/xml

  • application/json

Parameters

Response

EffectiveResponsibilities

getEnabledResponsibilities

Get all enabled responsibilities for a node matching the locator.

Endpoint

/app/rest/server/nodes/{nodeLocator}/enabledResponsibilities

Produces

  • application/xml

  • application/json

Parameters

Response

EnabledResponsibilities

changeNodeResponsibility

Enables or disables responsibility for a node.

Endpoint

/app/rest/server/nodes/{nodeLocator}/enabledResponsibilities/{name}

Consumes

  • text/plain

Produces

  • application/xml

  • application/json

Parameters

Response

EnabledResponsibilities

Last modified: 22 May 2023