user_views_controller = client.user_views
UserViewsController
Get user view grouping options.
def get_grouping_options(self,
user_id)
Parameter | Type | Tags | Description |
---|---|---|---|
user_id |
uuid|string |
Template, Required | User id. |
user_id = '000013ec-0000-0000-0000-000000000000'
result = user_views_controller.get_grouping_options(user_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | User not found. | ProblemDetailsException |
Get user views.
def get_user_views(self,
user_id,
include_external_content=None,
preset_views=None,
include_hidden=False)
Parameter | Type | Tags | Description |
---|---|---|---|
user_id |
uuid|string |
Template, Required | User id. |
include_external_content |
bool |
Query, Optional | Whether or not to include external views such as channels or live tv. |
preset_views |
List of string |
Query, Optional | Preset views. |
include_hidden |
bool |
Query, Optional | Whether or not to include hidden content. Default: False |
user_id = '000013ec-0000-0000-0000-000000000000'
include_hidden = False
result = user_views_controller.get_user_views(user_id, None, None, include_hidden)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |