Files
plexjs/docs/sdk/models/operations/gettopwatchedcontentrequest.md

3.8 KiB
Raw Blame History

GetTopWatchedContentRequest

Example Usage

import { GetTopWatchedContentQueryParamType, GetTopWatchedContentRequest } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetTopWatchedContentRequest = {
  type: GetTopWatchedContentQueryParamType.TvShow,
  includeGuids: 1,
};

Fields

Field Type Required Description Example
type operations.GetTopWatchedContentQueryParamType ✔️ The type of media to retrieve.
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 number Adds the Guids object to the response
1