All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| completeHomeAction | POST /api/v1.0/{appId}/home/{homeActionId} | |
| getHomeActions | GET /api/v1.0/{appId}/home | |
| getHomeStatistics | GET /api/v1.0/{appId}/home/stats | |
| getOktaPortalFeatureFlag | GET /api/v1.0/home/okta-portal |
Object completeHomeAction(appId, homeActionId, isDismissed)
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.HomeApi();
let appId = "appId_example"; // String |
let homeActionId = 56; // Number |
let isDismissed = true; // Boolean |
apiInstance.completeHomeAction(appId, homeActionId, isDismissed, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| homeActionId | Number | ||
| isDismissed | Boolean |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
RestApiArrayResultHomeAction getHomeActions(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.HomeApi();
let appId = "appId_example"; // String |
apiInstance.getHomeActions(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, ErrorCode, StackTrace
RestApiResultHomeStatistics getHomeStatistics(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.HomeApi();
let appId = "appId_example"; // String |
apiInstance.getHomeStatistics(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
RestApiResultOktaPortalFeatureFlag getOktaPortalFeatureFlag()
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.HomeApi();
apiInstance.getOktaPortalFeatureFlag((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
RestApiResultOktaPortalFeatureFlag
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace