{ "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=", "host": [ "{{baseUrl}}" ], "path": [ "changes", ":changeLocator" ], "query": [ { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" } ], "variable": [ { "id": "c3c94309-57ca-4a25-92e6-cdf26cc4703e", "key": "changeLocator", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}/changes/:changeLocator?fields=", "host": [ "{{baseUrl}}" ], "path": [ "changes", ":changeLocator" ], "query": [ { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" } ], "variable": [ { "key": "changeLocator" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"version\": \"\",\n \"username\": \"\",\n \"date\": \"\",\n \"href\": \"\",\n \"webUrl\": \"\",\n \"comment\": \"\",\n \"user\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"files\": {\n \"count\": \"\",\n \"file\": [\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\n },\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\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=&fields=&count=100&start=0", "host": [ "{{baseUrl}}" ], "path": [ "changes" ], "query": [ { "description": "TeamCity locator string to filter results", "key": "locator", "value": "" }, { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" }, { "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 " } ], "url": { "raw": "{{baseUrl}}/changes?locator=&fields=&count=100&start=0", "host": [ "{{baseUrl}}" ], "path": [ "changes" ], "query": [ { "description": "TeamCity locator string to filter results", "key": "locator", "value": "" }, { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" }, { "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\": \"\",\n \"change\": [\n {\n \"id\": \"\",\n \"version\": \"\",\n \"username\": \"\",\n \"date\": \"\",\n \"href\": \"\",\n \"webUrl\": \"\",\n \"comment\": \"\",\n \"user\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"files\": {\n \"count\": \"\",\n \"file\": [\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\n },\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\n }\n ]\n }\n },\n {\n \"id\": \"\",\n \"version\": \"\",\n \"username\": \"\",\n \"date\": \"\",\n \"href\": \"\",\n \"webUrl\": \"\",\n \"comment\": \"\",\n \"user\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"files\": {\n \"count\": \"\",\n \"file\": [\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\n },\n {\n \"beforeRevision\": \"\",\n \"afterRevision\": \"\",\n \"changeType\": \"\",\n \"file\": \"\",\n \"relativeFile\": \"\"\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" } ] }