All URIs are relative to /api/3.1
Method | HTTP request | Description |
---|---|---|
allDashboards | GET /dashboards | Get All Dashboards |
createDashboard | POST /dashboards | Create Dashboard |
createDashboardElement | POST /dashboard_elements | Create DashboardElement |
createDashboardFilter | POST /dashboard_filters | Create Dashboard Filter |
createDashboardLayout | POST /dashboard_layouts | Create DashboardLayout |
dashboard | GET /dashboards/{dashboard_id} | Get Dashboard |
dashboardDashboardElements | GET /dashboards/{dashboard_id}/dashboard_elements | Get All DashboardElements |
dashboardDashboardFilters | GET /dashboards/{dashboard_id}/dashboard_filters | Get All Dashboard Filters |
dashboardDashboardLayouts | GET /dashboards/{dashboard_id}/dashboard_layouts | Get All DashboardLayouts |
dashboardElement | GET /dashboard_elements/{dashboard_element_id} | Get DashboardElement |
dashboardFilter | GET /dashboard_filters/{dashboard_filter_id} | Get Dashboard Filter |
dashboardLayout | GET /dashboard_layouts/{dashboard_layout_id} | Get DashboardLayout |
dashboardLayoutComponent | GET /dashboard_layout_components/{dashboard_layout_component_id} | Get DashboardLayoutComponent |
dashboardLayoutDashboardLayoutComponents | GET /dashboard_layouts/{dashboard_layout_id}/dashboard_layout_components | Get All DashboardLayoutComponents |
deleteDashboard | DELETE /dashboards/{dashboard_id} | Delete Dashboard |
deleteDashboardElement | DELETE /dashboard_elements/{dashboard_element_id} | Delete DashboardElement |
deleteDashboardFilter | DELETE /dashboard_filters/{dashboard_filter_id} | Delete Dashboard Filter |
deleteDashboardLayout | DELETE /dashboard_layouts/{dashboard_layout_id} | Delete DashboardLayout |
importLookmlDashboard | POST /dashboards/{lookml_dashboard_id}/import/{space_id} | Import LookML Dashboard |
searchDashboardElements | GET /dashboard_elements/search | Search Dashboard Elements |
searchDashboards | GET /dashboards/search | Search Dashboards |
syncLookmlDashboard | PATCH /dashboards/{lookml_dashboard_id}/sync | Sync LookML Dashboard |
updateDashboard | PATCH /dashboards/{dashboard_id} | Update Dashboard |
updateDashboardElement | PATCH /dashboard_elements/{dashboard_element_id} | Update DashboardElement |
updateDashboardFilter | PATCH /dashboard_filters/{dashboard_filter_id} | Update Dashboard Filter |
updateDashboardLayout | PATCH /dashboard_layouts/{dashboard_layout_id} | Update DashboardLayout |
updateDashboardLayoutComponent | PATCH /dashboard_layout_components/{dashboard_layout_component_id} | Update DashboardLayoutComponent |
[DashboardBase] allDashboards(opts)
Get All Dashboards
Get information about all active dashboards. Returns an array of abbreviated dashboard objects. Dashboards marked as deleted are excluded from this list. Get the full details of a specific dashboard by id with Dashboard Find deleted dashboards with Search Dashboards
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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
Create a dashboard with the specified information Creates a new dashboard object, returning the dashboard details, including the created id. Update an existing dashboard with Update Dashboard Permanently delete an existing dashboard with Delete Dashboard
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var opts = {
'body': new LookerApi31Reference.Dashboard() // Dashboard | Dashboard
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createDashboard(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | Dashboard | Dashboard | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardElement createDashboardElement(opts)
Create DashboardElement
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var opts = {
'body': new LookerApi31Reference.DashboardElement(), // DashboardElement | DashboardElement
'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.createDashboardElement(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | DashboardElement | DashboardElement | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardFilter createDashboardFilter(body, opts)
Create Dashboard Filter
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var body = new LookerApi31Reference.CreateDashboardFilter(); // CreateDashboardFilter | Dashboard Filter
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.createDashboardFilter(body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | CreateDashboardFilter | Dashboard Filter | |
fields | String | Requested fields | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardLayout createDashboardLayout(opts)
Create DashboardLayout
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var opts = {
'body': new LookerApi31Reference.DashboardLayout(), // DashboardLayout | DashboardLayout
'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.createDashboardLayout(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | DashboardLayout | DashboardLayout | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard dashboard(dashboardId, opts)
Get Dashboard
Get information about the dashboard with the specified id Returns the full details of the identified dashboard object Get a summary list of all active dashboards with All Dashboards Search for dashboards with Search Dashboards
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.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
[DashboardElement] dashboardDashboardElements(dashboardId, opts)
Get All DashboardElements
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.dashboardDashboardElements(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
[DashboardFilter] dashboardDashboardFilters(dashboardId, opts)
Get All Dashboard Filters
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.dashboardDashboardFilters(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
[DashboardLayout] dashboardDashboardLayouts(dashboardId, opts)
Get All DashboardLayouts
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.dashboardDashboardLayouts(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
DashboardElement dashboardElement(dashboardElementId, opts)
Get DashboardElement
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardElementId = "dashboardElementId_example"; // String | Id of dashboard element
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.dashboardElement(dashboardElementId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardElementId | String | Id of dashboard element | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardFilter dashboardFilter(dashboardFilterId, opts)
Get Dashboard Filter
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardFilterId = "dashboardFilterId_example"; // String | Id of dashboard filters
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.dashboardFilter(dashboardFilterId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardFilterId | String | Id of dashboard filters | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardLayout dashboardLayout(dashboardLayoutId, opts)
Get DashboardLayout
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutId = "dashboardLayoutId_example"; // String | Id of dashboard layouts
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.dashboardLayout(dashboardLayoutId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutId | String | Id of dashboard layouts | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardLayoutComponent dashboardLayoutComponent(dashboardLayoutComponentId, opts)
Get DashboardLayoutComponent
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutComponentId = "dashboardLayoutComponentId_example"; // String | Id of dashboard layout component
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.dashboardLayoutComponent(dashboardLayoutComponentId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutComponentId | String | Id of dashboard layout component | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[DashboardLayoutComponent] dashboardLayoutDashboardLayoutComponents(dashboardLayoutId, opts)
Get All DashboardLayoutComponents
Get information about all the dashboard layout components for a dashboard layout with a specific id.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutId = "dashboardLayoutId_example"; // String | Id of dashboard layout component
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.dashboardLayoutDashboardLayoutComponents(dashboardLayoutId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutId | String | Id of dashboard layout component | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteDashboard(dashboardId)
Delete Dashboard
Delete the dashboard with the specified id Permanently deletes a dashboard. (The dashboard cannot be recovered after this operation.) "Soft" delete or hide a dashboard by setting its `deleted` status to `True` with Update Dashboard. Note: When a dashboard is deleted in the UI, it is soft deleted. Use this API call to permanently remove it, if desired.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.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);
}
};
apiInstance.deleteDashboard(dashboardId, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardId | String | Id of dashboard |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteDashboardElement(dashboardElementId)
Delete DashboardElement
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardElementId = "dashboardElementId_example"; // String | Id of dashboard element
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteDashboardElement(dashboardElementId, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardElementId | String | Id of dashboard element |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteDashboardFilter(dashboardFilterId)
Delete Dashboard Filter
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardFilterId = "dashboardFilterId_example"; // String | Id of dashboard filter
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteDashboardFilter(dashboardFilterId, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardFilterId | String | Id of dashboard filter |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteDashboardLayout(dashboardLayoutId)
Delete DashboardLayout
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutId = "dashboardLayoutId_example"; // String | Id of dashboard layout
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteDashboardLayout(dashboardLayoutId, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutId | String | Id of dashboard layout |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard importLookmlDashboard(lookmlDashboardId, spaceId, opts)
Import LookML Dashboard
Import a LookML dashboard to a space as a UDD Creates a UDD (a dashboard which exists in the Looker database rather than as a LookML file) from the LookML dashboard and puts it in the space specified. The created UDD will have a lookml_link_id which links to the original LookML dashboard. To give the imported dashboard specify a (e.g. title: "my title") in the body of your request, otherwise the imported dashboard will have the same title as the original LookML dashboard. For this operation to succeed the user must have permission to see the LookML dashboard in question, and have permission to create content in the space the dashboard is being imported to. Sync a linked UDD with [Sync LookML Dashboard] (#!/Dashboard/sync_lookml_dashboard) Unlink a linked UDD by setting lookml_link_id to null with Update Dashboard
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var lookmlDashboardId = "lookmlDashboardId_example"; // String | Id of LookML dashboard
var spaceId = "spaceId_example"; // String | Id of space to import the dashboard to
var opts = {
'body': new LookerApi31Reference.Dashboard(), // Dashboard | Dashboard
'rawLocale': true // Boolean | If true, and this dashboard is localized, export it with the raw keys, not localized.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.importLookmlDashboard(lookmlDashboardId, spaceId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlDashboardId | String | Id of LookML dashboard | |
spaceId | String | Id of space to import the dashboard to | |
body | Dashboard | Dashboard | [optional] |
rawLocale | Boolean | If true, and this dashboard is localized, export it with the raw keys, not localized. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[DashboardElement] searchDashboardElements(opts)
Search Dashboard Elements
Search Dashboard Elements Returns an array of DashboardElement objects that match the specified search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match all search param criteria will be returned. If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match any of the search criteria. String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump" Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values. Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null. Boolean search params accept only "true" and "false" as values.
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var opts = {
'dashboardId': 789, // Number | Select elements that refer to a given dashboard id
'lookId': 789, // Number | Select elements that refer to a given look id
'title': "title_example", // String | Match the title of element
'deleted': true, // Boolean | Select soft-deleted dashboard elements
'fields': "fields_example", // String | Requested fields.
'filterOr': true, // Boolean | Combine given search criteria in a boolean OR expression
'sorts': "sorts_example" // String | Fields to sort by. Sortable fields: [:look_id, :dashboard_id, :deleted, :title]
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchDashboardElements(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardId | Number | Select elements that refer to a given dashboard id | [optional] |
lookId | Number | Select elements that refer to a given look id | [optional] |
title | String | Match the title of element | [optional] |
deleted | Boolean | Select soft-deleted dashboard elements | [optional] |
fields | String | Requested fields. | [optional] |
filterOr | Boolean | Combine given search criteria in a boolean OR expression | [optional] |
sorts | String | Fields to sort by. Sortable fields: [:look_id, :dashboard_id, :deleted, :title] | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Dashboard] searchDashboards(opts)
Search Dashboards
Search Dashboards Returns an array of dashboard objects that match the specified search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match all search param criteria will be returned. If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match any of the search criteria. String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump" Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values. Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null. Boolean search params accept only "true" and "false" as values. The parameters `limit`, and `offset` are recommended for fetching results in page-size chunks. Get a single dashboard by id with Dashboard
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var opts = {
'id': 789, // Number | Match dashboard id.
'slug': "slug_example", // String | Match dashboard slug.
'title': "title_example", // String | Match Dashboard title.
'description': "description_example", // String | Match Dashboard description.
'contentFavoriteId': 789, // Number | 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
'contentMetadataId': 789, // Number | Filter on a content favorite id.
'fields': "fields_example", // String | Requested fields.
'page': 789, // Number | Requested page.
'perPage': 789, // Number | Results per page.
'limit': 789, // Number | Number of results to return. (used with offset and takes priority over page and per_page)
'offset': 789, // Number | Number of results to skip before returning any. (used with limit and takes priority over page and per_page)
'sorts': "sorts_example", // String | One or more fields to sort by. Sortable fields: [:title, :user_id, :id, :created_at, :space_id, :description, :view_count, :favorite_count, :slug, :content_favorite_id, :content_metadata_id, :deleted, :deleted_at, :last_viewed_at]
'filterOr': true // Boolean | Combine given search criteria in a boolean OR expression
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchDashboards(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | Number | Match dashboard id. | [optional] |
slug | String | Match dashboard slug. | [optional] |
title | String | Match Dashboard title. | [optional] |
description | String | Match Dashboard description. | [optional] |
contentFavoriteId | Number | 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] |
contentMetadataId | Number | Filter on a content favorite id. | [optional] |
fields | String | Requested fields. | [optional] |
page | Number | Requested page. | [optional] |
perPage | Number | Results per page. | [optional] |
limit | Number | Number of results to return. (used with offset and takes priority over page and per_page) | [optional] |
offset | Number | Number of results to skip before returning any. (used with limit and takes priority over page and per_page) | [optional] |
sorts | String | One or more fields to sort by. Sortable fields: [:title, :user_id, :id, :created_at, :space_id, :description, :view_count, :favorite_count, :slug, :content_favorite_id, :content_metadata_id, :deleted, :deleted_at, :last_viewed_at] | [optional] |
filterOr | Boolean | Combine given search criteria in a boolean OR expression | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
['Number'] syncLookmlDashboard(lookmlDashboardId, body, opts)
Sync LookML Dashboard
Update all linked dashboards to match the specified LookML dashboard. Any UDD (a dashboard which exists in the Looker database rather than as a LookML file) which has a `lookml_link_id` property value referring to a LookML dashboard's id (model::dashboardname) will be updated so that it matches the current state of the LookML dashboard. For this operation to succeed the user must have permission to view the LookML dashboard, and only linked dashboards that the user has permission to update will be synced. To link or unlink a UDD set the `lookml_link_id` property with Update Dashboard
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var lookmlDashboardId = "lookmlDashboardId_example"; // String | Id of LookML dashboard, in the form 'model::dashboardname'
var body = new LookerApi31Reference.Dashboard(); // Dashboard | Dashboard
var opts = {
'rawLocale': true // Boolean | If true, and this dashboard is localized, export it with the raw keys, not localized.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.syncLookmlDashboard(lookmlDashboardId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlDashboardId | String | Id of LookML dashboard, in the form 'model::dashboardname' | |
body | Dashboard | Dashboard | |
rawLocale | Boolean | If true, and this dashboard is localized, export it with the raw keys, not localized. | [optional] |
['Number']
No authorization required
- Content-Type: application/json
- Accept: application/json
Dashboard updateDashboard(dashboardId, body)
Update Dashboard
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardId = "dashboardId_example"; // String | Id of dashboard
var body = new LookerApi31Reference.Dashboard(); // Dashboard | Dashboard
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.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
DashboardElement updateDashboardElement(dashboardElementId, body, opts)
Update DashboardElement
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardElementId = "dashboardElementId_example"; // String | Id of dashboard element
var body = new LookerApi31Reference.DashboardElement(); // DashboardElement | DashboardElement
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.updateDashboardElement(dashboardElementId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardElementId | String | Id of dashboard element | |
body | DashboardElement | DashboardElement | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardFilter updateDashboardFilter(dashboardFilterId, body, opts)
Update Dashboard Filter
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardFilterId = "dashboardFilterId_example"; // String | Id of dashboard filter
var body = new LookerApi31Reference.DashboardFilter(); // DashboardFilter | Dashboard Filter
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.updateDashboardFilter(dashboardFilterId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardFilterId | String | Id of dashboard filter | |
body | DashboardFilter | Dashboard Filter | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardLayout updateDashboardLayout(dashboardLayoutId, body, opts)
Update DashboardLayout
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutId = "dashboardLayoutId_example"; // String | Id of dashboard layout
var body = new LookerApi31Reference.DashboardLayout(); // DashboardLayout | DashboardLayout
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.updateDashboardLayout(dashboardLayoutId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutId | String | Id of dashboard layout | |
body | DashboardLayout | DashboardLayout | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
DashboardLayoutComponent updateDashboardLayoutComponent(dashboardLayoutComponentId, body, opts)
Update DashboardLayoutComponent
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.DashboardApi();
var dashboardLayoutComponentId = "dashboardLayoutComponentId_example"; // String | Id of dashboard layout component
var body = new LookerApi31Reference.DashboardLayoutComponent(); // DashboardLayoutComponent | DashboardLayoutComponent
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.updateDashboardLayoutComponent(dashboardLayoutComponentId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardLayoutComponentId | String | Id of dashboard layout component | |
body | DashboardLayoutComponent | DashboardLayoutComponent | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json