All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| headHostname | HEAD /api/v1.0/heartbeat/Hostname | |
| headPing | HEAD /api/v1.0/heartbeat | |
| hostname | GET /api/v1.0/heartbeat/Hostname | |
| ping | GET /api/v1.0/heartbeat |
Object headHostname()
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.HeartbeatApi();
apiInstance.headHostname((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiStringResult headPing()
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.HeartbeatApi();
apiInstance.headPing((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
Object hostname()
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.HeartbeatApi();
apiInstance.hostname((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiStringResult ping()
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.HeartbeatApi();
apiInstance.ping((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data