|
@@ -577,7 +577,7 @@ function siteBuilder_editSite($params) {
|
|
|
'type' => 'internal', // (required) 'internal'
|
|
'type' => 'internal', // (required) 'internal'
|
|
|
'domain' => $site, // (required) domain of the user website you want to edit
|
|
'domain' => $site, // (required) domain of the user website you want to edit
|
|
|
'lang' => 'de', // (optional) 2-letter language code, set language code you whant builder to open in
|
|
'lang' => 'de', // (optional) 2-letter language code, set language code you whant builder to open in
|
|
|
- 'apiUrl' => 'https://builder.thurdata.ch/deploy/' . $params['username'] . '/' . $site, // (required) API endpoint URL
|
|
|
|
|
|
|
+ 'apiUrl' => getSiteBuilderApiURL($params) . '/' . $params['username'] . '/' . $site, // (required) API endpoint URL
|
|
|
'resellerClientAccountId' => $params['serviceid'], // (required) ID of website/user in your system
|
|
'resellerClientAccountId' => $params['serviceid'], // (required) ID of website/user in your system
|
|
|
// 'username' => 'example_user', // (optional) authorization username to be used with API endpoint
|
|
// 'username' => 'example_user', // (optional) authorization username to be used with API endpoint
|
|
|
// 'password' => 'example_password', // (optional) authorization password to be used with API endpoint
|
|
// 'password' => 'example_password', // (optional) authorization password to be used with API endpoint
|