All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
environmentBuildRestAddprojectPost() | POST /environment/build/rest/addproject | |
environmentBuildRestAddprojectwithcredsPost() | POST /environment/build/rest/addprojectwithcreds | |
environmentBuildRestAddprojectwithkeyPost() | POST /environment/build/rest/addprojectwithkey | |
environmentBuildRestBuilddeployprojectPost() | POST /environment/build/rest/builddeployproject | |
environmentBuildRestBuildprojectPost() | POST /environment/build/rest/buildproject | |
environmentBuildRestDeployprojectPost() | POST /environment/build/rest/deployproject | |
environmentBuildRestEditprojectPost() | POST /environment/build/rest/editproject | |
environmentBuildRestGetprojectinfoPost() | POST /environment/build/rest/getprojectinfo | |
environmentBuildRestGetprojectsPost() | POST /environment/build/rest/getprojects | |
environmentBuildRestRemoveprojectPost() | POST /environment/build/rest/removeproject | |
environmentBuildRestUpdatePost() | POST /environment/build/rest/update |
environmentBuildRestAddprojectPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $targetNodeGroup, $deployNow, $keyId, $login, $branch, $isSequential, $password, $delay, $context, $repoHash, $interval, $workDir, $hooks, $targetEnv): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
Adds the project from VCS to the environment.
Currently only username/password authentication is supported.
In case your environment contains more than one application server node, you need to call this method for each of them.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$autoUpdate = True; // bool
$type = 'type_example'; // string
$path = 'path_example'; // string
$autoResolveConflict = True; // bool
$envName = 'envName_example'; // string
$name = 'name_example'; // string
$nodeId = 56; // int
$targetNodeGroup = 'targetNodeGroup_example'; // string
$deployNow = True; // bool
$keyId = 56; // int
$login = 'login_example'; // string
$branch = 'branch_example'; // string
$isSequential = True; // bool
$password = 'password_example'; // string
$delay = 56; // int
$context = 'context_example'; // string
$repoHash = 'repoHash_example'; // string
$interval = 'interval_example'; // string
$workDir = 'workDir_example'; // string
$hooks = 'hooks_example'; // string
$targetEnv = 'targetEnv_example'; // string
try {
$result = $apiInstance->environmentBuildRestAddprojectPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $targetNodeGroup, $deployNow, $keyId, $login, $branch, $isSequential, $password, $delay, $context, $repoHash, $interval, $workDir, $hooks, $targetEnv);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestAddprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
autoUpdate | bool | ||
type | string | ||
path | string | ||
autoResolveConflict | bool | ||
envName | string | ||
name | string | ||
nodeId | int | ||
targetNodeGroup | string | [optional] | |
deployNow | bool | [optional] | |
keyId | int | [optional] | |
login | string | [optional] | |
branch | string | [optional] | |
isSequential | bool | [optional] | |
password | string | [optional] | |
delay | int | [optional] | |
context | string | [optional] | |
repoHash | string | [optional] | |
interval | string | [optional] | |
workDir | string | [optional] | |
hooks | string | [optional] | |
targetEnv | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestAddprojectwithcredsPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $deployNow, $login, $branch, $password, $delay, $context, $interval, $workDir, $hooks, $targetEnv): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
Adds the project from VCS to the environment.
Authentication via login and password is used.
In case your environment contains more than one application server node, you need to call this method for each of them.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$autoUpdate = True; // bool
$type = 'type_example'; // string
$path = 'path_example'; // string
$autoResolveConflict = True; // bool
$envName = 'envName_example'; // string
$name = 'name_example'; // string
$nodeId = 56; // int
$deployNow = True; // bool
$login = 'login_example'; // string
$branch = 'branch_example'; // string
$password = 'password_example'; // string
$delay = 56; // int
$context = 'context_example'; // string
$interval = 'interval_example'; // string
$workDir = 'workDir_example'; // string
$hooks = 'hooks_example'; // string
$targetEnv = 'targetEnv_example'; // string
try {
$result = $apiInstance->environmentBuildRestAddprojectwithcredsPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $deployNow, $login, $branch, $password, $delay, $context, $interval, $workDir, $hooks, $targetEnv);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestAddprojectwithcredsPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
autoUpdate | bool | ||
type | string | ||
path | string | ||
autoResolveConflict | bool | ||
envName | string | ||
name | string | ||
nodeId | int | ||
deployNow | bool | [optional] | |
login | string | [optional] | |
branch | string | [optional] | |
password | string | [optional] | |
delay | int | [optional] | |
context | string | [optional] | |
interval | string | [optional] | |
workDir | string | [optional] | |
hooks | string | [optional] | |
targetEnv | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestAddprojectwithkeyPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $deployNow, $keyId, $branch, $delay, $context, $interval, $workDir, $hooks, $targetEnv): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
Adds the project from VCS to the environment.
Authentication via ssh key is used.
In case your environment contains more than one application server node, you need to call this method for each of them.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$autoUpdate = True; // bool
$type = 'type_example'; // string
$path = 'path_example'; // string
$autoResolveConflict = True; // bool
$envName = 'envName_example'; // string
$name = 'name_example'; // string
$nodeId = 56; // int
$deployNow = True; // bool
$keyId = 56; // int
$branch = 'branch_example'; // string
$delay = 56; // int
$context = 'context_example'; // string
$interval = 'interval_example'; // string
$workDir = 'workDir_example'; // string
$hooks = 'hooks_example'; // string
$targetEnv = 'targetEnv_example'; // string
try {
$result = $apiInstance->environmentBuildRestAddprojectwithkeyPost($autoUpdate, $type, $path, $autoResolveConflict, $envName, $name, $nodeId, $deployNow, $keyId, $branch, $delay, $context, $interval, $workDir, $hooks, $targetEnv);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestAddprojectwithkeyPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
autoUpdate | bool | ||
type | string | ||
path | string | ||
autoResolveConflict | bool | ||
envName | string | ||
name | string | ||
nodeId | int | ||
deployNow | bool | [optional] | |
keyId | int | [optional] | |
branch | string | [optional] | |
delay | int | [optional] | |
context | string | [optional] | |
interval | string | [optional] | |
workDir | string | [optional] | |
hooks | string | [optional] | |
targetEnv | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestBuilddeployprojectPost($envName, $nodeid, $projectid, $delay, $update, $isSequential): \OpenAPI\Client\Model\ComHivextApiResponse
Builds the project from VCS and deploys it to the needed environment.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeid = 56; // int
$projectid = 56; // int
$delay = 56; // int
$update = True; // bool
$isSequential = True; // bool
try {
$result = $apiInstance->environmentBuildRestBuilddeployprojectPost($envName, $nodeid, $projectid, $delay, $update, $isSequential);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestBuilddeployprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeid | int | ||
projectid | int | ||
delay | int | [optional] | |
update | bool | [optional] | |
isSequential | bool | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestBuildprojectPost($envName, $nodeid, $projectid, $async, $skipPublish, $update): \OpenAPI\Client\Model\ComHivextApiResponse
Builds the project and adds it to the list of packages in the platform Deployment Manager.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeid = 56; // int
$projectid = 56; // int
$async = True; // bool
$skipPublish = True; // bool
$update = True; // bool
try {
$result = $apiInstance->environmentBuildRestBuildprojectPost($envName, $nodeid, $projectid, $async, $skipPublish, $update);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestBuildprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeid | int | ||
projectid | int | ||
async | bool | [optional] | |
skipPublish | bool | [optional] | |
update | bool | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestDeployprojectPost($envName, $nodeid, $projectid, $delay, $isSequential): \OpenAPI\Client\Model\ComHivextApiResponse
Builds the project from VCS and deploys it to the needed environment.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeid = 56; // int
$projectid = 56; // int
$delay = 56; // int
$isSequential = True; // bool
try {
$result = $apiInstance->environmentBuildRestDeployprojectPost($envName, $nodeid, $projectid, $delay, $isSequential);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestDeployprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeid | int | ||
projectid | int | ||
delay | int | [optional] | |
isSequential | bool | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestEditprojectPost($type, $path, $envName, $name, $nodeid, $projectid, $targetNodeGroup, $keyId, $login, $env, $branch, $autoupdate, $password, $delay, $autoResolveConflict, $context, $repoHash, $interval, $workDir, $hooks): \OpenAPI\Client\Model\ComHivextApiResponse
Applies required changes to the project from VCS.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$type = 'type_example'; // string
$path = 'path_example'; // string
$envName = 'envName_example'; // string
$name = 'name_example'; // string
$nodeid = 56; // int
$projectid = 56; // int
$targetNodeGroup = 'targetNodeGroup_example'; // string
$keyId = 56; // int
$login = 'login_example'; // string
$env = 'env_example'; // string
$branch = 'branch_example'; // string
$autoupdate = True; // bool
$password = 'password_example'; // string
$delay = 56; // int
$autoResolveConflict = True; // bool
$context = 'context_example'; // string
$repoHash = 'repoHash_example'; // string
$interval = 'interval_example'; // string
$workDir = 'workDir_example'; // string
$hooks = 'hooks_example'; // string
try {
$result = $apiInstance->environmentBuildRestEditprojectPost($type, $path, $envName, $name, $nodeid, $projectid, $targetNodeGroup, $keyId, $login, $env, $branch, $autoupdate, $password, $delay, $autoResolveConflict, $context, $repoHash, $interval, $workDir, $hooks);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestEditprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
type | string | ||
path | string | ||
envName | string | ||
name | string | ||
nodeid | int | ||
projectid | int | ||
targetNodeGroup | string | [optional] | |
keyId | int | [optional] | |
login | string | [optional] | |
env | string | [optional] | |
branch | string | [optional] | |
autoupdate | bool | [optional] | |
password | string | [optional] | |
delay | int | [optional] | |
autoResolveConflict | bool | [optional] | |
context | string | [optional] | |
repoHash | string | [optional] | |
interval | string | [optional] | |
workDir | string | [optional] | |
hooks | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestGetprojectinfoPost($envName, $nodeid, $projectName, $projectid): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
Gets information about build configuration of the VCS project.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeid = 56; // int
$projectName = 'projectName_example'; // string
$projectid = 56; // int
try {
$result = $apiInstance->environmentBuildRestGetprojectinfoPost($envName, $nodeid, $projectName, $projectid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestGetprojectinfoPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeid | int | ||
projectName | string | [optional] | |
projectid | int | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestGetprojectsPost($envName, $nodeGroup, $nodeId): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponses
Gets information build projects.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeGroup = 'nodeGroup_example'; // string
$nodeId = 56; // int
try {
$result = $apiInstance->environmentBuildRestGetprojectsPost($envName, $nodeGroup, $nodeId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestGetprojectsPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeGroup | string | [optional] | |
nodeId | int | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseBuildProjectResponses
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestRemoveprojectPost($envName, $nodeid, $projectid): \OpenAPI\Client\Model\ComHivextApiResponse
Deletes the project that is configured to be deployed from VCS.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeid = 56; // int
$projectid = 56; // int
try {
$result = $apiInstance->environmentBuildRestRemoveprojectPost($envName, $nodeid, $projectid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestRemoveprojectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeid | int | ||
projectid | int |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentBuildRestUpdatePost($envName, $nodeId, $context, $projectId): \OpenAPI\Client\Model\ComHivextApiResponse
Update build projects from repository
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BuildServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeId = 56; // int
$context = 'context_example'; // string
$projectId = 56; // int
try {
$result = $apiInstance->environmentBuildRestUpdatePost($envName, $nodeId, $context, $projectId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BuildServiceApi->environmentBuildRestUpdatePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeId | int | ||
context | string | [optional] | |
projectId | int | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]