All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| getAppGeneralConfig | GET /api/v1.0/whitelabelconfig/{appId}/general | |
| getAppStoreConfig | GET /api/v1.0/whitelabelconfig/{appId}/appstore | |
| getPlayStoreConfig | GET /api/v1.0/whitelabelconfig/{appId}/playstore | |
| getWhiteLabelConfig | GET /api/v1.0/whitelabelconfig/id/{wlid} | |
| getWhiteLabelConfigByAppNameId | GET /api/v1.0/whitelabelconfig/name/{appId} | |
| healthCheck | GET /api/v1.0/whitelabelconfig/health | |
| updateAppGeneralConfig | POST /api/v1.0/whitelabelconfig/{appId}/general | |
| updateAppStoreConfig | POST /api/v1.0/whitelabelconfig/{appId}/appstore | |
| updatePlayStoreConfig | POST /api/v1.0/whitelabelconfig/{appId}/playstore | |
| uploadAppStoreIcon | POST /api/v1.0/whitelabelconfig/{appId}/app-store-icon |
\Flipdish\Client\Models\RestApiResultAppGeneralConfigModel getAppGeneralConfig($app_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
try {
$result = $apiInstance->getAppGeneralConfig($app_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->getAppGeneralConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
\Flipdish\Client\Models\RestApiResultAppGeneralConfigModel
- 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]
\Flipdish\Client\Models\RestApiResultAppStoreConfigModel getAppStoreConfig($app_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
try {
$result = $apiInstance->getAppStoreConfig($app_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->getAppStoreConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
\Flipdish\Client\Models\RestApiResultAppStoreConfigModel
- 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]
\Flipdish\Client\Models\RestApiResultPlayStoreConfigModel getPlayStoreConfig($app_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
try {
$result = $apiInstance->getPlayStoreConfig($app_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->getPlayStoreConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
\Flipdish\Client\Models\RestApiResultPlayStoreConfigModel
- 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]
\Flipdish\Client\Models\RestApiResultWhiteLabelConfigModel getWhiteLabelConfig($wlid)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$wlid = 56; // int |
try {
$result = $apiInstance->getWhiteLabelConfig($wlid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->getWhiteLabelConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| wlid | int |
\Flipdish\Client\Models\RestApiResultWhiteLabelConfigModel
- 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]
\Flipdish\Client\Models\RestApiResultWhiteLabelConfigModel getWhiteLabelConfigByAppNameId($app_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
try {
$result = $apiInstance->getWhiteLabelConfigByAppNameId($app_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->getWhiteLabelConfigByAppNameId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
\Flipdish\Client\Models\RestApiResultWhiteLabelConfigModel
- 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]
string healthCheck()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
try {
$result = $apiInstance->healthCheck();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->healthCheck: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
string
- 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]
\Flipdish\Client\Models\RestApiResultAppGeneralConfigModel updateAppGeneralConfig($app_id, $app_general_config)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
$app_general_config = new \Flipdish\\Client\Models\AppGeneralConfigModel(); // \Flipdish\\Client\Models\AppGeneralConfigModel |
try {
$result = $apiInstance->updateAppGeneralConfig($app_id, $app_general_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->updateAppGeneralConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| app_general_config | \Flipdish\Client\Models\AppGeneralConfigModel |
\Flipdish\Client\Models\RestApiResultAppGeneralConfigModel
- Content-Type: application/json, text/json, application/xml, text/xml, 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]
\Flipdish\Client\Models\RestApiResultAppStoreConfigModel updateAppStoreConfig($app_id, $app_store_config)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
$app_store_config = new \Flipdish\\Client\Models\AppStoreConfigModel(); // \Flipdish\\Client\Models\AppStoreConfigModel |
try {
$result = $apiInstance->updateAppStoreConfig($app_id, $app_store_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->updateAppStoreConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| app_store_config | \Flipdish\Client\Models\AppStoreConfigModel |
\Flipdish\Client\Models\RestApiResultAppStoreConfigModel
- Content-Type: application/json, text/json, application/xml, text/xml, 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]
\Flipdish\Client\Models\RestApiResultPlayStoreConfigModel updatePlayStoreConfig($app_id, $play_store_config)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
$play_store_config = new \Flipdish\\Client\Models\PlayStoreConfigModel(); // \Flipdish\\Client\Models\PlayStoreConfigModel |
try {
$result = $apiInstance->updatePlayStoreConfig($app_id, $play_store_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->updatePlayStoreConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| play_store_config | \Flipdish\Client\Models\PlayStoreConfigModel |
\Flipdish\Client\Models\RestApiResultPlayStoreConfigModel
- Content-Type: application/json, text/json, application/xml, text/xml, 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]
\Flipdish\Client\Models\RestApiResultAssetResultModel uploadAppStoreIcon($app_id, $file)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\WhiteLabelConfigApi(
// 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(),
$config
);
$app_id = "app_id_example"; // string |
$file = new \Flipdish\\Client\Models\HttpPostedFileBase(); // \Flipdish\\Client\Models\HttpPostedFileBase |
try {
$result = $apiInstance->uploadAppStoreIcon($app_id, $file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WhiteLabelConfigApi->uploadAppStoreIcon: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| file | \Flipdish\Client\Models\HttpPostedFileBase |
\Flipdish\Client\Models\RestApiResultAssetResultModel
- Content-Type: application/json, text/json, application/xml, text/xml, 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]