All URIs are relative to https://looker.buffer.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
all_running_queries | GET /running_queries | get all running queries |
kill_query | DELETE /running_queries/{query_slug} | Kill a running query |
list[RunningQueries] all_running_queries()
get all running queries
Get information about all running queries.
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.RunningQueriesApi()
try:
# get all running queries
api_response = api_instance.all_running_queries()
pprint(api_response)
except ApiException as e:
print "Exception when calling RunningQueriesApi->all_running_queries: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
kill_query(query_slug)
Kill a running query
Kill a query with a specific slug.
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.RunningQueriesApi()
query_slug = 'query_slug_example' # str | query slug
try:
# Kill a running query
api_instance.kill_query(query_slug)
except ApiException as e:
print "Exception when calling RunningQueriesApi->kill_query: %s\n" % e
Name | Type | Description | Notes |
---|---|---|---|
query_slug | str | query slug |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]