All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allDatagroups | GET /datagroups | Get All Datagroups |
datagroup | GET /datagroups/{datagroup_id} | Get Datagroup |
updateDatagroup | PATCH /datagroups/{datagroup_id} | Update Datagroup |
[Datagroup] allDatagroups
Get All Datagroups
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DatagroupApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allDatagroups(callback);
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
Datagroup datagroup(datagroupId)
Get Datagroup
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DatagroupApi()
var datagroupId = "datagroupId_example"; // {String} ID of datagroup.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.datagroup(datagroupId, callback);
Name | Type | Description | Notes |
---|---|---|---|
datagroupId | String | ID of datagroup. |
No authorization required
- Content-Type: application/json
- Accept: application/json
Datagroup updateDatagroup(datagroupId, body)
Update Datagroup
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DatagroupApi()
var datagroupId = "datagroupId_example"; // {String} ID of datagroup.
var body = new LookerApi30Reference.Datagroup(); // {Datagroup} Datagroup
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateDatagroup(datagroupId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
datagroupId | String | ID of datagroup. | |
body | Datagroup | Datagroup |
No authorization required
- Content-Type: application/json
- Accept: application/json