All URIs are relative to /api/3.1
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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DatagroupApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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 LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DatagroupApi();
var datagroupId = "datagroupId_example"; // String | ID of datagroup.
var body = new LookerApi31Reference.Datagroup(); // Datagroup | Datagroup
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.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