All URIs are relative to https://ethosce.looker.com:19999/api/3.1
Method | HTTP request | Description |
---|---|---|
allRunningQueries | GET /running_queries | Get All Running Queries |
killQuery | DELETE /running_queries/{query_task_id} | Kill Running Query |
\Looker\Model\RunningQueries[] allRunningQueries()
Get All Running Queries
Get information about all running queries.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\RunningQueriesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->allRunningQueries();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RunningQueriesApi->allRunningQueries: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Looker\Model\RunningQueries[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string killQuery($query_task_id)
Kill Running Query
Kill a query with a specific query_task_id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\RunningQueriesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$query_task_id = "query_task_id_example"; // string | Query task id.
try {
$result = $apiInstance->killQuery($query_task_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RunningQueriesApi->killQuery: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
query_task_id | string | Query task id. |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]