All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allLookmlModels | GET /lookml_models | Get All LookML Models |
createLookmlModel | POST /lookml_models | Create LookML Model |
deleteLookmlModel | DELETE /lookml_models/{lookml_model_name} | Delete LookML Model |
lookmlModel | GET /lookml_models/{lookml_model_name} | Get LookML Model |
lookmlModelExplore | GET /lookml_models/{lookml_model_name}/explores/{explore_name} | Get LookML Model Explore |
updateLookmlModel | PATCH /lookml_models/{lookml_model_name} | Update LookML Model |
[LookmlModel] allLookmlModels(opts)
Get All LookML Models
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allLookmlModels(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
LookmlModel createLookmlModel(opts)
Create LookML Model
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var opts = {
'body': new LookerApi30Reference.LookmlModel() // {LookmlModel} LookML Model
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createLookmlModel(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | LookmlModel | LookML Model | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteLookmlModel(lookmlModelName)
Delete LookML Model
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var lookmlModelName = "lookmlModelName_example"; // {String} Name of lookml model.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteLookmlModel(lookmlModelName, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlModelName | String | Name of lookml model. |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
LookmlModel lookmlModel(lookmlModelName, opts)
Get LookML Model
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var lookmlModelName = "lookmlModelName_example"; // {String} Name of lookml model.
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.lookmlModel(lookmlModelName, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlModelName | String | Name of lookml model. | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
LookmlModelExplore lookmlModelExplore(lookmlModelName, exploreName, opts)
Get LookML Model Explore
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var lookmlModelName = "lookmlModelName_example"; // {String} Name of lookml model.
var exploreName = "exploreName_example"; // {String} Name of explore.
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.lookmlModelExplore(lookmlModelName, exploreName, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlModelName | String | Name of lookml model. | |
exploreName | String | Name of explore. | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
LookmlModel updateLookmlModel(lookmlModelName, body)
Update LookML Model
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.LookmlModelApi()
var lookmlModelName = "lookmlModelName_example"; // {String} Name of lookml model.
var body = new LookerApi30Reference.LookmlModel(); // {LookmlModel} LookML Model
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateLookmlModel(lookmlModelName, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlModelName | String | Name of lookml model. | |
body | LookmlModel | LookML Model |
No authorization required
- Content-Type: application/json
- Accept: application/json