All URIs are relative to /api/3.1
Method | HTTP request | Description |
---|---|---|
allHomepageItems | GET /homepage_items | Get All Homepage Items |
allHomepageSections | GET /homepage_sections | Get All Homepage sections |
allHomepages | GET /homepages | Get All Homepages |
createHomepage | POST /homepages | Create Homepage |
createHomepageItem | POST /homepage_items | Create Homepage Item |
createHomepageSection | POST /homepage_sections | Create Homepage section |
deleteHomepage | DELETE /homepages/{homepage_id} | Delete Homepage |
deleteHomepageItem | DELETE /homepage_items/{homepage_item_id} | Delete Homepage Item |
deleteHomepageSection | DELETE /homepage_sections/{homepage_section_id} | Delete Homepage section |
homepage | GET /homepages/{homepage_id} | Get Homepage |
homepageItem | GET /homepage_items/{homepage_item_id} | Get Homepage Item |
homepageSection | GET /homepage_sections/{homepage_section_id} | Get Homepage section |
searchHomepages | GET /homepages/search | Search Homepages |
updateHomepage | PATCH /homepages/{homepage_id} | Update Homepage |
updateHomepageItem | PATCH /homepage_items/{homepage_item_id} | Update Homepage Item |
updateHomepageSection | PATCH /homepage_sections/{homepage_section_id} | Update Homepage section |
[HomepageItem] allHomepageItems(opts)
Get All Homepage Items
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var opts = {
'fields': "fields_example", // String | Requested fields.
'sorts': "sorts_example", // String | Fields to sort by.
'homepageSectionId': "homepageSectionId_example" // String | Filter to a specific homepage section
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.allHomepageItems(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
sorts | String | Fields to sort by. | [optional] |
homepageSectionId | String | Filter to a specific homepage section | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[HomepageSection] allHomepageSections(opts)
Get All Homepage sections
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var opts = {
'fields': "fields_example", // String | Requested fields.
'sorts': "sorts_example" // String | Fields to sort by.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.allHomepageSections(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
sorts | String | Fields to sort by. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Homepage] allHomepages(opts)
Get All Homepages
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
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.allHomepages(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Homepage createHomepage(opts)
Create Homepage
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var opts = {
'body': new LookerApi31Reference.Homepage(), // Homepage | Homepage
'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.createHomepage(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | Homepage | Homepage | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageItem createHomepageItem(opts)
Create Homepage Item
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var opts = {
'body': new LookerApi31Reference.HomepageItem(), // HomepageItem | Homepage Item
'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.createHomepageItem(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | HomepageItem | Homepage Item | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageSection createHomepageSection(opts)
Create Homepage section
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var opts = {
'body': new LookerApi31Reference.HomepageSection(), // HomepageSection | Homepage section
'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.createHomepageSection(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | HomepageSection | Homepage section | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteHomepage(homepageId)
Delete Homepage
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageId = 789; // Number | Id of homepage
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteHomepage(homepageId, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageId | Number | Id of homepage |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteHomepageItem(homepageItemId)
Delete Homepage Item
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageItemId = 789; // Number | Id of homepage_item
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteHomepageItem(homepageItemId, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Number | Id of homepage_item |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteHomepageSection(homepageSectionId)
Delete Homepage section
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageSectionId = 789; // Number | Id of homepage_section
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.deleteHomepageSection(homepageSectionId, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Number | Id of homepage_section |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
Homepage homepage(homepageId, opts)
Get Homepage
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageId = 789; // Number | Id of homepage
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.homepage(homepageId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageId | Number | Id of homepage | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageItem homepageItem(homepageItemId, opts)
Get Homepage Item
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageItemId = 789; // Number | Id of homepage item
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.homepageItem(homepageItemId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Number | Id of homepage item | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageSection homepageSection(homepageSectionId, opts)
Get Homepage section
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageSectionId = 789; // Number | Id of homepage section
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.homepageSection(homepageSectionId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Number | Id of homepage section | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Homepage] searchHomepages(opts)
Search Homepages
Search Homepages 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.HomepageApi();
var opts = {
'title': "title_example", // String | Matches homepage title.
'createdAt': "createdAt_example", // String | Matches the timestamp for when the homepage was created.
'firstName': "firstName_example", // String | The first name of the user who created this homepage.
'lastName': "lastName_example", // String | The last name of the user who created this homepage.
'fields': "fields_example", // String | Requested fields.
'favorited': true, // Boolean | Return favorited homepages when true.
'sorts': "sorts_example", // String | The fields to sort the results by
'page': 789, // Number | The page to return.
'perPage': 789, // Number | The number of items in the returned page.
'offset': 789, // Number | The number of items to skip before returning any. (used with limit and takes priority over page and per_page)
'limit': 789, // Number | The maximum number of items to return. (used with offset and takes priority over page and per_page)
'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.searchHomepages(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
title | String | Matches homepage title. | [optional] |
createdAt | String | Matches the timestamp for when the homepage was created. | [optional] |
firstName | String | The first name of the user who created this homepage. | [optional] |
lastName | String | The last name of the user who created this homepage. | [optional] |
fields | String | Requested fields. | [optional] |
favorited | Boolean | Return favorited homepages when true. | [optional] |
sorts | String | The fields to sort the results by | [optional] |
page | Number | The page to return. | [optional] |
perPage | Number | The number of items in the returned page. | [optional] |
offset | Number | The number of items to skip before returning any. (used with limit and takes priority over page and per_page) | [optional] |
limit | Number | The maximum number of items to return. (used with offset and takes priority over page and per_page) | [optional] |
filterOr | Boolean | Combine given search criteria in a boolean OR expression | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Homepage updateHomepage(homepageId, body, opts)
Update Homepage
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageId = 789; // Number | Id of homepage
var body = new LookerApi31Reference.Homepage(); // Homepage | Homepage
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.updateHomepage(homepageId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageId | Number | Id of homepage | |
body | Homepage | Homepage | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageItem updateHomepageItem(homepageItemId, body, opts)
Update Homepage Item
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageItemId = 789; // Number | Id of homepage item
var body = new LookerApi31Reference.HomepageItem(); // HomepageItem | Homepage Item
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.updateHomepageItem(homepageItemId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Number | Id of homepage item | |
body | HomepageItem | Homepage Item | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageSection updateHomepageSection(homepageSectionId, body, opts)
Update Homepage section
var LookerApi31Reference = require('looker-node-api');
var apiInstance = new LookerApi31Reference.HomepageApi();
var homepageSectionId = 789; // Number | Id of homepage section
var body = new LookerApi31Reference.HomepageSection(); // HomepageSection | Homepage section
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.updateHomepageSection(homepageSectionId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Number | Id of homepage section | |
body | HomepageSection | Homepage section | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json