All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allContentMetadataAccesss | GET /content_metadata_access | Get All Content Metadata Accesss |
allContentMetadatas | GET /content_metadata | Get All Content Metadatas |
contentFavorite | GET /content_favorite/{content_favorite_id} | Get Favorite Content |
contentMetadata | GET /content_metadata/{content_metadata_id} | Get Content Metadata |
createContentFavorite | POST /content_favorite | Create Favorite Content |
createContentMetadataAccess | POST /content_metadata_access | Create Content Metadata Access |
deleteContentFavorite | DELETE /content_favorite/{content_favorite_id} | Delete Favorite Content |
deleteContentMetadataAccess | DELETE /content_metadata_access/{content_metadata_access_id} | Delete Content Metadata Access |
searchContentFavorites | GET /content_favorite/search | Search Favorite Contents |
searchContentViews | GET /content_view/search | Search Content Views |
updateContentMetadata | PATCH /content_metadata/{content_metadata_id} | Update Content Metadata |
updateContentMetadataAccess | PUT /content_metadata_access/{content_metadata_access_id} | Update Content Metadata Access |
[ContentMetaGroupUser] allContentMetadataAccesss(opts)
Get All Content Metadata Accesss
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var opts = {
'contentMetadataId': 789, // {Integer} Id of content metadata
'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.allContentMetadataAccesss(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentMetadataId | Integer | Id of content metadata | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ContentMeta] allContentMetadatas(parentId, opts)
Get All Content Metadatas
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var parentId = 789; // {Integer} Parent space of content.
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.allContentMetadatas(parentId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
parentId | Integer | Parent space of content. | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentFavorite contentFavorite(contentFavoriteId, opts)
Get Favorite Content
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentFavoriteId = 789; // {Integer} Id of favorite content
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.contentFavorite(contentFavoriteId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentFavoriteId | Integer | Id of favorite content | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentMeta contentMetadata(contentMetadataId, opts)
Get Content Metadata
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentMetadataId = 789; // {Integer} Id of content metadata
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.contentMetadata(contentMetadataId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentMetadataId | Integer | Id of content metadata | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentFavorite createContentFavorite(opts)
Create Favorite Content
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var opts = {
'body': new LookerApi30Reference.ContentFavorite() // {ContentFavorite} Favorite Content
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createContentFavorite(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | ContentFavorite | Favorite Content | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentMetaGroupUser createContentMetadataAccess(opts)
Create Content Metadata Access
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var opts = {
'body': new LookerApi30Reference.ContentMetaGroupUser() // {ContentMetaGroupUser} Content Metadata Access
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createContentMetadataAccess(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | ContentMetaGroupUser | Content Metadata Access | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteContentFavorite(contentFavoriteId)
Delete Favorite Content
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentFavoriteId = 789; // {Integer} Id of favorite content
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteContentFavorite(contentFavoriteId, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentFavoriteId | Integer | Id of favorite content |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteContentMetadataAccess(contentMetadataAccessId)
Delete Content Metadata Access
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentMetadataAccessId = 789; // {Integer} Id of content metadata access
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteContentMetadataAccess(contentMetadataAccessId, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentMetadataAccessId | Integer | Id of content metadata access |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
[ContentFavorite] searchContentFavorites(opts)
Search Favorite Contents
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var opts = {
'userId': 789, // {Integer} Match User Id
'limit': 789, // {Integer} Number of results to return. (used with offset)
'offset': 789, // {Integer} Number of results to skip before returning any. (used with limit)
'sorts': "sorts_example", // {String} Fields to sort by.
'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.searchContentFavorites(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
userId | Integer | Match User Id | [optional] |
limit | Integer | Number of results to return. (used with offset) | [optional] |
offset | Integer | Number of results to skip before returning any. (used with limit) | [optional] |
sorts | String | Fields to sort by. | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ContentView] searchContentViews(opts)
Search Content Views
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var opts = {
'viewCount': 789, // {Integer} Match view count
'groupId': 789, // {Integer} Match Group Id
'contentType': "contentType_example", // {String} Type of content to report on
'limit': 789, // {Integer} Number of results to return. Use with `offset` to manage pagination of results
'offset': 789, // {Integer} Number of results to skip before returning data
'userId': 789, // {Integer} Match user id
'sorts': "sorts_example", // {String} Fields to sort by
'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.searchContentViews(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
viewCount | Integer | Match view count | [optional] |
groupId | Integer | Match Group Id | [optional] |
contentType | String | Type of content to report on | [optional] |
limit | Integer | Number of results to return. Use with offset to manage pagination of results |
[optional] |
offset | Integer | Number of results to skip before returning data | [optional] |
userId | Integer | Match user id | [optional] |
sorts | String | Fields to sort by | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentMeta updateContentMetadata(contentMetadataId, body)
Update Content Metadata
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentMetadataId = 789; // {Integer} Id of content metadata
var body = new LookerApi30Reference.ContentMeta(); // {ContentMeta} Content Metadata
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateContentMetadata(contentMetadataId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentMetadataId | Integer | Id of content metadata | |
body | ContentMeta | Content Metadata |
No authorization required
- Content-Type: application/json
- Accept: application/json
ContentMetaGroupUser updateContentMetadataAccess(contentMetadataAccessId, body)
Update Content Metadata Access
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ContentApi()
var contentMetadataAccessId = 789; // {Integer} Id of content metadata access
var body = new LookerApi30Reference.ContentMetaGroupUser(); // {ContentMetaGroupUser} Content Metadata Access
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateContentMetadataAccess(contentMetadataAccessId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
contentMetadataAccessId | Integer | Id of content metadata access | |
body | ContentMetaGroupUser | Content Metadata Access |
No authorization required
- Content-Type: application/json
- Accept: application/json