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 |
RestApiResultWebsiteTestimonial addTestimonial(appId, testimonial)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let testimonial = new Flipdish.WebsiteTestimonialBase(); // WebsiteTestimonialBase |
apiInstance.addTestimonial(appId, testimonial, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| testimonial | WebsiteTestimonialBase |
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, Data
deleteTestimonial(appId, testimonialId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let testimonialId = 56; // Number |
apiInstance.deleteTestimonial(appId, testimonialId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| testimonialId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
deleteWebsiteImage(appId, imageId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let imageId = 56; // Number |
apiInstance.deleteWebsiteImage(appId, imageId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| imageId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultWebsiteTestimonial editTestimonial(appId, testimonialId, testimonial)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let testimonialId = 56; // Number |
let testimonial = new Flipdish.WebsiteTestimonialBase(); // WebsiteTestimonialBase |
apiInstance.editTestimonial(appId, testimonialId, testimonial, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| testimonialId | Number | ||
| testimonial | WebsiteTestimonialBase |
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, Data
RestApiResultIndexPage getIndexConfiguration(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
apiInstance.getIndexConfiguration(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultIndexPageBase setIndexConfiguration(appId, indexPage)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let indexPage = new Flipdish.IndexPageBase(); // IndexPageBase |
apiInstance.setIndexConfiguration(appId, indexPage, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| indexPage | IndexPageBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultWebsiteImage uploadWebsiteImage(appId, imageLocation, Image)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
let imageLocation = "imageLocation_example"; // String |
let Image = "/path/to/file"; // File | App Logo
apiInstance.uploadWebsiteImage(appId, imageLocation, Image, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| imageLocation | String | ||
| Image | File | App Logo |
- Content-Type: multipart/form-data
- Accept: application/json, text/json, application/xml, text/xml, Data
websiteCheckNow(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.WebsiteApi();
let appId = "appId_example"; // String |
apiInstance.websiteCheckNow(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml