All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
| Method | HTTP request | Description |
|---|---|---|
| allDashboards | GET /dashboards | Get All Dashboards |
| createDashboard | POST /dashboards | Create Dashboard |
| createDashboardPrefetch | POST /dashboards/{dashboard_id}/prefetch | Create Dashboard Prefetch |
| dashboard | GET /dashboards/{dashboard_id} | Get Dashboard |
| dashboardPrefetch | GET /dashboards/{dashboard_id}/prefetch | Get Dashboard Prefetch |
| deleteDashboard | DELETE /dashboards/{dashboard_id} | Delete Dashboard |
| searchDashboards | GET /dashboards/search | Search Dashboards |
| updateDashboard | PATCH /dashboards/{dashboard_id} | Update Dashboard |
[DashboardBase] allDashboards(opts)
Get All Dashboards
Get information about all dashboards.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
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.allDashboards(opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard createDashboard(opts)
Create Dashboard
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var opts = {
'body': new LookerApi30Reference.Dashboard() // {Dashboard} Dashboard
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createDashboard(opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| body | Dashboard | Dashboard | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
PrefetchDashboardRequest createDashboardPrefetch(dashboardId, opts)
Create Dashboard Prefetch
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var dashboardId = "dashboardId_example"; // {String} Id of dashboard
var opts = {
'body': new LookerApi30Reference.PrefetchDashboardRequest() // {PrefetchDashboardRequest} Parameters for prefetch request
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createDashboardPrefetch(dashboardId, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| dashboardId | String | Id of dashboard | |
| body | PrefetchDashboardRequest | Parameters for prefetch request | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard dashboard(dashboardId, opts)
Get Dashboard
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var dashboardId = "dashboardId_example"; // {String} Id of dashboard
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.dashboard(dashboardId, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| dashboardId | String | Id of dashboard | |
| fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
PrefetchMapper dashboardPrefetch(dashboardId, opts)
Get Dashboard Prefetch
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var dashboardId = "dashboardId_example"; // {String} Id of dashboard
var opts = {
'dashboardFilters': [new LookerApi30Reference.PrefetchDashboardFilterValue()] // {[PrefetchDashboardFilterValue]} JSON encoded string of Dashboard filters that were applied to prefetch
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.dashboardPrefetch(dashboardId, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| dashboardId | String | Id of dashboard | |
| dashboardFilters | [PrefetchDashboardFilterValue] | JSON encoded string of Dashboard filters that were applied to prefetch | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteDashboard(dashboardId)
Delete Dashboard
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var dashboardId = "dashboardId_example"; // {String} Id of dashboard
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteDashboard(dashboardId, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| dashboardId | String | Id of dashboard |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
[Dashboard] searchDashboards(opts)
Search Dashboards
Get information about all dashboards.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var opts = {
'fields': "fields_example", // {String} Requested fields.
'page': 789, // {Integer} Requested page.
'perPage': 789, // {Integer} Results per page.
'limit': 789, // {Integer} Number of results to return. (used with offset and takes priority over page and per_page)
'offset': 789, // {Integer} Number of results to skip before returning any. (used with limit and takes priority over page and per_page)
'sorts': "sorts_example", // {String} Fields to sort by.
'title': "title_example", // {String} Match Dashboard title.
'description': "description_example", // {String} Match Dashboard description.
'contentFavoriteId': 789, // {Integer} Filter on a content favorite id.
'spaceId': "spaceId_example", // {String} Filter on a particular space.
'deleted': "deleted_example", // {String} Filter on dashboards deleted status.
'userId': "userId_example", // {String} Filter on dashboards created by a particular user.
'viewCount': "viewCount_example" // {String} Filter on a particular value of view_count
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.searchDashboards(opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| fields | String | Requested fields. | [optional] |
| page | Integer | Requested page. | [optional] |
| perPage | Integer | Results per page. | [optional] |
| limit | Integer | Number of results to return. (used with offset and takes priority over page and per_page) | [optional] |
| offset | Integer | Number of results to skip before returning any. (used with limit and takes priority over page and per_page) | [optional] |
| sorts | String | Fields to sort by. | [optional] |
| title | String | Match Dashboard title. | [optional] |
| description | String | Match Dashboard description. | [optional] |
| contentFavoriteId | Integer | Filter on a content favorite id. | [optional] |
| spaceId | String | Filter on a particular space. | [optional] |
| deleted | String | Filter on dashboards deleted status. | [optional] |
| userId | String | Filter on dashboards created by a particular user. | [optional] |
| viewCount | String | Filter on a particular value of view_count | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard updateDashboard(dashboardId, body)
Update Dashboard
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.DashboardApi()
var dashboardId = "dashboardId_example"; // {String} Id of dashboard
var body = new LookerApi30Reference.Dashboard(); // {Dashboard} Dashboard
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateDashboard(dashboardId, body, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| dashboardId | String | Id of dashboard | |
| body | Dashboard | Dashboard |
No authorization required
- Content-Type: application/json
- Accept: application/json