{ "opencollection": "1.0.0", "info": { "name": "JetBrains Hub REST Activities Agents API", "version": "2024.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Agents", "type": "folder" }, "items": [ { "info": { "name": "JetBrains List Agents", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.youtrack.cloud/hub/api/rest/agents", "params": [ { "name": "locator", "value": "", "type": "query" }, { "name": "fields", "value": "", "type": "query" } ] }, "docs": "Returns a list of build agents." }, { "info": { "name": "JetBrains Get Agent", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.youtrack.cloud/hub/api/rest/agents/:agentLocator", "params": [ { "name": "agentLocator", "value": "", "type": "path" } ] }, "docs": "Returns details of a specific build agent." }, { "info": { "name": "JetBrains Enable/Disable Agent", "type": "http" }, "http": { "method": "PUT", "url": "https://{instance}.youtrack.cloud/hub/api/rest/agents/:agentLocator/enabledInfo", "params": [ { "name": "agentLocator", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Enables or disables a build agent." } ] } ], "bundled": true }