All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| createWebhookSubscription | POST /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions | |
| createWebhookSubscriptionEventNames | POST /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} | |
| deleteWebhookSubscription | DELETE /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} | |
| deleteWebhookSubscriptionEventName | DELETE /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} | |
| getWebhookEventNames | GET /api/v1.0/{appId}/webhooks/events | |
| getWebhookEventNamesBySubscriptionId | GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events | |
| getWebhookEventSample | GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}/test | |
| getWebhookLogs | GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/logs | |
| getWebhookSubscriptions | GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions | |
| updateWebhookSubscription | PUT /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} |
RestApiIntegerResult createWebhookSubscription(oauthAppId, appId, webhookSubscription)
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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
let webhookSubscription = new Flipdish.WebhookSubscription(); // WebhookSubscription |
apiInstance.createWebhookSubscription(oauthAppId, appId, webhookSubscription, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| appId | String | ||
| webhookSubscription | WebhookSubscription |
- 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, Message
createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, 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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let eventName = "eventName_example"; // String |
let appId = "appId_example"; // String |
apiInstance.createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| eventName | String | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message
deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, 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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message
deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, 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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let eventName = "eventName_example"; // String |
let appId = "appId_example"; // String |
apiInstance.deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| eventName | String | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message
RestApiStringArrayResult getWebhookEventNames(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.WebhooksApi();
let appId = "appId_example"; // String |
apiInstance.getWebhookEventNames(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, Message
RestApiStringArrayResult getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, 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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
WebhookEventSample getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, opts)
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.WebhooksApi();
let eventName = "eventName_example"; // String |
let appId = "appId_example"; // String |
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = "webhookSubscriptionId_example"; // String |
let opts = {
'version': "version_example" // String |
};
apiInstance.getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| eventName | String | ||
| appId | String | ||
| oauthAppId | String | ||
| webhookSubscriptionId | String | ||
| version | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Type, CreateTime, Body
RestApiPaginationResultWebhookLog getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, opts)
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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let start = new Date("2013-10-20T19:20:30+01:00"); // Date |
let end = new Date("2013-10-20T19:20:30+01:00"); // Date |
let appId = "appId_example"; // String |
let opts = {
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| start | Date | ||
| end | Date | ||
| appId | String | ||
| page | Number | [optional] | |
| limit | Number | [optional] |
RestApiPaginationResultWebhookLog
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
RestApiPaginationResultWebhookSubscription getWebhookSubscriptions(oauthAppId, appId, opts)
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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
let opts = {
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getWebhookSubscriptions(oauthAppId, appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| appId | String | ||
| page | Number | [optional] | |
| limit | Number | [optional] |
RestApiPaginationResultWebhookSubscription
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
updateWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, webhookSubscription)
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.WebhooksApi();
let oauthAppId = "oauthAppId_example"; // String |
let webhookSubscriptionId = 56; // Number |
let appId = "appId_example"; // String |
let webhookSubscription = new Flipdish.WebhookSubscription(); // WebhookSubscription |
apiInstance.updateWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, webhookSubscription, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Number | ||
| appId | String | ||
| webhookSubscription | WebhookSubscription |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Message