All URIs are relative to https://vs-szp-ds01.otr.ru:8111
Method | HTTP request | Description |
---|---|---|
add | POST /app/rest/projects/{projectLocator}/projectFeatures | |
createBuildType | POST /app/rest/projects/{projectLocator}/buildTypes | |
createBuildTypeTemplate | POST /app/rest/projects/{projectLocator}/templates | |
createProject | POST /app/rest/projects | |
createSecureToken | POST /app/rest/projects/{projectLocator}/secure/tokens | |
delete | DELETE /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} | |
deleteAllParameters | DELETE /app/rest/projects/{projectLocator}/parameters | |
deleteAllParameters_0 | DELETE /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties | |
deleteParameter | DELETE /app/rest/projects/{projectLocator}/parameters/{name} | |
deleteParameter_0 | DELETE /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties/{name} | |
deleteProject | DELETE /app/rest/projects/{projectLocator} | |
deleteProjectAgentPools | DELETE /app/rest/projects/{projectLocator}/agentPools/{agentPoolLocator} | |
get | GET /app/rest/projects/{projectLocator}/projectFeatures | |
getBranches | GET /app/rest/projects/{projectLocator}/branches | |
getBuildTypesOrder | GET /app/rest/projects/{projectLocator}/order/buildTypes | |
getDefaultTemplate | GET /app/rest/projects/{projectLocator}/defaultTemplate | |
getExampleNewProjectDescription | GET /app/rest/projects/{projectLocator}/example/newProjectDescription | |
getExampleNewProjectDescriptionCompatibilityVersion1 | GET /app/rest/projects/{projectLocator}/newProjectDescription | |
getParameter | GET /app/rest/projects/{projectLocator}/parameters/{name} | |
getParameterType | GET /app/rest/projects/{projectLocator}/parameters/{name}/type | |
getParameterTypeRawValue | GET /app/rest/projects/{projectLocator}/parameters/{name}/type/rawValue | |
getParameterValueLong | GET /app/rest/projects/{projectLocator}/parameters/{name}/value | |
getParameterValueLong_0 | GET /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties/{name}/value | |
getParameter_0 | GET /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties/{name} | |
getParameters | GET /app/rest/projects/{projectLocator}/parameters | |
getParameters_0 | GET /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties | |
getParentProject | GET /app/rest/projects/{projectLocator}/parentProject | |
getProjectAgentPools | GET /app/rest/projects/{projectLocator}/agentPools | |
getProjectsOrder | GET /app/rest/projects/{projectLocator}/order/projects | |
getSecureValue | GET /app/rest/projects/{projectLocator}/secure/values/{token} | |
getSettingsFile | GET /app/rest/projects/{projectLocator}/settingsFile | |
getSingle | GET /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} | |
reloadSettingsFile | GET /app/rest/projects/{projectLocator}/latest | |
removeDefaultTemplate | DELETE /app/rest/projects/{projectLocator}/defaultTemplate | |
replace | PUT /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} | |
replaceAll | PUT /app/rest/projects/{projectLocator}/projectFeatures | |
serveBuildFieldWithProject | GET /app/rest/projects/{projectLocator}/buildTypes/{btLocator}/builds/{buildLocator}/{field} | |
serveBuildType | GET /app/rest/projects/{projectLocator}/buildTypes/{btLocator} | |
serveBuildTypeFieldWithProject | GET /app/rest/projects/{projectLocator}/buildTypes/{btLocator}/{field} | |
serveBuildTypeTemplates | GET /app/rest/projects/{projectLocator}/templates/{btLocator} | |
serveBuildTypesInProject | GET /app/rest/projects/{projectLocator}/buildTypes | |
serveBuildWithProject | GET /app/rest/projects/{projectLocator}/buildTypes/{btLocator}/builds/{buildLocator} | |
serveBuilds | GET /app/rest/projects/{projectLocator}/buildTypes/{btLocator}/builds | |
serveProject | GET /app/rest/projects/{projectLocator} | |
serveProjectField | GET /app/rest/projects/{projectLocator}/{field} | |
serveProjects | GET /app/rest/projects | |
serveTemplatesInProject | GET /app/rest/projects/{projectLocator}/templates | |
setBuildTypesOrder | PUT /app/rest/projects/{projectLocator}/order/buildTypes | |
setDefaultTemplate | PUT /app/rest/projects/{projectLocator}/defaultTemplate | |
setParameter | POST /app/rest/projects/{projectLocator}/parameters | |
setParameterType | PUT /app/rest/projects/{projectLocator}/parameters/{name}/type | |
setParameterTypeRawValue | PUT /app/rest/projects/{projectLocator}/parameters/{name}/type/rawValue | |
setParameterValueLong | PUT /app/rest/projects/{projectLocator}/parameters/{name}/value | |
setParameterValueLong_0 | PUT /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties/{name}/value | |
setParameter_0 | PUT /app/rest/projects/{projectLocator}/parameters/{name} | |
setParameter_1 | POST /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties | |
setParameter_2 | PUT /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties/{name} | |
setParameters | PUT /app/rest/projects/{projectLocator}/parameters | |
setParameters_0 | PUT /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator}/properties | |
setParentProject | PUT /app/rest/projects/{projectLocator}/parentProject | |
setProjectAgentPools | PUT /app/rest/projects/{projectLocator}/agentPools | |
setProjectAgentPools_0 | POST /app/rest/projects/{projectLocator}/agentPools | |
setProjectField | PUT /app/rest/projects/{projectLocator}/{field} | |
setProjectsOrder | PUT /app/rest/projects/{projectLocator}/order/projects |
object add($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\ProjectFeature(); // \TeamCityClient\Model\ProjectFeature |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->add($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->add: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\ProjectFeature | [optional] | |
fields | string | [optional] |
object
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\BuildType createBuildType($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\NewBuildTypeDescription(); // \TeamCityClient\Model\NewBuildTypeDescription |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->createBuildType($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->createBuildType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\NewBuildTypeDescription | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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\BuildType createBuildTypeTemplate($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\NewBuildTypeDescription(); // \TeamCityClient\Model\NewBuildTypeDescription |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->createBuildTypeTemplate($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->createBuildTypeTemplate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\NewBuildTypeDescription | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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\Project createProject($body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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\NewProjectDescription(); // \TeamCityClient\Model\NewProjectDescription |
try {
$result = $apiInstance->createProject($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->createProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \TeamCityClient\Model\NewProjectDescription | [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 createSecureToken($project_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = "body_example"; // string |
try {
$result = $apiInstance->createSecureToken($project_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->createSecureToken: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | string | [optional] |
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]
delete($feature_locator, $project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
try {
$apiInstance->delete($feature_locator, $project_locator);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->delete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_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]
deleteAllParameters($project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
try {
$apiInstance->deleteAllParameters($project_locator);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteAllParameters: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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]
deleteAllParameters_0($feature_locator, $project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$apiInstance->deleteAllParameters_0($feature_locator, $project_locator, $fields);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteAllParameters_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
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]
deleteParameter($name, $project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
try {
$apiInstance->deleteParameter($name, $project_locator);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteParameter: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_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]
deleteParameter_0($name, $feature_locator, $project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$apiInstance->deleteParameter_0($name, $feature_locator, $project_locator, $fields);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteParameter_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
feature_locator | string | ||
project_locator | string | ||
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]
deleteProject($project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
try {
$apiInstance->deleteProject($project_locator);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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]
deleteProjectAgentPools($project_locator, $agent_pool_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$agent_pool_locator = "agent_pool_locator_example"; // string |
try {
$apiInstance->deleteProjectAgentPools($project_locator, $agent_pool_locator);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->deleteProjectAgentPools: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
agent_pool_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]
object get($project_locator, $locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->get($project_locator, $locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->get: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
locator | string | [optional] | |
fields | string | [optional] |
object
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\Branches getBranches($project_locator, $locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getBranches($project_locator, $locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getBranches: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Branches
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\BuildTypes getBuildTypesOrder($project_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->getBuildTypesOrder($project_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getBuildTypesOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
field | string |
\TeamCityClient\Model\BuildTypes
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\BuildType getDefaultTemplate($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getDefaultTemplate($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getDefaultTemplate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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\NewProjectDescription getExampleNewProjectDescription($project_locator, $id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$id = "id_example"; // string |
try {
$result = $apiInstance->getExampleNewProjectDescription($project_locator, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getExampleNewProjectDescription: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
id | string | [optional] |
\TeamCityClient\Model\NewProjectDescription
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\NewProjectDescription getExampleNewProjectDescriptionCompatibilityVersion1($project_locator, $id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$id = "id_example"; // string |
try {
$result = $apiInstance->getExampleNewProjectDescriptionCompatibilityVersion1($project_locator, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getExampleNewProjectDescriptionCompatibilityVersion1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
id | string | [optional] |
\TeamCityClient\Model\NewProjectDescription
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\Property getParameter($name, $project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getParameter($name, $project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameter: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\Property
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\Type getParameterType($name, $project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
try {
$result = $apiInstance->getParameterType($name, $project_locator);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameterType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | 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]
string getParameterTypeRawValue($name, $project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
try {
$result = $apiInstance->getParameterTypeRawValue($name, $project_locator);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameterTypeRawValue: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | 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]
string getParameterValueLong($name, $project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
try {
$result = $apiInstance->getParameterValueLong($name, $project_locator);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameterValueLong: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | 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]
string getParameterValueLong_0($name, $feature_locator, $project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getParameterValueLong_0($name, $feature_locator, $project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameterValueLong_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
feature_locator | string | ||
project_locator | string | ||
fields | string | [optional] |
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\Property getParameter_0($name, $feature_locator, $project_locator, $fields, $fields2)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
$fields2 = "fields_example"; // string |
try {
$result = $apiInstance->getParameter_0($name, $feature_locator, $project_locator, $fields, $fields2);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameter_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
feature_locator | string | ||
project_locator | string | ||
fields | string | [optional] | |
fields2 | string | [optional] |
\TeamCityClient\Model\Property
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\Properties getParameters($project_locator, $locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getParameters($project_locator, $locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameters: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Properties
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\Properties getParameters_0($feature_locator, $project_locator, $locator, $fields, $fields2)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
$fields2 = "fields_example"; // string |
try {
$result = $apiInstance->getParameters_0($feature_locator, $project_locator, $locator, $fields, $fields2);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParameters_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
locator | string | [optional] | |
fields | string | [optional] | |
fields2 | string | [optional] |
\TeamCityClient\Model\Properties
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\Project getParentProject($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getParentProject($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getParentProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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\AgentPools getProjectAgentPools($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getProjectAgentPools($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getProjectAgentPools: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\AgentPools
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\Projects getProjectsOrder($project_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->getProjectsOrder($project_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getProjectsOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
field | string |
\TeamCityClient\Model\Projects
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 getSecureValue($project_locator, $token)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$token = "token_example"; // string |
try {
$result = $apiInstance->getSecureValue($project_locator, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getSecureValue: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
token | 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]
string getSettingsFile($project_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
try {
$result = $apiInstance->getSettingsFile($project_locator);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getSettingsFile: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | 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]
object getSingle($feature_locator, $project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->getSingle($feature_locator, $project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->getSingle: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
fields | string | [optional] |
object
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\Project reloadSettingsFile($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->reloadSettingsFile($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->reloadSettingsFile: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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]
removeDefaultTemplate($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$apiInstance->removeDefaultTemplate($project_locator, $fields);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->removeDefaultTemplate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
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]
object replace($feature_locator, $project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\ProjectFeature(); // \TeamCityClient\Model\ProjectFeature |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->replace($feature_locator, $project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->replace: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\ProjectFeature | [optional] | |
fields | string | [optional] |
object
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object replaceAll($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\ProjectFeatures(); // \TeamCityClient\Model\ProjectFeatures |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->replaceAll($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->replaceAll: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\ProjectFeatures | [optional] | |
fields | string | [optional] |
object
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 serveBuildFieldWithProject($project_locator, $bt_locator, $build_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$build_locator = "build_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->serveBuildFieldWithProject($project_locator, $bt_locator, $build_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildFieldWithProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_locator | string | ||
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\BuildType serveBuildType($project_locator, $bt_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveBuildType($project_locator, $bt_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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 serveBuildTypeFieldWithProject($project_locator, $bt_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->serveBuildTypeFieldWithProject($project_locator, $bt_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildTypeFieldWithProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_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\BuildType serveBuildTypeTemplates($project_locator, $bt_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveBuildTypeTemplates($project_locator, $bt_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildTypeTemplates: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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\BuildTypes serveBuildTypesInProject($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveBuildTypesInProject($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildTypesInProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\BuildTypes
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 serveBuildWithProject($project_locator, $bt_locator, $build_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$build_locator = "build_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveBuildWithProject($project_locator, $bt_locator, $build_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuildWithProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_locator | string | ||
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 serveBuilds($project_locator, $bt_locator, $status, $triggered_by_user, $include_personal, $include_canceled, $only_pinned, $tag, $agent_name, $since_build, $since_date, $start, $count, $locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$bt_locator = "bt_locator_example"; // string |
$status = "status_example"; // string |
$triggered_by_user = "triggered_by_user_example"; // string |
$include_personal = true; // bool |
$include_canceled = true; // bool |
$only_pinned = true; // bool |
$tag = array("tag_example"); // string[] |
$agent_name = "agent_name_example"; // string |
$since_build = "since_build_example"; // string |
$since_date = "since_date_example"; // string |
$start = 789; // int |
$count = 56; // int |
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveBuilds($project_locator, $bt_locator, $status, $triggered_by_user, $include_personal, $include_canceled, $only_pinned, $tag, $agent_name, $since_build, $since_date, $start, $count, $locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveBuilds: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
bt_locator | string | ||
status | string | [optional] | |
triggered_by_user | string | [optional] | |
include_personal | bool | [optional] | |
include_canceled | bool | [optional] | |
only_pinned | bool | [optional] | |
tag | string[] | [optional] | |
agent_name | string | [optional] | |
since_build | string | [optional] | |
since_date | string | [optional] | |
start | int | [optional] | |
count | int | [optional] | |
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\Project serveProject($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveProject($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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]
string serveProjectField($project_locator, $field)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
try {
$result = $apiInstance->serveProjectField($project_locator, $field);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveProjectField: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_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\Projects serveProjects($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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->serveProjects($locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveProjects: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Projects
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\BuildTypes serveTemplatesInProject($project_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveTemplatesInProject($project_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->serveTemplatesInProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\BuildTypes
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\BuildTypes setBuildTypesOrder($project_locator, $field, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
$body = new \TeamCityClient\Model\BuildTypes(); // \TeamCityClient\Model\BuildTypes |
try {
$result = $apiInstance->setBuildTypesOrder($project_locator, $field, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setBuildTypesOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
field | string | ||
body | \TeamCityClient\Model\BuildTypes | [optional] |
\TeamCityClient\Model\BuildTypes
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\BuildType setDefaultTemplate($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\BuildType(); // \TeamCityClient\Model\BuildType |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setDefaultTemplate($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setDefaultTemplate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\BuildType | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\BuildType
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\Property setParameter($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Property(); // \TeamCityClient\Model\Property |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setParameter($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameter: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\Property | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Property
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\Type setParameterType($name, $project_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Type(); // \TeamCityClient\Model\Type |
try {
$result = $apiInstance->setParameterType($name, $project_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameterType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\Type | [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 setParameterTypeRawValue($name, $project_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = "body_example"; // string |
try {
$result = $apiInstance->setParameterTypeRawValue($name, $project_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameterTypeRawValue: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | string | ||
body | string | [optional] |
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]
string setParameterValueLong($name, $project_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = "body_example"; // string |
try {
$result = $apiInstance->setParameterValueLong($name, $project_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameterValueLong: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | string | ||
body | string | [optional] |
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]
string setParameterValueLong_0($name, $feature_locator, $project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = "body_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setParameterValueLong_0($name, $feature_locator, $project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameterValueLong_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
feature_locator | string | ||
project_locator | string | ||
body | string | [optional] | |
fields | string | [optional] |
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\Property setParameter_0($name, $project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Property(); // \TeamCityClient\Model\Property |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setParameter_0($name, $project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameter_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\Property | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Property
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\Property setParameter_1($feature_locator, $project_locator, $body, $fields, $fields2)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Property(); // \TeamCityClient\Model\Property |
$fields = "fields_example"; // string |
$fields2 = "fields_example"; // string |
try {
$result = $apiInstance->setParameter_1($feature_locator, $project_locator, $body, $fields, $fields2);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameter_1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\Property | [optional] | |
fields | string | [optional] | |
fields2 | string | [optional] |
\TeamCityClient\Model\Property
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\Property setParameter_2($name, $feature_locator, $project_locator, $body, $fields, $fields2)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$name = "name_example"; // string |
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Property(); // \TeamCityClient\Model\Property |
$fields = "fields_example"; // string |
$fields2 = "fields_example"; // string |
try {
$result = $apiInstance->setParameter_2($name, $feature_locator, $project_locator, $body, $fields, $fields2);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameter_2: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
feature_locator | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\Property | [optional] | |
fields | string | [optional] | |
fields2 | string | [optional] |
\TeamCityClient\Model\Property
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\Properties setParameters($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Properties(); // \TeamCityClient\Model\Properties |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setParameters($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameters: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\Properties | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\Properties
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\Properties setParameters_0($feature_locator, $project_locator, $body, $fields, $fields2)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$feature_locator = "feature_locator_example"; // string |
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Properties(); // \TeamCityClient\Model\Properties |
$fields = "fields_example"; // string |
$fields2 = "fields_example"; // string |
try {
$result = $apiInstance->setParameters_0($feature_locator, $project_locator, $body, $fields, $fields2);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParameters_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feature_locator | string | ||
project_locator | string | ||
body | \TeamCityClient\Model\Properties | [optional] | |
fields | string | [optional] | |
fields2 | string | [optional] |
\TeamCityClient\Model\Properties
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\Project setParentProject($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\Project(); // \TeamCityClient\Model\Project |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setParentProject($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setParentProject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\Project | [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\AgentPools setProjectAgentPools($project_locator, $body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\AgentPools(); // \TeamCityClient\Model\AgentPools |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->setProjectAgentPools($project_locator, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setProjectAgentPools: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\AgentPools | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\AgentPools
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\AgentPool setProjectAgentPools_0($project_locator, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$body = new \TeamCityClient\Model\AgentPool(); // \TeamCityClient\Model\AgentPool |
try {
$result = $apiInstance->setProjectAgentPools_0($project_locator, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setProjectAgentPools_0: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
body | \TeamCityClient\Model\AgentPool | [optional] |
\TeamCityClient\Model\AgentPool
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 setProjectField($project_locator, $field, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
$body = "body_example"; // string |
try {
$result = $apiInstance->setProjectField($project_locator, $field, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setProjectField: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
field | string | ||
body | string | [optional] |
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\Projects setProjectsOrder($project_locator, $field, $body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\ProjectApi(
// 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()
);
$project_locator = "project_locator_example"; // string |
$field = "field_example"; // string |
$body = new \TeamCityClient\Model\Projects(); // \TeamCityClient\Model\Projects |
try {
$result = $apiInstance->setProjectsOrder($project_locator, $field, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProjectApi->setProjectsOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
project_locator | string | ||
field | string | ||
body | \TeamCityClient\Model\Projects | [optional] |
\TeamCityClient\Model\Projects
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]