All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| addTestimonial | POST /api/v1.0/{appId}/website/testimonial | |
| deleteTestimonial | DELETE /api/v1.0/{appId}/website/testimonial/{testimonialId} | |
| deleteWebsiteImage | DELETE /api/v1.0/{appId}/website/image/{imageId} | |
| editTestimonial | POST /api/v1.0/{appId}/website/testimonial/{testimonialId} | |
| getIndexConfiguration | GET /api/v1.0/{appId}/website/index | |
| setIndexConfiguration | POST /api/v1.0/{appId}/website/index | |
| uploadWebsiteImage | POST /api/v1.0/{appId}/website/image/{imageLocation} | |
| websiteCheckNow | GET /api/v1.0/{appId}/website/dnscheck |
\Flipdish\Client\Models\RestApiResultWebsiteTestimonial addTestimonial($app_id, $testimonial)
<?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\WebsiteApi(
// 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 |
$testimonial = new \Flipdish\\Client\Models\WebsiteTestimonialBase(); // \Flipdish\\Client\Models\WebsiteTestimonialBase |
try {
$result = $apiInstance->addTestimonial($app_id, $testimonial);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->addTestimonial: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| testimonial | \Flipdish\Client\Models\WebsiteTestimonialBase |
\Flipdish\Client\Models\RestApiResultWebsiteTestimonial
- 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]
deleteTestimonial($app_id, $testimonial_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\WebsiteApi(
// 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 |
$testimonial_id = 56; // int |
try {
$apiInstance->deleteTestimonial($app_id, $testimonial_id);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->deleteTestimonial: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| testimonial_id | int |
void (empty response body)
- 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]
deleteWebsiteImage($app_id, $image_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\WebsiteApi(
// 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 |
$image_id = 56; // int |
try {
$apiInstance->deleteWebsiteImage($app_id, $image_id);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->deleteWebsiteImage: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| image_id | int |
void (empty response body)
- 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\RestApiResultWebsiteTestimonial editTestimonial($app_id, $testimonial_id, $testimonial)
<?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\WebsiteApi(
// 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 |
$testimonial_id = 56; // int |
$testimonial = new \Flipdish\\Client\Models\WebsiteTestimonialBase(); // \Flipdish\\Client\Models\WebsiteTestimonialBase |
try {
$result = $apiInstance->editTestimonial($app_id, $testimonial_id, $testimonial);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->editTestimonial: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| testimonial_id | int | ||
| testimonial | \Flipdish\Client\Models\WebsiteTestimonialBase |
\Flipdish\Client\Models\RestApiResultWebsiteTestimonial
- 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\RestApiResultIndexPage getIndexConfiguration($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\WebsiteApi(
// 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->getIndexConfiguration($app_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->getIndexConfiguration: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
\Flipdish\Client\Models\RestApiResultIndexPage
- 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\RestApiResultIndexPageBase setIndexConfiguration($app_id, $index_page)
<?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\WebsiteApi(
// 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 |
$index_page = new \Flipdish\\Client\Models\IndexPageBase(); // \Flipdish\\Client\Models\IndexPageBase |
try {
$result = $apiInstance->setIndexConfiguration($app_id, $index_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->setIndexConfiguration: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| index_page | \Flipdish\Client\Models\IndexPageBase |
\Flipdish\Client\Models\RestApiResultIndexPageBase
- 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\RestApiResultWebsiteImage uploadWebsiteImage($app_id, $image_location, $image)
<?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\WebsiteApi(
// 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 |
$image_location = "image_location_example"; // string |
$image = "/path/to/file.txt"; // \SplFileObject | App Logo
try {
$result = $apiInstance->uploadWebsiteImage($app_id, $image_location, $image);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->uploadWebsiteImage: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| image_location | string | ||
| image | \SplFileObject | App Logo |
\Flipdish\Client\Models\RestApiResultWebsiteImage
- Content-Type: multipart/form-data
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
websiteCheckNow($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\WebsiteApi(
// 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 {
$apiInstance->websiteCheckNow($app_id);
} catch (Exception $e) {
echo 'Exception when calling WebsiteApi->websiteCheckNow: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string |
void (empty response body)
- 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]