TeamCity REST API Reference 2024.07 Help

Environment

Stores information about operating system installed on the agent machine.

Properties

osType

The OS type.

osName

The full OS name

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.

<environment osName="Mac OS X, version 13.6" osType="macOS"/>
{ "osType" : "macOS", "osName" : "Mac OS X, version 13.6" }
Last modified: 27 August 2024