mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
4.7 KiB
4.7 KiB
ModifyPlaylistGeneratorItem
Note: OpenAPI cannot properly render this query parameter example (See GHI). It should be rendered as:
Item[type]=42&Item[title]=Jack-Jack Attack&Item[target]=&Item[targetTagID]=1&Item[locationID]=-1&Item[Location][uri]=library://82503060-0d68-4603-b594-8b071d54819e/item//library/metadata/146&Item[Policy][scope]=all&Item[Policy][value]=&Item[Policy][unwatched]=0
Example Usage
import { ModifyPlaylistGeneratorItem, ModifyPlaylistGeneratorScope } from "@lukehagar/plexjs/models/operations";
let value: ModifyPlaylistGeneratorItem = {
location: {
uri:
"library://82503060-0d68-4603-b594-8b071d54819e/item/%2Flibrary%2Fmetadata%2F146",
},
locationID: -1,
policy: {
value: NaN,
scope: ModifyPlaylistGeneratorScope.All,
},
target: "",
targetTagID: 1,
title: "Jack-Jack Attack",
type: 42,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
location |
operations.ModifyPlaylistGeneratorLocation | ➖ | N/A |
locationID |
number | ➖ | N/A |
policy |
operations.ModifyPlaylistGeneratorPolicy | ➖ | N/A |
target |
string | ➖ | N/A |
targetTagID |
number | ➖ | N/A |
title |
string | ➖ | N/A |
type |
number | ➖ | N/A |