mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 12:37:45 +00:00
6.7 KiB
6.7 KiB
Role
Example Usage
import { Role } from "@lukehagar/plexjs/sdk/models/operations";
let value: Role = {
id: 126522,
filter: "actor=126522",
tag: "Teller",
tagKey: "5d77683d85719b001f3a535e",
role: "Self - Judge",
thumb:
"https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
number | ✔️ | The unique identifier for the role. NOTE: This is different for each Plex server and is not globally unique. |
126522 |
filter |
string | ✔️ | The filter string used to query this actor. For example, it may indicate that this is an actor with a given key. | actor=126522 |
tag |
string | ✔️ | The display tag for the actor (typically the actor's name). | Teller |
tagKey |
string | ✔️ | A 24-character hexadecimal unique key associated with the actor's tag, used for internal identification. NOTE: This is globally unique across all Plex Servers. |
5d77683d85719b001f3a535e |
role |
string | ➖ | The role played by the actor in the media item. | Self - Judge |
thumb |
string | ➖ | The absolute URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |