All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
createSqlQuery | POST /sql_queries | Create SQL Runner Query |
sqlQuery | GET /sql_queries/{slug} | Get SQL Runner Query |
SqlQuery createSqlQuery(body)
Create SQL Runner Query
Create a SQL Runner query.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.SqlQueryApi()
var body = new LookerApi30Reference.SqlQueryCreate(); // {SqlQueryCreate} SQL Runner Query
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createSqlQuery(body, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | SqlQueryCreate | SQL Runner Query |
No authorization required
- Content-Type: application/json
- Accept: application/json
SqlQuery sqlQuery(slug)
Get SQL Runner Query
Get a SQL Runner query.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.SqlQueryApi()
var slug = "slug_example"; // {String} slug of query
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.sqlQuery(slug, callback);
Name | Type | Description | Notes |
---|---|---|---|
slug | String | slug of query |
No authorization required
- Content-Type: application/json
- Accept: application/json