All URIs are relative to /api/3.1
Method | HTTP request | Description |
---|---|---|
acceptIntegrationHubLegalAgreement | POST /integration_hubs/{integration_hub_id}/accept_legal_agreement | Accept Integration Hub Legal Agreement |
allIntegrationHubs | GET /integration_hubs | Get All Integration Hubs |
allIntegrations | GET /integrations | Get All Integrations |
createIntegrationHub | POST /integration_hubs | Create Integration Hub |
deleteIntegrationHub | DELETE /integration_hubs/{integration_hub_id} | Delete Integration Hub |
fetchIntegrationForm | POST /integrations/{integration_id}/form | Fetch Remote Integration Form |
integration | GET /integrations/{integration_id} | Get Integration |
integrationHub | GET /integration_hubs/{integration_hub_id} | Get Integration Hub |
testIntegration | POST /integrations/{integration_id}/test | Test integration |
updateIntegration | PATCH /integrations/{integration_id} | Update Integration |
updateIntegrationHub | PATCH /integration_hubs/{integration_hub_id} | Update Integration Hub |
IntegrationHub acceptIntegrationHubLegalAgreement(integrationHubId)
Accept Integration Hub Legal Agreement
Accepts the legal agreement for a given integration hub. This only works for integration hubs that have legal_agreement_required set to true and legal_agreement_signed set to false.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationHubId = 789; // Number | Id of integration_hub
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.acceptIntegrationHubLegalAgreement(integrationHubId, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationHubId | Number | Id of integration_hub |
No authorization required
- Content-Type: application/json
- Accept: application/json
[IntegrationHub] allIntegrationHubs(opts)
Get All Integration Hubs
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var opts = {
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.allIntegrationHubs(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Integration] allIntegrations(opts)
Get All Integrations
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var opts = {
'fields': "fields_example", // String | Requested fields.
'integrationHubId': "integrationHubId_example" // String | Filter to a specific provider
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.allIntegrations(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
integrationHubId | String | Filter to a specific provider | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
IntegrationHub createIntegrationHub(opts)
Create Integration Hub
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var opts = {
'body': new LookerApi31Reference.IntegrationHub(), // IntegrationHub | Integration Hub
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createIntegrationHub(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | IntegrationHub | Integration Hub | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteIntegrationHub(integrationHubId)
Delete Integration Hub
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationHubId = 789; // Number | Id of integration_hub
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteIntegrationHub(integrationHubId, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationHubId | Number | Id of integration_hub |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
DataActionForm fetchIntegrationForm(integrationId)
Fetch Remote Integration Form
Returns the Integration form for presentation to the user.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationId = 789; // Number | Id of Integration
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.fetchIntegrationForm(integrationId, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationId | Number | Id of Integration |
No authorization required
- Content-Type: application/json
- Accept: application/json
Integration integration(integrationId, opts)
Get Integration
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationId = 789; // Number | Id of Integration
var opts = {
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.integration(integrationId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationId | Number | Id of Integration | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
IntegrationHub integrationHub(integrationHubId, opts)
Get Integration Hub
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationHubId = 789; // Number | Id of Integration Hub
var opts = {
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.integrationHub(integrationHubId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationHubId | Number | Id of Integration Hub | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
IntegrationTestResult testIntegration(integrationId)
Test integration
Tests the integration to make sure all the settings are working.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationId = 789; // Number | Id of Integration
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.testIntegration(integrationId, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationId | Number | Id of Integration |
No authorization required
- Content-Type: application/json
- Accept: application/json
Integration updateIntegration(integrationId, body, opts)
Update Integration
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationId = 789; // Number | Id of Integration
var body = new LookerApi31Reference.Integration(); // Integration | Integration
var opts = {
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateIntegration(integrationId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationId | Number | Id of Integration | |
body | Integration | Integration | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
IntegrationHub updateIntegrationHub(integrationHubId, body, opts)
Update Integration Hub
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.IntegrationApi();
var integrationHubId = 789; // Number | Id of Integration Hub
var body = new LookerApi31Reference.IntegrationHub(); // IntegrationHub | Integration Hub
var opts = {
'fields': "fields_example" // String | Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateIntegrationHub(integrationHubId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
integrationHubId | Number | Id of Integration Hub | |
body | IntegrationHub | Integration Hub | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json