Skip to content
Snippets Groups Projects
Commit b3cb6898 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

update api-example for sites_web_domain_add

See merge request ispconfig/ispconfig3!674
parents 82bc3958 4ffd1b13
Loading
......@@ -62,6 +62,8 @@
<p class="margin"> backup_copies&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> traffic_quota_lock&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> http_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> https_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="headgrp">Output: </p>
<p class="margin"> Returns the ID of the newly added web domain.</p>
<!--<b>Output:</b>
......
......@@ -59,7 +59,9 @@ try {
'backup_interval' => '',
'backup_copies' => 1,
'active' => 'y',
'traffic_quota_lock' => 'n'
'traffic_quota_lock' => 'n',
'http_port' => '80',
'https_port' => '443'
);
$affected_rows = $client->sites_web_domain_add($session_id, $client_id, $params, $readonly = false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment