All URIs are relative to /api/3.1
Method | HTTP request | Description |
---|---|---|
fetchRemoteDataActionForm | POST /data_actions/form | Fetch Remote Data Action Form |
performDataAction | POST /data_actions | Send a Data Action |
DataActionForm fetchRemoteDataActionForm(body)
Fetch Remote Data Action Form
For some data actions, the remote server may supply a form requesting further user input. This endpoint takes a data action, asks the remote server to generate a form for it, and returns that form to you for presentation to the user.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DataActionApi();
var body = null; // Object | Data Action Request
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.fetchRemoteDataActionForm(body, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | Object | Data Action Request |
No authorization required
- Content-Type: application/json
- Accept: application/json
DataActionResponse performDataAction(body)
Send a Data Action
Perform a data action. The data action object can be obtained from query results, and used to perform an arbitrary action.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DataActionApi();
var body = new LookerApi31Reference.DataActionRequest(); // DataActionRequest | Data Action Request
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.performDataAction(body, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | DataActionRequest | Data Action Request |
No authorization required
- Content-Type: application/json
- Accept: application/json