Skip to content

Commit 4ffd1b1

Browse files
author
Florian Schaal
committed
update api-example for sites_web_domain_add
1 parent 82bc395 commit 4ffd1b1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

remoting_client/API-docs/sites_web_domain_add.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ <h1>sites_web_domain_add(<span class="var">$session_id</span>, <span class="var"
6262
<p class="margin"> backup_copies&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
6363
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
6464
<p class="margin"> traffic_quota_lock&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
65+
<p class="margin"> http_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
66+
<p class="margin"> https_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
6567
<p class="headgrp">Output: </p>
6668
<p class="margin"> Returns the ID of the newly added web domain.</p>
6769
<!--<b>Output:</b>

remoting_client/examples/sites_web_domain_add.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
'backup_interval' => '',
6060
'backup_copies' => 1,
6161
'active' => 'y',
62-
'traffic_quota_lock' => 'n'
62+
'traffic_quota_lock' => 'n',
63+
'http_port' => '80',
64+
'https_port' => '443'
6365
);
6466

6567
$affected_rows = $client->sites_web_domain_add($session_id, $client_id, $params, $readonly = false);

0 commit comments

Comments
 (0)