@ctrl/plex
    Preparing search index...

    Class MyPlexResource

    This object represents resources connected to your Plex server that can provide content such as Plex Media Servers, iPhone or Android clients, etc.

    Index
    accessToken: string

    This resources accesstoken

    account: MyPlexAccount
    clientIdentifier: string

    Unique ID for this resource

    connections: ResourceConnection[]

    List of !:class!:~myplex.ResourceConnection objects for this resource

    createdAt: Date

    Timestamp this resource first connected to your server

    device: string | null

    Best guess on the type of device this is (PS, iPhone, Linux, etc)

    dnsRebindingProtection?: boolean

    True if the server has DNS rebinding protection enabled.

    home: boolean

    Unknown

    httpsRequired: boolean

    True if the server requires secure connections.

    lastSeenAt: Date

    Timestamp this resource last connected

    name: string

    Descriptive name of this resource

    natLoopbackSupported?: boolean

    True if the server supports NAT loopback.

    owned: boolean

    True if this resource is one of your own (you logged into it)

    ownerId: number | null

    Account id of the owner for shared resources, null when owned.

    platform: string

    OS the resource is running (Linux, Windows, Chrome, etc.)

    platformVersion: string

    Version of the platform

    presence: boolean

    True if the resource is online

    product: string

    Plex product (Plex Media Server, Plex for iOS, Plex Web, etc.)

    productVersion: string

    Version of the product.

    provides: string

    List of services this resource provides (client, server, player, pubsub-player, etc.)

    publicAddress: string

    Public IP address of the resource.

    publicAddressMatches: boolean

    True if the public address matches the address this request came from.

    relay: boolean

    True if the resource allows relay connections.

    searchEnabled?: boolean

    True if the resource is searchable from Plex's universal search.

    sourceTitle: string | null

    Owner name for shared resources, null when owned.

    synced: boolean

    Unknown (possibly True if the resource has synced content?)

    TAG: string = 'Device'
    key: string = 'https://plex.tv/api/v2/resources?includeHttps=1&includeRelay=1&includeIPv6=1'
    • Remove this device from your account

      Returns Promise<void>