All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allRunningQueries | GET /running_queries | Get All Running Queries |
killQuery | DELETE /running_queries/{query_task_id} | Kill Running Query |
[RunningQueries] allRunningQueries
Get All Running Queries
Get information about all running queries.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.RunningQueriesApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allRunningQueries(callback);
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' killQuery(queryTaskId)
Kill Running Query
Kill a query with a specific query_task_id.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.RunningQueriesApi()
var queryTaskId = "queryTaskId_example"; // {String} Query task id.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.killQuery(queryTaskId, callback);
Name | Type | Description | Notes |
---|---|---|---|
queryTaskId | String | Query task id. |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json