{
  "info": {
    "_postman_id": "5a947094-b9de-424a-ad77-f12ece2d3f6e",
    "name": "TeamCity REST Agent Pools Changes API",
    "description": "The TeamCity REST API provides programmatic access to JetBrains TeamCity continuous integration and deployment server. It allows you to manage projects, build configurations, builds, agents, users, VCS roots, changes, tests, and other TeamCity resources.\n\nContact Support:\n Name: JetBrains\n Email: teamcity-support@jetbrains.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:08:48.000Z",
    "updatedAt": "2026-07-28T03:08:48.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5a947094-b9de-424a-ad77-f12ece2d3f6e"
  },
  "item": [
    {
      "name": "changes",
      "item": [
        {
          "name": "{changeLocator}",
          "item": [
            {
              "name": "Get Change",
              "id": "c6137e90-5d18-47de-a618-e90541466216",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/changes/:changeLocator?fields=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "changes",
                    ":changeLocator"
                  ],
                  "query": [
                    {
                      "description": "Fields to include in the response (for partial responses)",
                      "key": "fields",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "id": "c3c94309-57ca-4a25-92e6-cdf26cc4703e",
                      "key": "changeLocator",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Returns details of a specific VCS change."
              },
              "response": [
                {
                  "id": "df8e6ef0-8ea2-49dd-8776-6b758e729cd4",
                  "name": "Successful response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/changes/:changeLocator?fields=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "changes",
                        ":changeLocator"
                      ],
                      "query": [
                        {
                          "description": "Fields to include in the response (for partial responses)",
                          "key": "fields",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "key": "changeLocator"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<long>\",\n  \"version\": \"<string>\",\n  \"username\": \"<string>\",\n  \"date\": \"<string>\",\n  \"href\": \"<string>\",\n  \"webUrl\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"user\": {\n    \"id\": \"<long>\",\n    \"username\": \"<string>\",\n    \"name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"href\": \"<string>\",\n    \"lastLogin\": \"<string>\",\n    \"roles\": {\n      \"role\": [\n        {\n          \"roleId\": \"<string>\",\n          \"scope\": \"<string>\",\n          \"href\": \"<string>\"\n        },\n        {\n          \"roleId\": \"<string>\",\n          \"scope\": \"<string>\",\n          \"href\": \"<string>\"\n        }\n      ]\n    },\n    \"groups\": {\n      \"count\": \"<integer>\",\n      \"group\": [\n        {\n          \"key\": \"<string>\",\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"href\": \"<string>\",\n          \"roles\": {\n            \"role\": [\n              {\n                \"roleId\": \"<string>\",\n                \"scope\": \"<string>\",\n                \"href\": \"<string>\"\n              },\n              {\n                \"roleId\": \"<string>\",\n                \"scope\": \"<string>\",\n                \"href\": \"<string>\"\n              }\n            ]\n          }\n        },\n        {\n          \"key\": \"<string>\",\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"href\": \"<string>\",\n          \"roles\": {\n            \"role\": [\n              {\n                \"roleId\": \"<string>\",\n                \"scope\": \"<string>\",\n                \"href\": \"<string>\"\n              },\n              {\n                \"roleId\": \"<string>\",\n                \"scope\": \"<string>\",\n                \"href\": \"<string>\"\n              }\n            ]\n          }\n        }\n      ]\n    }\n  },\n  \"files\": {\n    \"count\": \"<integer>\",\n    \"file\": [\n      {\n        \"beforeRevision\": \"<string>\",\n        \"afterRevision\": \"<string>\",\n        \"changeType\": \"<string>\",\n        \"file\": \"<string>\",\n        \"relativeFile\": \"<string>\"\n      },\n      {\n        \"beforeRevision\": \"<string>\",\n        \"afterRevision\": \"<string>\",\n        \"changeType\": \"<string>\",\n        \"file\": \"<string>\",\n        \"relativeFile\": \"<string>\"\n      }\n    ]\n  }\n}",
                  "createdAt": "2026-07-28T03:08:48.000Z",
                  "updatedAt": "2026-07-28T03:08:48.000Z",
                  "uid": "35240-df8e6ef0-8ea2-49dd-8776-6b758e729cd4"
                }
              ],
              "createdAt": "2026-07-28T03:08:48.000Z",
              "updatedAt": "2026-07-28T03:08:48.000Z",
              "uid": "35240-c6137e90-5d18-47de-a618-e90541466216"
            }
          ],
          "id": "43b5b420-fc00-4383-a28b-d21dd43208ef",
          "createdAt": "2026-07-28T03:08:48.000Z",
          "updatedAt": "2026-07-28T03:08:48.000Z",
          "uid": "35240-43b5b420-fc00-4383-a28b-d21dd43208ef"
        },
        {
          "name": "Get All Changes",
          "id": "1c79ac2a-9e81-4315-8de2-fead44f114ed",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/changes?locator=<string>&fields=<string>&count=100&start=0",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "changes"
              ],
              "query": [
                {
                  "description": "TeamCity locator string to filter results",
                  "key": "locator",
                  "value": "<string>"
                },
                {
                  "description": "Fields to include in the response (for partial responses)",
                  "key": "fields",
                  "value": "<string>"
                },
                {
                  "description": "Maximum number of items to return",
                  "key": "count",
                  "value": "100"
                },
                {
                  "description": "Index of the first item to return (for pagination)",
                  "key": "start",
                  "value": "0"
                }
              ]
            },
            "description": "Returns a list of VCS changes."
          },
          "response": [
            {
              "id": "9c15d1ec-8acd-4722-b75a-512b0d5579a5",
              "name": "Successful response",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/changes?locator=<string>&fields=<string>&count=100&start=0",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "changes"
                  ],
                  "query": [
                    {
                      "description": "TeamCity locator string to filter results",
                      "key": "locator",
                      "value": "<string>"
                    },
                    {
                      "description": "Fields to include in the response (for partial responses)",
                      "key": "fields",
                      "value": "<string>"
                    },
                    {
                      "description": "Maximum number of items to return",
                      "key": "count",
                      "value": "100"
                    },
                    {
                      "description": "Index of the first item to return (for pagination)",
                      "key": "start",
                      "value": "0"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"count\": \"<integer>\",\n  \"change\": [\n    {\n      \"id\": \"<long>\",\n      \"version\": \"<string>\",\n      \"username\": \"<string>\",\n      \"date\": \"<string>\",\n      \"href\": \"<string>\",\n      \"webUrl\": \"<string>\",\n      \"comment\": \"<string>\",\n      \"user\": {\n        \"id\": \"<long>\",\n        \"username\": \"<string>\",\n        \"name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"href\": \"<string>\",\n        \"lastLogin\": \"<string>\",\n        \"roles\": {\n          \"role\": [\n            {\n              \"roleId\": \"<string>\",\n              \"scope\": \"<string>\",\n              \"href\": \"<string>\"\n            },\n            {\n              \"roleId\": \"<string>\",\n              \"scope\": \"<string>\",\n              \"href\": \"<string>\"\n            }\n          ]\n        },\n        \"groups\": {\n          \"count\": \"<integer>\",\n          \"group\": [\n            {\n              \"key\": \"<string>\",\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"href\": \"<string>\",\n              \"roles\": {\n                \"role\": [\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  },\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  }\n                ]\n              }\n            },\n            {\n              \"key\": \"<string>\",\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"href\": \"<string>\",\n              \"roles\": {\n                \"role\": [\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  },\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  }\n                ]\n              }\n            }\n          ]\n        }\n      },\n      \"files\": {\n        \"count\": \"<integer>\",\n        \"file\": [\n          {\n            \"beforeRevision\": \"<string>\",\n            \"afterRevision\": \"<string>\",\n            \"changeType\": \"<string>\",\n            \"file\": \"<string>\",\n            \"relativeFile\": \"<string>\"\n          },\n          {\n            \"beforeRevision\": \"<string>\",\n            \"afterRevision\": \"<string>\",\n            \"changeType\": \"<string>\",\n            \"file\": \"<string>\",\n            \"relativeFile\": \"<string>\"\n          }\n        ]\n      }\n    },\n    {\n      \"id\": \"<long>\",\n      \"version\": \"<string>\",\n      \"username\": \"<string>\",\n      \"date\": \"<string>\",\n      \"href\": \"<string>\",\n      \"webUrl\": \"<string>\",\n      \"comment\": \"<string>\",\n      \"user\": {\n        \"id\": \"<long>\",\n        \"username\": \"<string>\",\n        \"name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"href\": \"<string>\",\n        \"lastLogin\": \"<string>\",\n        \"roles\": {\n          \"role\": [\n            {\n              \"roleId\": \"<string>\",\n              \"scope\": \"<string>\",\n              \"href\": \"<string>\"\n            },\n            {\n              \"roleId\": \"<string>\",\n              \"scope\": \"<string>\",\n              \"href\": \"<string>\"\n            }\n          ]\n        },\n        \"groups\": {\n          \"count\": \"<integer>\",\n          \"group\": [\n            {\n              \"key\": \"<string>\",\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"href\": \"<string>\",\n              \"roles\": {\n                \"role\": [\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  },\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  }\n                ]\n              }\n            },\n            {\n              \"key\": \"<string>\",\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"href\": \"<string>\",\n              \"roles\": {\n                \"role\": [\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  },\n                  {\n                    \"roleId\": \"<string>\",\n                    \"scope\": \"<string>\",\n                    \"href\": \"<string>\"\n                  }\n                ]\n              }\n            }\n          ]\n        }\n      },\n      \"files\": {\n        \"count\": \"<integer>\",\n        \"file\": [\n          {\n            \"beforeRevision\": \"<string>\",\n            \"afterRevision\": \"<string>\",\n            \"changeType\": \"<string>\",\n            \"file\": \"<string>\",\n            \"relativeFile\": \"<string>\"\n          },\n          {\n            \"beforeRevision\": \"<string>\",\n            \"afterRevision\": \"<string>\",\n            \"changeType\": \"<string>\",\n            \"file\": \"<string>\",\n            \"relativeFile\": \"<string>\"\n          }\n        ]\n      }\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:08:48.000Z",
              "updatedAt": "2026-07-28T03:08:48.000Z",
              "uid": "35240-9c15d1ec-8acd-4722-b75a-512b0d5579a5"
            }
          ],
          "createdAt": "2026-07-28T03:08:48.000Z",
          "updatedAt": "2026-07-28T03:08:48.000Z",
          "uid": "35240-1c79ac2a-9e81-4315-8de2-fead44f114ed"
        }
      ],
      "id": "bff1ae9a-b5bb-43d9-8aac-6815d54f5a0f",
      "createdAt": "2026-07-28T03:08:48.000Z",
      "updatedAt": "2026-07-28T03:08:48.000Z",
      "uid": "35240-bff1ae9a-b5bb-43d9-8aac-6815d54f5a0f"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "server",
      "value": "teamcity.example.com"
    },
    {
      "key": "baseUrl",
      "value": "https://{{server}}/app/rest"
    }
  ]
}