mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.3 KiB
3.3 KiB
CreatePlaylistRequest
Example Usage
import { CreatePlaylistQueryParamType, CreatePlaylistRequest, Smart } from "@lukehagar/plexjs/sdk/models/operations";
let value: CreatePlaylistRequest = {
title: "<value>",
type: CreatePlaylistQueryParamType.Photo,
smart: Smart.One,
uri: "https://firsthand-section.biz",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
title |
string | ✔️ | name of the playlist |
type |
operations.CreatePlaylistQueryParamType | ✔️ | type of playlist to create |
smart |
operations.Smart | ✔️ | whether the playlist is smart or not |
uri |
string | ✔️ | the content URI for the playlist |
playQueueID |
number | ➖ | the play queue to copy to a playlist |