All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
clientSettingsDelete() | DELETE /api/v1/clients/{clientId}/settings/{name} | Delete settings by name |
clientSettingsGet() | GET /api/v1/clients/{clientId}/settings | get list of settings names |
clientSettingsGet_0() | GET /api/v1/clients/{clientId}/settings/{name} | get settings by names |
clientSettingsPost() | POST /api/v1/clients/{clientId}/settings/{name} | save settings by name |
clientSettingsDelete($name, $client_id): object
Delete settings by name
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\ClientSettingsApi(
// 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()
);
$name = 'name_example'; // string
$client_id = 'client_id_example'; // string
try {
$result = $apiInstance->clientSettingsDelete($name, $client_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClientSettingsApi->clientSettingsDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
client_id | string |
object
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
clientSettingsGet($client_id): string[]
get list of settings names
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\ClientSettingsApi(
// 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()
);
$client_id = 'client_id_example'; // string
try {
$result = $apiInstance->clientSettingsGet($client_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClientSettingsApi->clientSettingsGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
client_id | string |
string[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
clientSettingsGet_0($name, $client_id): string
get settings by names
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\ClientSettingsApi(
// 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()
);
$name = 'name_example'; // string
$client_id = 'client_id_example'; // string
try {
$result = $apiInstance->clientSettingsGet_0($name, $client_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClientSettingsApi->clientSettingsGet_0: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
client_id | string |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
clientSettingsPost($name, $client_id, $value): string
save settings by name
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Topal\Client\Api\ClientSettingsApi(
// 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()
);
$name = 'name_example'; // string
$client_id = 'client_id_example'; // string
$value = array('key' => new \stdClass); // object
try {
$result = $apiInstance->clientSettingsPost($name, $client_id, $value);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClientSettingsApi->clientSettingsPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
client_id | string | ||
value | object |
string
No authorization required
- Content-Type:
application/json
,text/json
,application/x-www-form-urlencoded
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]