All URIs are relative to https://demo.looker.com:19999/api/3.0
| Method | HTTP request | Description |
|---|---|---|
| all_content_metadata_accesss | GET /content_metadata_access | Get All Content Metadata Accesss |
| all_content_metadatas | GET /content_metadata | Get All Content Metadatas |
| content_favorite | GET /content_favorite/{content_favorite_id} | Get Favorite Content |
| content_metadata | GET /content_metadata/{content_metadata_id} | Get Content Metadata |
| create_content_favorite | POST /content_favorite | Create Favorite Content |
| create_content_metadata_access | POST /content_metadata_access | Create Content Metadata Access |
| delete_content_favorite | DELETE /content_favorite/{content_favorite_id} | Delete Favorite Content |
| delete_content_metadata_access | DELETE /content_metadata_access/{content_metadata_access_id} | Delete Content Metadata Access |
| search_content_favorites | GET /content_favorite/search | Search Favorite Contents |
| search_content_views | GET /content_view/search | Search Content Views |
| update_content_metadata | PATCH /content_metadata/{content_metadata_id} | Update Content Metadata |
| update_content_metadata_access | PUT /content_metadata_access/{content_metadata_access_id} | Update Content Metadata Access |
list[ContentMetaGroupUser] all_content_metadata_accesss(content_metadata_id=content_metadata_id, fields=fields)
Get All Content Metadata Accesss
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_metadata_id = 789 # int | Id of content metadata (optional)
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get All Content Metadata Accesss
api_response = api_instance.all_content_metadata_accesss(content_metadata_id=content_metadata_id, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->all_content_metadata_accesss: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_metadata_id | int | Id of content metadata | [optional] |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[ContentMeta] all_content_metadatas(parent_id, fields=fields)
Get All Content Metadatas
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
parent_id = 789 # int | Parent space of content.
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get All Content Metadatas
api_response = api_instance.all_content_metadatas(parent_id, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->all_content_metadatas: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| parent_id | int | Parent space of content. | |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentFavorite content_favorite(content_favorite_id, fields=fields)
Get Favorite Content
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_favorite_id = 789 # int | Id of favorite content
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get Favorite Content
api_response = api_instance.content_favorite(content_favorite_id, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->content_favorite: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_favorite_id | int | Id of favorite content | |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentMeta content_metadata(content_metadata_id, fields=fields)
Get Content Metadata
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_metadata_id = 789 # int | Id of content metadata
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get Content Metadata
api_response = api_instance.content_metadata(content_metadata_id, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->content_metadata: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_metadata_id | int | Id of content metadata | |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentFavorite create_content_favorite(body=body)
Create Favorite Content
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
body = lookerapi.ContentFavorite() # ContentFavorite | Favorite Content (optional)
try:
# Create Favorite Content
api_response = api_instance.create_content_favorite(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->create_content_favorite: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | ContentFavorite | Favorite Content | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentMetaGroupUser create_content_metadata_access(body=body)
Create Content Metadata Access
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
body = lookerapi.ContentMetaGroupUser() # ContentMetaGroupUser | Content Metadata Access (optional)
try:
# Create Content Metadata Access
api_response = api_instance.create_content_metadata_access(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->create_content_metadata_access: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | ContentMetaGroupUser | Content Metadata Access | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str delete_content_favorite(content_favorite_id)
Delete Favorite Content
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_favorite_id = 789 # int | Id of favorite content
try:
# Delete Favorite Content
api_response = api_instance.delete_content_favorite(content_favorite_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->delete_content_favorite: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_favorite_id | int | Id of favorite content |
str
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str delete_content_metadata_access(content_metadata_access_id)
Delete Content Metadata Access
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_metadata_access_id = 789 # int | Id of content metadata access
try:
# Delete Content Metadata Access
api_response = api_instance.delete_content_metadata_access(content_metadata_access_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->delete_content_metadata_access: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_metadata_access_id | int | Id of content metadata access |
str
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[ContentFavorite] search_content_favorites(user_id=user_id, limit=limit, offset=offset, sorts=sorts, fields=fields)
Search Favorite Contents
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
user_id = 789 # int | Match User Id (optional)
limit = 789 # int | Number of results to return. (used with offset) (optional)
offset = 789 # int | Number of results to skip before returning any. (used with limit) (optional)
sorts = 'sorts_example' # str | Fields to sort by. (optional)
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Search Favorite Contents
api_response = api_instance.search_content_favorites(user_id=user_id, limit=limit, offset=offset, sorts=sorts, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->search_content_favorites: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| user_id | int | Match User Id | [optional] |
| limit | int | Number of results to return. (used with offset) | [optional] |
| offset | int | Number of results to skip before returning any. (used with limit) | [optional] |
| sorts | str | Fields to sort by. | [optional] |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[ContentView] search_content_views(view_count=view_count, group_id=group_id, look_id=look_id, dashboard_id=dashboard_id, content_metadata_id=content_metadata_id, start_of_week_date=start_of_week_date, all_time=all_time, user_id=user_id, limit=limit, offset=offset, sorts=sorts, fields=fields)
Search Content Views
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
view_count = 789 # int | Match view count (optional)
group_id = 789 # int | Match Group Id (optional)
look_id = 'look_id_example' # str | Match look_id (optional)
dashboard_id = 'dashboard_id_example' # str | Match dashboard_id (optional)
content_metadata_id = 789 # int | Match content metadata id (optional)
start_of_week_date = 'start_of_week_date_example' # str | Match start of week date (optional)
all_time = true # bool | True if only all time view records should be returned (optional)
user_id = 789 # int | Match user id (optional)
limit = 789 # int | Number of results to return. Use with `offset` to manage pagination of results (optional)
offset = 789 # int | Number of results to skip before returning data (optional)
sorts = 'sorts_example' # str | Fields to sort by (optional)
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Search Content Views
api_response = api_instance.search_content_views(view_count=view_count, group_id=group_id, look_id=look_id, dashboard_id=dashboard_id, content_metadata_id=content_metadata_id, start_of_week_date=start_of_week_date, all_time=all_time, user_id=user_id, limit=limit, offset=offset, sorts=sorts, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->search_content_views: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| view_count | int | Match view count | [optional] |
| group_id | int | Match Group Id | [optional] |
| look_id | str | Match look_id | [optional] |
| dashboard_id | str | Match dashboard_id | [optional] |
| content_metadata_id | int | Match content metadata id | [optional] |
| start_of_week_date | str | Match start of week date | [optional] |
| all_time | bool | True if only all time view records should be returned | [optional] |
| user_id | int | Match user id | [optional] |
| limit | int | Number of results to return. Use with `offset` to manage pagination of results | [optional] |
| offset | int | Number of results to skip before returning data | [optional] |
| sorts | str | Fields to sort by | [optional] |
| fields | str | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentMeta update_content_metadata(content_metadata_id, body)
Update Content Metadata
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_metadata_id = 789 # int | Id of content metadata
body = lookerapi.ContentMeta() # ContentMeta | Content Metadata
try:
# Update Content Metadata
api_response = api_instance.update_content_metadata(content_metadata_id, body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->update_content_metadata: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_metadata_id | int | Id of content metadata | |
| body | ContentMeta | Content Metadata |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentMetaGroupUser update_content_metadata_access(content_metadata_access_id, body)
Update Content Metadata Access
from __future__ import print_statement
import time
import lookerapi
from lookerapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerapi.ContentApi()
content_metadata_access_id = 789 # int | Id of content metadata access
body = lookerapi.ContentMetaGroupUser() # ContentMetaGroupUser | Content Metadata Access
try:
# Update Content Metadata Access
api_response = api_instance.update_content_metadata_access(content_metadata_access_id, body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentApi->update_content_metadata_access: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| content_metadata_access_id | int | Id of content metadata access | |
| body | ContentMetaGroupUser | Content Metadata Access |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]