All URIs are relative to https://vs-szp-ds01.otr.ru:8111
Method | HTTP request | Description |
---|---|---|
addTags | POST /app/rest/buildQueue/{buildLocator}/tags | |
cancelBuild | GET /app/rest/buildQueue/{buildLocator}/example/buildCancelRequest | |
cancelBuild_0 | POST /app/rest/buildQueue/{queuedBuildLocator} | |
deleteBuild | DELETE /app/rest/buildQueue/{queuedBuildLocator} | |
deleteBuildsExperimental | DELETE /app/rest/buildQueue | |
getBuild | GET /app/rest/buildQueue/{queuedBuildLocator} | |
getBuilds | GET /app/rest/buildQueue | |
queueNewBuild | POST /app/rest/buildQueue | |
replaceBuilds | PUT /app/rest/buildQueue | |
replaceTags | PUT /app/rest/buildQueue/{buildLocator}/tags | |
serveBuildFieldByBuildOnly | GET /app/rest/buildQueue/{buildLocator}/{field} | |
serveCompatibleAgents | GET /app/rest/buildQueue/{queuedBuildLocator}/compatibleAgents | |
serveTags | GET /app/rest/buildQueue/{buildLocator}/tags | |
setBuildQueueOrder | PUT /app/rest/buildQueue/order | |
setBuildQueuePosition | GET /app/rest/buildQueue/order/{queuePosition} | |
setBuildQueuePosition_0 | PUT /app/rest/buildQueue/order/{queuePosition} |
addTags($build_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$build_locator = "build_locator_example"; // string |
$body = new \TeamCityClient\Model\Tags(); // \TeamCityClient\Model\Tags |
try {
$apiInstance->addTags($build_locator, $body);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->addTags: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
build_locator | string | ||
body | \TeamCityClient\Model\Tags | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\BuildCancelRequest cancelBuild($build_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$build_locator = "build_locator_example"; // string |
try {
$result = $apiInstance->cancelBuild($build_locator);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->cancelBuild: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
build_locator | string |
\TeamCityClient\Model\BuildCancelRequest
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Build cancelBuild_0($queued_build_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queued_build_locator = "queued_build_locator_example"; // string |
$body = new \TeamCityClient\Model\BuildCancelRequest(); // \TeamCityClient\Model\BuildCancelRequest |
try {
$result = $apiInstance->cancelBuild_0($queued_build_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->cancelBuild_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queued_build_locator | string | ||
body | \TeamCityClient\Model\BuildCancelRequest | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteBuild($queued_build_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queued_build_locator = "queued_build_locator_example"; // string |
try {
$apiInstance->deleteBuild($queued_build_locator);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->deleteBuild: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queued_build_locator | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteBuildsExperimental($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$apiInstance->deleteBuildsExperimental($locator, $fields);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->deleteBuildsExperimental: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Build getBuild($queued_build_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queued_build_locator = "queued_build_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getBuild($queued_build_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->getBuild: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queued_build_locator | string | ||
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Builds getBuilds($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getBuilds($locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->getBuilds: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Build queueNewBuild($body, $move_to_top)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \TeamCityClient\Model\Build(); // \TeamCityClient\Model\Build |
$move_to_top = true; // bool |
try {
$result = $apiInstance->queueNewBuild($body, $move_to_top);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->queueNewBuild: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \TeamCityClient\Model\Build | [optional] | |
move_to_top | bool | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Builds replaceBuilds($body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \TeamCityClient\Model\Builds(); // \TeamCityClient\Model\Builds |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->replaceBuilds($body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->replaceBuilds: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \TeamCityClient\Model\Builds | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Tags replaceTags($build_locator, $locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$build_locator = "build_locator_example"; // string |
$locator = "locator_example"; // string |
$body = new \TeamCityClient\Model\Tags(); // \TeamCityClient\Model\Tags |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->replaceTags($build_locator, $locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->replaceTags: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
build_locator | string | ||
locator | string | [optional] | |
body | \TeamCityClient\Model\Tags | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string serveBuildFieldByBuildOnly($build_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$build_locator = "build_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->serveBuildFieldByBuildOnly($build_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->serveBuildFieldByBuildOnly: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
build_locator | string | ||
field | string |
string
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Agents serveCompatibleAgents($queued_build_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queued_build_locator = "queued_build_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveCompatibleAgents($queued_build_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->serveCompatibleAgents: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queued_build_locator | string | ||
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Tags serveTags($build_locator, $locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$build_locator = "build_locator_example"; // string |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveTags($build_locator, $locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->serveTags: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
build_locator | string | ||
locator | string | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Builds setBuildQueueOrder($body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \TeamCityClient\Model\Builds(); // \TeamCityClient\Model\Builds |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setBuildQueueOrder($body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->setBuildQueueOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \TeamCityClient\Model\Builds | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Build setBuildQueuePosition($queue_position, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queue_position = "queue_position_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setBuildQueuePosition($queue_position, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->setBuildQueuePosition: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queue_position | string | ||
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\Build setBuildQueuePosition_0($queue_position, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\BuildQueueApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$queue_position = "queue_position_example"; // string |
$body = new \TeamCityClient\Model\Build(); // \TeamCityClient\Model\Build |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setBuildQueuePosition_0($queue_position, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildQueueApi->setBuildQueuePosition_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
queue_position | string | ||
body | \TeamCityClient\Model\Build | [optional] | |
fields | string | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]