- Source
Methods
(static) DeleteRating(userid, itemid) → {dynamic}
Deletes a user's saved personal rating for an item.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) GetGroupingOptions(id) → {dynamic}
Get user view grouping options.
| Name | Type | Description |
|---|---|---|
id | string |
- Source
- Type:
- dynamic
(static) GetImageURL(id, imagetypeopt, imageindexopt, paramsopt) → {dynamic}
Get user profile image URL.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
imagetype | string | <optional> | "primary" | |
imageindex | integer | <optional> | 0 | |
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetIntros(userid, itemid) → {dynamic}
Gets intros to play before the main media item plays.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) GetItem(userid, itemid, paramsopt) → {dynamic}
Gets an item from a user's library.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetItemsByQuery(id, paramsopt) → {dynamic}
Gets items based on a query.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetLatestMedia(userid, paramsopt) → {dynamic}
Gets latest media.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetLocalTrailers(userid, itemid) → {dynamic}
Gets local trailers for an item.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) GetResumeItemsByQuery(id, paramsopt) → {dynamic}
Gets resumable items.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetRoot(userid) → {dynamic}
Gets the root folder from a user's library.
| Name | Type | Description |
|---|---|---|
userid | string |
- Source
- Type:
- dynamic
(static) GetSpecialFeatures(userid, itemid) → {dynamic}
Gets special features for an item.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) GetSuggestions(id, paramsopt) → {dynamic}
Gets suggestions.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) GetViews(id, paramsopt) → {dynamic}
Get user views.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) HeadImageURL(id, imagetypeopt, imageindexopt, paramsopt) → {dynamic}
HEAD user profile image.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
imagetype | string | <optional> | "primary" | |
imageindex | integer | <optional> | 0 | |
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) MarkFavorite(userid, itemid) → {dynamic}
Marks an item as a favorite.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) MarkPlayed(userid, itemid, paramsopt) → {dynamic}
Marks an item as played for user.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) MarkPlaying(userid, itemid, paramsopt) → {dynamic}
Reports that a user has begun playing an item.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) MarkStoppedPlaying(userid, itemid, paramsopt) → {dynamic}
Reports that a user has stopped playing an item.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) ReportPlayProgress(userid, itemid, paramsopt) → {dynamic}
Reports a user's playback progress.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) UnmarkFavorite(userid, itemid) → {dynamic}
Unmarks item as a favorite.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) UnmarkPlayed(userid, itemid) → {dynamic}
Marks an item as unplayed for user.
| Name | Type | Description |
|---|---|---|
userid | string | |
itemid | string |
- Source
- Type:
- dynamic
(static) UpdateConfiguration(id, bodyopt) → {dynamic}
Updates a user configuration.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
body | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) UpdatePassword(id, bodyopt) → {dynamic}
Updates a user's password.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
id | string | |||
body | object | <optional> | {} |
- Source
- Type:
- dynamic
(static) UpdateRating(userid, itemid, paramsopt) → {dynamic}
Updates a user's rating for an item.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
userid | string | |||
itemid | string | |||
params | object | <optional> | {} |
- Source
- Type:
- dynamic