mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
4.1 KiB
4.1 KiB
GetPlaylistContentsRequest
Example Usage
import { GetPlaylistContentsQueryParamType, GetPlaylistContentsRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetPlaylistContentsRequest = {
playlistID: 5182.01,
type: GetPlaylistContentsQueryParamType.TvShow,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
playlistID |
number | ✔️ | the ID of the playlist | |
type |
operations.GetPlaylistContentsQueryParamType | ✔️ | 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 |