{"id":5891,"date":"2024-04-18T14:31:19","date_gmt":"2024-04-18T14:31:19","guid":{"rendered":"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/environment\/environment-build\/"},"modified":"2024-05-28T08:44:46","modified_gmt":"2024-05-28T08:44:46","slug":"environment-build","status":"publish","type":"docs","link":"https:\/\/accuweb.cloud\/api\/docs\/latest\/environment\/environment-build\/","title":{"rendered":"environment.Build"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5891\" class=\"elementor elementor-5891\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-07a5318 e-flex e-con-boxed e-con e-parent\" data-id=\"07a5318\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c68790f elementor-widget elementor-widget-text-editor\" data-id=\"c68790f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<table class=\"not-bold\">\n<tbody>\n<tr>\n<td><b>Namespace:<\/b><\/td>\n<td>Environment<\/td>\n<\/tr>\n<tr>\n<td><b>REST:<\/b><\/td>\n<td>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/{method-name}<\/td>\n<\/tr>\n<tr>\n<td><b>Scripting:<\/b><\/td>\n<td>environment.build.{method-name}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nThis service provides methods to manage Java project deployment from the version control system (VCS) repositories. The process requires a dedicated Maven build automation node that will build and deploy Java projects. With Maven, you can add any public or private project directly from your VCS repository (Git or SVN) using the appropriate link type: http, https, git (or svn). After the addition, Java projects can be deployed to the appropriate application servers.\n\nYou can learn more about\u00a0Java VCS Deployment with Maven\u00a0in the linked document.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a510f5a elementor-widget elementor-widget-heading\" data-id=\"a510f5a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Methods<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3a0e574 e-flex e-con-boxed e-con e-parent\" data-id=\"3a0e574\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e6e0e96 elementor-widget elementor-widget-accordion\" data-id=\"e6e0e96\" data-element_type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-accordion{text-align:start}.elementor-accordion .elementor-accordion-item{border:1px solid #d5d8dc}.elementor-accordion .elementor-accordion-item+.elementor-accordion-item{border-top:none}.elementor-accordion .elementor-tab-title{margin:0;padding:15px 20px;font-weight:700;line-height:1;cursor:pointer;outline:none}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{display:inline-block;width:1.5em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon svg{width:1em;height:1em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right{float:right;text-align:right}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left{float:left;text-align:left}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-closed{display:block}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened,.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-closed{display:none}.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-opened{display:block}.elementor-accordion .elementor-tab-content{display:none;padding:15px 20px;border-top:1px solid #d5d8dc}@media (max-width:767px){.elementor-accordion .elementor-tab-title{padding:12px 15px}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{width:1.2em}.elementor-accordion .elementor-tab-content{padding:7px 15px}}.e-con-inner>.elementor-widget-accordion,.e-con>.elementor-widget-accordion{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2421\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-2421\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">AddProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2421\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-2421\"><h3>AddProject (envName, session, nodeId, name, type, path, [keyId], [login], [password], [targetEnv], [context], [branch], autoUpdate, [interval], autoResolveConflict, [delay], [deployNow], [hooks], [workDir], [targetNodeGroup], [isSequential] ) :<\/h3>\n<p>Adds the project from VCS to the environment.<br>\nCurrently only username\/password authentication is supported.<br>\nIn case your environment contains more than one application server node, you need to call this method for each of them.<\/p>\n<p>(use the&nbsp;AddProjectWithCreds&nbsp;or&nbsp;AddProjectWithKey&nbsp;methods instead).<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addproject<\/p>\n<h4 class=\"pa\"><i>Deprecated<\/i><\/h4>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeId<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>name<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>type<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>path<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>keyId<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>login<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>password<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>targetEnv<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>context<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>branch<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoUpdate<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>interval<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoResolveConflict<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>deployNow<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>hooks<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>workDir<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>targetNodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<li><span class=\"pre\"><b>isSequential<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\"><\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<div class=\"example\">\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>POST https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addproject?<\/p>\n<p>targetNodeGroup=[string]&amp;autoUpdate=[boolean]&amp;deployNow=[boolean]&amp;session=[string]&amp;keyId=[int]&amp;type=[string]&amp;login=[string]&amp;branch=[string]&amp;isSequential=[boolean]&amp;path=[string]&amp;password=[string]&amp;delay=[int]&amp;autoResolveConflict=[boolean]&amp;envName=[string]&amp;name=[string]&amp;context=[string]&amp;interval=[string]&amp;workDir=[string]&amp;nodeId=[int]&amp;hooks=[string]&amp;targetEnv=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">BuildProjectResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1567\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"autoResolveConflict\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"autoupdate\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"branch\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"context\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"env\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hooks\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"id\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"interval\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"login\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"path\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"repoHash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"targetNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"type\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"workDir\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li><\/ul><\/div><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2422\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-2422\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">AddProjectWithCreds<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2422\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-2422\"><h3>AddProjectWithCreds (envName, session, nodeId, name, type, path, [targetEnv], autoUpdate, autoResolveConflict, [login], [password], [context], [branch], [interval], [delay], [deployNow], [hooks], [workDir] ) : BuildProjectRespons<\/h3>\n<p>Adds Java project from the VCS repository to the environment with build node (Maven) using the login\/password authentication method.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addprojectwithcreds<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1164\">user session<\/a> or <a class=\"wpil_keyword_link\" href=\"https:\/\/accuweb.cloud\/api\/docs\/latest\/others\/personal-access-tokens\/\"   title=\"personal access token\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1529\">personal access token<\/a>.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeId<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>name<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>project name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>type<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>VCS repository type (&#8220;GIT&#8221; or &#8220;SVN&#8221;).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>path<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>URL to the repository (including protocol).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>targetEnv<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>target environment name (with a Java application server).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoUpdate<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\">\n<p>defines whether to enable (true) or disable (false) automatic project updates (only upon code changes in the remote repository); auto-update frequency is set with the interval parameter.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoResolveConflict<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\">\n<p>defines whether to automatically resolve (true) or not (false) merge conflicts (by updating the contradictory files to the repository version, i.e. locally made changes are discarded).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>login<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>login for authentication in VCS.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>password<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>password or token for authentication in VCS.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>context<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>custom context name for the deployed project (ROOT by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>branch<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>remote repository branch (master by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>interval<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>delay (in minutes) for automatic project updates.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>delay (in seconds) between two consecutive deployments when using the sequential deployment type (I.e. when deployment is performed on servers one-by-one to ensure uptime).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>deployNow<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>defines whether to just create (false) or create and immediately deploy (true) the project.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>hooks<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>JSON object with custom scripts (actual content) to be executed before and after the build\/deployment operations. For example: {&#8220;preDeploy&#8221;:&#8221;script&#8221;, &#8220;postDeploy&#8221;:&#8221;script&#8221;, &#8220;preBuild&#8221;:&#8221;script&#8221;, &#8220;postBuild&#8221;:&#8221;script&#8221;}.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>workDir<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>relative path to the repository subdirectory with application source code.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<div class=\"example\">\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>POST https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addprojectwithcreds?<\/p>\n<p>autoUpdate=[boolean]&amp;deployNow=[boolean]&amp;session=[string]&amp;type=[string]&amp;login=[string]&amp;branch=[string]&amp;path=[string]&amp;password=[string]&amp;delay=[int]&amp;autoResolveConflict=[boolean]&amp;envName=[string]&amp;name=[string]&amp;context=[string]&amp;interval=[string]&amp;workDir=[string]&amp;nodeId=[int]&amp;hooks=[string]&amp;targetEnv=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">BuildProjectResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1568\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"autoResolveConflict\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"autoupdate\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"branch\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"context\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"env\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hooks\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"id\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"interval\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"login\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"path\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"repoHash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"targetNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"type\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"workDir\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li><\/ul><\/div><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2423\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-2423\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">AddProjectWithKey<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2423\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-2423\"><h3>AddProjectWithKey (envName, session, nodeId, name, type, path, [targetEnv], autoUpdate, autoResolveConflict, [keyId], [context], [branch], [interval], [delay], [deployNow], [hooks], [workDir] ) :<\/h3>\n<p>Adds Java project from the VCS repository to the environment with build node (Maven) using the SSH key authentication method.<\/p>\n<h4 id=\"url\">URL<\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addprojectwithkey<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1165\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeId<\/b><\/span>&nbsp;: &#8220;int&#8221;<br><div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>name<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>project name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>type<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>VCS repository type (&#8220;GIT&#8221; or &#8220;SVN&#8221;).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>path<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>URL to the repository (including protocol).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>targetEnv<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>target environment name (with a Java application server).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoUpdate<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br><div class=\"sub-desc\">\n<p>Defines whether to enable (true) or disable (false) automatic project updates (only upon code changes in the remote repository); auto-update frequency is set with the interval parameter.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoResolveConflict<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br><div class=\"sub-desc\">\n<p>defines whether to automatically resolve (true) or not (false) merge conflicts (by updating the contradictory files to the repository version, i.e. locally made changes are discarded).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>keyId<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br><div class=\"sub-desc\">\n<p>unique identifier of a private SSH key on the account. It can be found in the dashboard (account Settings &gt; SSH Keys &gt; Private Keys) or fetched with the Management &gt; Account &gt; GetSSHKeys method.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>context<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>custom context name for the deployed project (ROOT by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>branch<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>remote repository branch (master by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>interval<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>delay (in minutes) for automatic project updates.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br><div class=\"sub-desc\">\n<p>delay (in seconds) between two consecutive deployments when using the sequential deployment type (I.e. when deployment is performed on servers one-by-one to ensure uptime).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>deployNow<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br><div class=\"sub-desc\">\n<p>defines whether to just create (false) or create and immediately deploy (true) the project.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>hooks<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>JSON object with custom scripts (actual content) to be executed before and after the build\/deployment operations. For example: {&#8220;preDeploy&#8221;:&#8221;script&#8221;, &#8220;postDeploy&#8221;:&#8221;script&#8221;, &#8220;preBuild&#8221;:&#8221;script&#8221;, &#8220;postBuild&#8221;:&#8221;script&#8221;}.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>workDir<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>relative path to the repository subdirectory with application source code.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/addprojectwithkey?autoUpdate=[boolean]&amp;deployNow=[boolean]&amp;session=[string]&amp;keyId=[int]&amp;type=[string]&amp;branch=[string]&amp;path=[string]&amp;delay=[int]&amp;autoResolveConflict=[boolean]&amp;envName=[string]&amp;name=[string]&amp;context=[string]&amp;interval=[string]&amp;workDir=[string]&amp;nodeId=[int]&amp;hooks=[string]&amp;targetEnv=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">BuildProjectResponse<\/span><br><div class=\"sub-desc\">\n<pre id=\"ext-gen1569\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"autoResolveConflict\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"autoupdate\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"branch\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"context\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"env\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hooks\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"id\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"interval\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"login\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"path\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"repoHash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"targetNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"type\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"workDir\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2424\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-2424\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">BuildDeployProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2424\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-2424\"><h3>BuildDeployProject (envName, session, nodeid, projectid, [delay], [update], [isSequential] ) :<\/h3>\n<p>Builds Java project added from the VCS repository and deploys it to the target environment.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/builddeployproject<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1166\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the added project that should be built and deployed.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>delay (in seconds) between two consecutive deployments when using the sequential deployment type (I.e. when deployment is performed on servers one-by-one to ensure uptime).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>update<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>defines whether to update (true) or not (false) the project before deployment.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>isSequential<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>defines whether to deploy project on application servers one-by-one to ensure uptime (true) or simultaneously (false).<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/builddeployproject?delay=[int]&amp;envName=[string]&amp;session=[string]&amp;update=[boolean]&amp;nodeid=[int]&amp;projectid=[int]&amp;isSequential=[boolean]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1570\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2425\" class=\"elementor-tab-title\" data-tab=\"5\" role=\"button\" aria-controls=\"elementor-tab-content-2425\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">BuildProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2425\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"5\" role=\"region\" aria-labelledby=\"elementor-tab-title-2425\"><h3>BuildProject (envName, session, nodeid, projectid, [update], [skipPublish], [async] ) :<\/h3>\n<p>Builds Java project from the VCS repository and adds it to the list of archives in the platform Deployment Manager.<\/p>\n<h4 id=\"url\">URL<\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/buildproject<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1167\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br><div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br><div class=\"sub-desc\">\n<p>unique identifier of the added project that should be built.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>update<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br><div class=\"sub-desc\">\n<p>defines whether to update (true) or not (false) the project before building.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>skipPublish<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br><div class=\"sub-desc\">\n<p>defines whether to add built project to the Deployment Manager (false) or not (true).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>async<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br><div class=\"sub-desc\">\n<p>defines whether to build projects asynchronously (true) or not (false).<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/buildproject?async=[boolean]&amp;skipPublish=[boolean]&amp;envName=[string]&amp;session=[string]&amp;update=[boolean]&amp;nodeid=[int]&amp;projectid=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br><div class=\"sub-desc\">\n<pre id=\"ext-gen1571\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2426\" class=\"elementor-tab-title\" data-tab=\"6\" role=\"button\" aria-controls=\"elementor-tab-content-2426\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">DeployProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2426\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"6\" role=\"region\" aria-labelledby=\"elementor-tab-title-2426\"><h3>DeployProject (envName, session, nodeid, projectid, [delay], [isSequential] ) :<\/h3>\n<p>Deploys Java project to the target environment.<\/p>\n<h4 id=\"url\">URL<\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/deployproject<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1168\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br><div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br><div class=\"sub-desc\">\n<p>unique identifier of the built project that should be deployed.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br><div class=\"sub-desc\">\n<p>delay (in seconds) between two consecutive deployments when using the sequential deployment type (I.e. when deployment is performed on servers one-by-one to ensure uptime).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>isSequential<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br><div class=\"sub-desc\">\n<p>defines whether to use sequential (true) or simultaneous (false) deployment type; the former can ensure uptime, and the latter is faster.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/deployproject?delay=[int]&amp;envName=[string]&amp;session=[string]&amp;nodeid=[int]&amp;projectid=[int]&amp;isSequential=[boolean]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br><div class=\"sub-desc\">\n<pre id=\"ext-gen1572\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2427\" class=\"elementor-tab-title\" data-tab=\"7\" role=\"button\" aria-controls=\"elementor-tab-content-2427\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">EditProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2427\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"7\" role=\"region\" aria-labelledby=\"elementor-tab-title-2427\"><h3>EditProject (envName, session, nodeid, projectid, name, type, path, [keyId], [login], [password], [env], [context], [branch], [autoupdate], [interval], [autoResolveConflict], [delay], [hooks], [workDir], [targetNodeGroup] ) :<\/h3>\n<p>Applies required changes to the existing Java project from VCS.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/editproject<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1169\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the project.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>name<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>project name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>type<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>VCS repository type (\u201cGIT\u201d or \u201cSVN\u201d).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>path<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>URL to the repository (including protocol).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>keyId<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of a private SSH key on the account. It can be found in the dashboard (account Settings &gt; SSH Keys &gt; Private Keys) or fetched with the Management &gt; Account &gt; GetSSHKeys method.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>login<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>login for authentication in VCS.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>password<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>password or token for authentication in VCS.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>env<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>target environment name (with a Java application server).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>context<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>custom context name for the deployed project (ROOT by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>branch<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>remote repository branch (master by default).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoupdate<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>defines whether to enable (true) or disable (false) automatic project updates (only upon code changes in the remote repository); auto-update frequency is set with the interval parameter.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>interval<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>delay (in minutes) for automatic project updates.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>autoResolveConflict<\/b><\/span>&nbsp;: &#8220;boolean&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>defines whether to automatically resolve (true) or not (false) merge conflicts (by updating the contradictory files to the repository version, i.e. locally made changes are discarded).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>delay<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>delay (in seconds) between two consecutive deployments when using the sequential deployment type (I.e. when deployment is performed on servers one-by-one to ensure uptime).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>hooks<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>JSON object with custom scripts (actual content) to be executed before and after the build\/deployment operations. For example: {&#8220;preDeploy&#8221;:&#8221;script&#8221;, &#8220;postDeploy&#8221;:&#8221;script&#8221;, &#8220;preBuild&#8221;:&#8221;script&#8221;, &#8220;postBuild&#8221;:&#8221;script&#8221;}.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>workDir<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>relative path to the repository subdirectory with application source code.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>targetNodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>target node group (layer) with Java application servers.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<div class=\"example\">\nPOST https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/editproject?<p><\/p>\n<p>targetNodeGroup=[string]&amp;session=[string]&amp;keyId=[int]&amp;type=[string]&amp;login=[string]&amp;env=[string]&amp;branch=[string]&amp;autoupdate=[boolean]&amp;path=[string]&amp;password=[string]&amp;delay=[int]&amp;autoResolveConflict=[boolean]&amp;envName=[string]&amp;name=[string]&amp;context=[string]&amp;interval=[string]&amp;workDir=[string]&amp;nodeid=[int]&amp;projectid=[int]&amp;hooks=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1573\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li><\/ul><\/div><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2428\" class=\"elementor-tab-title\" data-tab=\"8\" role=\"button\" aria-controls=\"elementor-tab-content-2428\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">GetProjectInfo<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2428\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"8\" role=\"region\" aria-labelledby=\"elementor-tab-title-2428\"><h3>GetProjectInfo (envName, session, nodeid, [projectid], [projectName] ) :<\/h3>\n<p>Returns information on the specific VCS project on the build node.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/getprojectinfo<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1170\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the project.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectName<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>project name.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/getprojectinfo?envName=[string]&amp;session=[string]&amp;projectName=[string]&amp;nodeid=[int]&amp;projectid=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">BuildProjectResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1574\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"autoResolveConflict\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"autoupdate\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"branch\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"context\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"env\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"hooks\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"id\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"interval\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"login\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"path\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"repoHash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"targetNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"type\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"workDir\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2429\" class=\"elementor-tab-title\" data-tab=\"9\" role=\"button\" aria-controls=\"elementor-tab-content-2429\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">GetProjects<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2429\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"9\" role=\"region\" aria-labelledby=\"elementor-tab-title-2429\"><h3>GetProjects (envName, session, [nodeGroup], [nodeId] ) :<\/h3>\n<p>Returns a list of VCS projects on the build node.<\/p>\n<h4 id=\"url\">URL<\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/getprojects<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br><div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1171\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br><div class=\"sub-desc\">\n<p>unique identifier of the node group with a build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeId<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br><div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/getprojects?envName=[string]&amp;session=[string]&amp;nodeGroup=[string]&amp;nodeId=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">BuildProjectResponses<\/span><br><div class=\"sub-desc\">\n<pre id=\"ext-gen1575\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"responses\":<\/span> [\n      {\n         <span class=\"json-attribute\">\"autoResolveConflict\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"autoupdate\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"branch\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"context\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"env\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"hash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"hooks\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"id\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n         <span class=\"json-attribute\">\"interval\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"login\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"path\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n         <span class=\"json-attribute\">\"repoHash\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n         <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"targetNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"type\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"workDir\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n      },\n      <span class=\"json-string\">\"...\"<\/span>\n   ],\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-24210\" class=\"elementor-tab-title\" data-tab=\"10\" role=\"button\" aria-controls=\"elementor-tab-content-24210\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">RemoveProject<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-24210\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"10\" role=\"region\" aria-labelledby=\"elementor-tab-title-24210\"><h3>RemoveProject (envName, session, nodeid, projectid ) :<\/h3>\n<p>Deletes the VCS project from the build node.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/removeproject<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1172\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the build node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectid<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the project.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/removeproject?envName=[string]&amp;session=[string]&amp;nodeid=[int]&amp;projectid=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1576\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-24211\" class=\"elementor-tab-title\" data-tab=\"11\" role=\"button\" aria-controls=\"elementor-tab-content-24211\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Update<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-24211\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"11\" role=\"region\" aria-labelledby=\"elementor-tab-title-24211\"><h3>Update (envName, session, nodeId, [projectId], [context] ) :<\/h3>\n<p>Updates VCS project on the build node from the appropriate repository.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/update<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>source environment name (with a build node).<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1173\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeId<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target (or build) node.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>projectId<\/b><\/span>&nbsp;: &#8220;int&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the project.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>context<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>custom context name for the deployed project (ROOT by default).<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/build\/rest\/update?envName=[string]&amp;session=[string]&amp;context=[string]&amp;nodeId=[int]&amp;projectId=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen1577\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Namespace: Environment REST: https:\/\/[hoster-api-host]\/1.0\/environment\/build\/rest\/{method-name} Scripting: environment.build.{method-name} This service provides methods to manage Java project deployment from the version control system (VCS) repositories. The process requires a dedicated Maven build automation node that will build and deploy Java projects. With Maven, you can add any public or private project directly from your VCS repository (Git or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":5756,"menu_order":13,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-5891","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/5891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/comments?post=5891"}],"version-history":[{"count":76,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/5891\/revisions"}],"predecessor-version":[{"id":8626,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/5891\/revisions\/8626"}],"up":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/5756"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/media?parent=5891"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/doc_tag?post=5891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}