All URIs are relative to /api/3.1
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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.LookmlModelApi();
var opts = {
'body': new LookerApi31Reference.LookmlModel() // LookmlModel | LookML Model
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.LookmlModelApi();
var lookmlModelName = "lookmlModelName_example"; // String | Name of lookml model.
var body = new LookerApi31Reference.LookmlModel(); // LookmlModel | LookML Model
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.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