All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allHomepageItems | GET /homepage_items | Get All Homepage Items |
allHomepageSections | GET /homepage_sections | Get All Homepage sections |
createHomepageItem | POST /homepage_items | Create Homepage Item |
createHomepageSection | POST /homepage_sections | Create Homepage section |
deleteHomepageItem | DELETE /homepage_items/{homepage_item_id} | Delete Homepage Item |
deleteHomepageSection | DELETE /homepage_sections/{homepage_section_id} | Delete Homepage section |
homepageItem | GET /homepage_items/{homepage_item_id} | Get Homepage Item |
homepageSection | GET /homepage_sections/{homepage_section_id} | Get Homepage section |
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 LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.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);
}
};
api.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 LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.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);
}
};
api.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
HomepageItem createHomepageItem(opts)
Create Homepage Item
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var opts = {
'body': new LookerApi30Reference.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);
}
};
api.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 LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var opts = {
'body': new LookerApi30Reference.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);
}
};
api.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' deleteHomepageItem(homepageItemId)
Delete Homepage Item
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageItemId = 789; // {Integer} Id of homepage_item
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteHomepageItem(homepageItemId, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Integer | Id of homepage_item |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteHomepageSection(homepageSectionId)
Delete Homepage section
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageSectionId = 789; // {Integer} Id of homepage_section
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteHomepageSection(homepageSectionId, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Integer | Id of homepage_section |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageItem homepageItem(homepageItemId, opts)
Get Homepage Item
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageItemId = 789; // {Integer} 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);
}
};
api.homepageItem(homepageItemId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Integer | 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 LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageSectionId = 789; // {Integer} 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);
}
};
api.homepageSection(homepageSectionId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Integer | Id of homepage section | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
HomepageItem updateHomepageItem(homepageItemId, body, opts)
Update Homepage Item
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageItemId = 789; // {Integer} Id of homepage item
var body = new LookerApi30Reference.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);
}
};
api.updateHomepageItem(homepageItemId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageItemId | Integer | 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 LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.HomepageApi()
var homepageSectionId = 789; // {Integer} Id of homepage section
var body = new LookerApi30Reference.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);
}
};
api.updateHomepageSection(homepageSectionId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
homepageSectionId | Integer | Id of homepage section | |
body | HomepageSection | Homepage section | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json