All URIs are relative to https://api.flipdish.co
Method | HTTP request | Description |
---|---|---|
addRedirectUri | POST /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis | |
createOAuthApp | POST /api/v1.0/{appId}/oauthclients | |
deleteOAuthApp | DELETE /api/v1.0/{appId}/oauthclients/{oauthAppId} | |
getOAuthApps | GET /api/v1.0/{appId}/oauthclients | |
getOAuthClientByClientId | GET /api/v1.0/{appId}/oauthclients/{oauthAppId} | |
getOAuthClientSecret | GET /api/v1.0/{appId}/oauthclients/{oauthAppId}/secret | |
getOauthAccessToken | GET /api/v1.0/{appId}/oauthclients/{oauthAppId}/accesstoken | |
getRedirectUris | GET /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis | |
oAuthClientsGetApplications | GET /api/v1.0/{appId}/oauthclients/appnames | |
removeRedirectUri | DELETE /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis/{uriId} | |
updateOAuthApp | POST /api/v1.0/{appId}/oauthclients/{oauthAppId} |
RestApiResultOauthClientRedirectUri addRedirectUri(oauthAppId, appId, uri)
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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
let uri = "uri_example"; // String |
apiInstance.addRedirectUri(oauthAppId, appId, uri, (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 | ||
uri | String |
RestApiResultOauthClientRedirectUri
- 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, ErrorCode, StackTrace
createOAuthApp(appId, oAuthApp)
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.OAuthClientsApi();
let appId = "appId_example"; // String |
let oAuthApp = new Flipdish.OAuthApp(); // OAuthApp |
apiInstance.createOAuthApp(appId, oAuthApp, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Name | Type | Description | Notes |
---|---|---|---|
appId | String | ||
oAuthApp | OAuthApp |
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, ErrorCode, StackTrace
deleteOAuthApp(oauthAppId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
apiInstance.deleteOAuthApp(oauthAppId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Name | Type | Description | Notes |
---|---|---|---|
oauthAppId | String | ||
appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
RestApiArrayResultOAuthApp getOAuthApps(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.OAuthClientsApi();
let appId = "appId_example"; // String |
let opts = {
'oauthAppName': "oauthAppName_example" // String |
};
apiInstance.getOAuthApps(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
appId | String | ||
oauthAppName | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiResultOAuthApp getOAuthClientByClientId(oauthAppId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
apiInstance.getOAuthClientByClientId(oauthAppId, appId, (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 |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiStringResult getOAuthClientSecret(oauthAppId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
apiInstance.getOAuthClientSecret(oauthAppId, appId, (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 |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiStringResult getOauthAccessToken(oauthAppId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
apiInstance.getOauthAccessToken(oauthAppId, appId, (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 |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiArrayResultOauthClientRedirectUri getRedirectUris(oauthAppId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
apiInstance.getRedirectUris(oauthAppId, appId, (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 |
RestApiArrayResultOauthClientRedirectUri
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
Object oAuthClientsGetApplications(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.OAuthClientsApi();
let appId = "appId_example"; // String |
apiInstance.oAuthClientsGetApplications(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
appId | String |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
removeRedirectUri(oauthAppId, uriId, 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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let uriId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.removeRedirectUri(oauthAppId, uriId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Name | Type | Description | Notes |
---|---|---|---|
oauthAppId | String | ||
uriId | Number | ||
appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
updateOAuthApp(oauthAppId, appId, oAuthApp)
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.OAuthClientsApi();
let oauthAppId = "oauthAppId_example"; // String |
let appId = "appId_example"; // String |
let oAuthApp = new Flipdish.OAuthApp(); // OAuthApp |
apiInstance.updateOAuthApp(oauthAppId, appId, oAuthApp, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Name | Type | Description | Notes |
---|---|---|---|
oauthAppId | String | ||
appId | String | ||
oAuthApp | OAuthApp |
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, ErrorCode, StackTrace