Files
plexjs/docs/sdk/models/operations/getmyplexaccountresponse.md
2024-09-08 03:06:14 +00:00

3.7 KiB
Raw Blame History

GetMyPlexAccountResponse

Example Usage

import { GetMyPlexAccountResponse } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetMyPlexAccountResponse = {
    contentType: "<value>",
    statusCode: 857946,
    rawResponse: new Response('{"message": "hello world"}', {
        headers: { "Content-Type": "application/json" },
    }),
    object: {
        myPlex: {
            authToken: "Z5v-PrNASDFpsaCi3CPK7",
            username: "example.email@mail.com",
            mappingState: "mapped",
            signInState: "ok",
            publicAddress: "140.20.68.140",
            publicPort: 32400,
            privateAddress: "10.10.10.47",
            privatePort: 32400,
            subscriptionFeatures:
                "federated-auth,hardware_transcoding,home,hwtranscode,item_clusters,kevin-bacon,livetv,loudness,lyrics,music-analysis,music_videos,pass,photo_autotags,photos-v5,photosV6-edit,photosV6-tv-albums,premium_music_metadata,radio,server-manager,session_bandwidth_restrictions,session_kick,shared-radio,sync,trailers,tuner-sharing,type-first,unsupportedtuners,webhooks",
            subscriptionState: "Active",
        },
    },
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
object operations.GetMyPlexAccountResponseBody MyPlex Account