mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
4.2 KiB
4.2 KiB
GetTopWatchedContentRequest
Example Usage
import {
GetTopWatchedContentQueryParamIncludeGuids,
GetTopWatchedContentQueryParamType,
GetTopWatchedContentRequest,
} from "@lukehagar/plexjs/sdk/models/operations";
let value: GetTopWatchedContentRequest = {
type: GetTopWatchedContentQueryParamType.TvShow,
includeGuids: GetTopWatchedContentQueryParamIncludeGuids.Enable,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type |
operations.GetTopWatchedContentQueryParamType | ✔️ | The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries |
2 |
includeGuids |
operations.GetTopWatchedContentQueryParamIncludeGuids | ➖ | Adds the Guid object to the response |
1 |