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, webhookSubscription, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
WebhookSubscription webhookSubscription = new WebhookSubscription(); // WebhookSubscription |
String appId = "appId_example"; // String |
try {
RestApiIntegerResult result = apiInstance.createWebhookSubscription(oauthAppId, webhookSubscription, appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#createWebhookSubscription");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscription | WebhookSubscription | ||
| appId | String |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
String eventName = "eventName_example"; // String |
String appId = "appId_example"; // String |
try {
apiInstance.createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#createWebhookSubscriptionEventNames");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| eventName | String | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
String appId = "appId_example"; // String |
try {
apiInstance.deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#deleteWebhookSubscription");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
String eventName = "eventName_example"; // String |
String appId = "appId_example"; // String |
try {
apiInstance.deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#deleteWebhookSubscriptionEventName");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| eventName | String | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiStringArrayResult getWebhookEventNames(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String appId = "appId_example"; // String |
try {
RestApiStringArrayResult result = apiInstance.getWebhookEventNames(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#getWebhookEventNames");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiStringArrayResult getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
String appId = "appId_example"; // String |
try {
RestApiStringArrayResult result = apiInstance.getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#getWebhookEventNamesBySubscriptionId");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
WebhookEventSample getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, version)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String eventName = "eventName_example"; // String |
String appId = "appId_example"; // String |
String oauthAppId = "oauthAppId_example"; // String |
String webhookSubscriptionId = "webhookSubscriptionId_example"; // String |
String version = "version_example"; // String |
try {
WebhookEventSample result = apiInstance.getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, version);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#getWebhookEventSample");
e.printStackTrace();
}| 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
RestApiPaginationResultWebhookLog getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, page, limit)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
OffsetDateTime start = OffsetDateTime.now(); // OffsetDateTime |
OffsetDateTime end = OffsetDateTime.now(); // OffsetDateTime |
String appId = "appId_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultWebhookLog result = apiInstance.getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#getWebhookLogs");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| start | OffsetDateTime | ||
| end | OffsetDateTime | ||
| appId | String | ||
| page | Integer | [optional] | |
| limit | Integer | [optional] |
RestApiPaginationResultWebhookLog
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultWebhookSubscription getWebhookSubscriptions(oauthAppId, appId, page, limit)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
String appId = "appId_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultWebhookSubscription result = apiInstance.getWebhookSubscriptions(oauthAppId, appId, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#getWebhookSubscriptions");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| appId | String | ||
| page | Integer | [optional] | |
| limit | Integer | [optional] |
RestApiPaginationResultWebhookSubscription
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateWebhookSubscription(oauthAppId, webhookSubscriptionId, webhookSubscription, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.WebhooksApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
WebhooksApi apiInstance = new WebhooksApi();
String oauthAppId = "oauthAppId_example"; // String |
Integer webhookSubscriptionId = 56; // Integer |
WebhookSubscription webhookSubscription = new WebhookSubscription(); // WebhookSubscription |
String appId = "appId_example"; // String |
try {
apiInstance.updateWebhookSubscription(oauthAppId, webhookSubscriptionId, webhookSubscription, appId);
} catch (ApiException e) {
System.err.println("Exception when calling WebhooksApi#updateWebhookSubscription");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| oauthAppId | String | ||
| webhookSubscriptionId | Integer | ||
| webhookSubscription | WebhookSubscription | ||
| appId | String |
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