All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| deletePushNotification | DELETE /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} | |
| getPushNotifications | GET /api/v1.0/{appId}/pushnotifications | |
| schedulePushNotification | POST /api/v1.0/{appId}/pushnotifications | |
| updatePushNotification | POST /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} |
deletePushNotification(appId, scheduledPushNotificationId)
// 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.PushNotificationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
PushNotificationsApi apiInstance = new PushNotificationsApi();
String appId = "appId_example"; // String |
Integer scheduledPushNotificationId = 56; // Integer |
try {
apiInstance.deletePushNotification(appId, scheduledPushNotificationId);
} catch (ApiException e) {
System.err.println("Exception when calling PushNotificationsApi#deletePushNotification");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| scheduledPushNotificationId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultPushNotificationResponse getPushNotifications(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.PushNotificationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
PushNotificationsApi apiInstance = new PushNotificationsApi();
String appId = "appId_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultPushNotificationResponse result = apiInstance.getPushNotifications(appId, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PushNotificationsApi#getPushNotifications");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| page | Integer | [optional] | |
| limit | Integer | [optional] |
RestApiPaginationResultPushNotificationResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultPushNotificationResponse schedulePushNotification(appId, notification)
// 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.PushNotificationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
PushNotificationsApi apiInstance = new PushNotificationsApi();
String appId = "appId_example"; // String |
PushNotificationRequest notification = new PushNotificationRequest(); // PushNotificationRequest |
try {
RestApiResultPushNotificationResponse result = apiInstance.schedulePushNotification(appId, notification);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PushNotificationsApi#schedulePushNotification");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| notification | PushNotificationRequest |
RestApiResultPushNotificationResponse
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultPushNotificationResponse updatePushNotification(appId, scheduledPushNotificationId, notification)
// 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.PushNotificationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
PushNotificationsApi apiInstance = new PushNotificationsApi();
String appId = "appId_example"; // String |
Integer scheduledPushNotificationId = 56; // Integer |
PushNotificationRequest notification = new PushNotificationRequest(); // PushNotificationRequest |
try {
RestApiResultPushNotificationResponse result = apiInstance.updatePushNotification(appId, scheduledPushNotificationId, notification);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PushNotificationsApi#updatePushNotification");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| scheduledPushNotificationId | Integer | ||
| notification | PushNotificationRequest |
RestApiResultPushNotificationResponse
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml