mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.0 KiB
5.0 KiB
Feature
Example Usage
import { Feature } from "@lukehagar/plexjs/sdk/models/operations";
let value: Feature = {
type: "<value>",
flavor: "global",
scrobbleKey: "/:/scrobble/new",
unscrobbleKey: "/:/unscrobble/new",
action: [
{
id: "addToContinueWatching",
key: "/actions/addToContinueWatching",
},
],
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
key |
string | ➖ | N/A | |
type |
string | ✔️ | N/A | |
flavor |
string | ➖ | N/A | global |
scrobbleKey |
string | ➖ | N/A | /:/scrobble/new |
unscrobbleKey |
string | ➖ | N/A | /:/unscrobble/new |
directory |
operations.GetMediaProvidersDirectory[] | ➖ | N/A | |
action |
operations.Action[] | ➖ | N/A |