Compare commits

..

16 Commits

Author SHA1 Message Date
speakeasybot
d83bd96c5f ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2 2024-09-19 00:11:05 +00:00
speakeasybot
2289036c2b ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2 2024-09-18 15:03:35 +00:00
speakeasybot
a7eedd3598 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.1 2024-09-18 14:12:18 +00:00
speakeasybot
e579b8d23b ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.0 2024-09-18 03:04:05 +00:00
speakeasybot
fd429e38e0 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2 2024-09-16 18:37:41 +00:00
Luke Hagar
2b4a59f67f Update workflow.yaml 2024-09-16 13:13:31 -05:00
speakeasybot
6268a854c1 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.9 2024-09-16 00:11:15 +00:00
speakeasybot
d061e9c253 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.9 2024-09-15 00:11:43 +00:00
speakeasybot
fcfb68eec7 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.9 2024-09-14 00:10:26 +00:00
speakeasybot
37dabea51a ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.6 2024-09-13 00:11:01 +00:00
speakeasybot
f47e4b689b ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.2 2024-09-12 00:10:54 +00:00
speakeasybot
04130d41d4 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.395.1 2024-09-11 00:10:56 +00:00
speakeasybot
393db01a6c ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.394.0 2024-09-10 00:11:01 +00:00
speakeasybot
41621a4bbd ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.393.2 2024-09-09 20:37:28 +00:00
Luke Hagar
05f0b1a99a Merge branch 'main' of https://github.com/LukeHagar/plexgo 2024-09-09 18:31:13 +00:00
Luke Hagar
0ce63f1ceb swapped to direct updates 2024-09-09 18:18:14 +00:00
303 changed files with 3109 additions and 2237 deletions

View File

@@ -21,7 +21,7 @@ jobs:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
mode: direct
set_version: ${{ github.event.inputs.set_version }}
speakeasy_version: latest
secrets:

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
management:
docChecksum: 06023774169418572a5ebabe14a70f3f
docChecksum: 5bf578a672589649d8ed83c3927c50a6
docVersion: 0.0.3
speakeasyVersion: 1.393.1
generationVersion: 2.413.0
releaseVersion: 0.11.1
configChecksum: 82d2664097fb7735d616a6cfb85ff21c
speakeasyVersion: 1.399.2
generationVersion: 2.416.6
releaseVersion: 0.11.14
configChecksum: bbc7c332f52b85ec1508e1a03c081474
repoURL: https://github.com/LukeHagar/plexgo.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexgo
@@ -15,7 +15,7 @@ features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.5.6
core: 3.5.8
defaultEnabledRetries: 0.2.0
deprecations: 2.81.1
downloadStreams: 0.1.2
@@ -89,11 +89,11 @@ generatedFiles:
- /models/operations/getthumbimage.go
- /models/operations/gettimeline.go
- /models/operations/gettokenbypinid.go
- /models/operations/gettokendetails.go
- /models/operations/gettopwatchedcontent.go
- /models/operations/gettranscodesessions.go
- /models/operations/gettransienttoken.go
- /models/operations/getupdatestatus.go
- /models/operations/getuserdetails.go
- /models/operations/getuserfriends.go
- /models/operations/getwatchlist.go
- /models/operations/logline.go
@@ -163,11 +163,11 @@ generatedFiles:
- /models/sdkerrors/getthumbimage.go
- /models/sdkerrors/gettimeline.go
- /models/sdkerrors/gettokenbypinid.go
- /models/sdkerrors/gettokendetails.go
- /models/sdkerrors/gettopwatchedcontent.go
- /models/sdkerrors/gettranscodesessions.go
- /models/sdkerrors/gettransienttoken.go
- /models/sdkerrors/getupdatestatus.go
- /models/sdkerrors/getuserdetails.go
- /models/sdkerrors/getuserfriends.go
- /models/sdkerrors/getwatchlist.go
- /models/sdkerrors/logline.go
@@ -441,6 +441,13 @@ generatedFiles:
- docs/models/operations/gettokenbypinidglobals.md
- docs/models/operations/gettokenbypinidrequest.md
- docs/models/operations/gettokenbypinidresponse.md
- docs/models/operations/gettokendetailsauthenticationresponsestatus.md
- docs/models/operations/gettokendetailsauthenticationstatus.md
- docs/models/operations/gettokendetailsfeatures.md
- docs/models/operations/gettokendetailsresponse.md
- docs/models/operations/gettokendetailsstatus.md
- docs/models/operations/gettokendetailssubscription.md
- docs/models/operations/gettokendetailsuserplexaccount.md
- docs/models/operations/gettopwatchedcontentcountry.md
- docs/models/operations/gettopwatchedcontentgenre.md
- docs/models/operations/gettopwatchedcontentguids.md
@@ -460,14 +467,6 @@ generatedFiles:
- docs/models/operations/getupdatestatusmediacontainer.md
- docs/models/operations/getupdatestatusresponse.md
- docs/models/operations/getupdatestatusresponsebody.md
- docs/models/operations/getuserdetailsauthenticationresponsestatus.md
- docs/models/operations/getuserdetailsauthenticationstatus.md
- docs/models/operations/getuserdetailsfeatures.md
- docs/models/operations/getuserdetailsrequest.md
- docs/models/operations/getuserdetailsresponse.md
- docs/models/operations/getuserdetailsstatus.md
- docs/models/operations/getuserdetailssubscription.md
- docs/models/operations/getuserdetailsuserplexaccount.md
- docs/models/operations/getuserfriendsresponse.md
- docs/models/operations/getwatchlistrequest.md
- docs/models/operations/getwatchlistresponse.md
@@ -593,297 +592,297 @@ generatedFiles:
- docs/models/operations/userprofile.md
- docs/models/operations/watchedindicator.md
- docs/models/operations/writer.md
- docs/models/sdkerrors/addplaylistcontentsbadrequest.md
- docs/models/sdkerrors/addplaylistcontentserrors.md
- docs/models/sdkerrors/addplaylistcontentsplaylistserrors.md
- docs/models/sdkerrors/addplaylistcontentsplaylistsresponsebody.md
- docs/models/sdkerrors/addplaylistcontentsresponsebody.md
- docs/models/sdkerrors/addplaylistcontentsunauthorized.md
- docs/models/sdkerrors/applyupdatesbadrequest.md
- docs/models/sdkerrors/applyupdateserrors.md
- docs/models/sdkerrors/applyupdatesresponsebody.md
- docs/models/sdkerrors/applyupdatesunauthorized.md
- docs/models/sdkerrors/applyupdatesupdatererrors.md
- docs/models/sdkerrors/applyupdatesupdaterresponsebody.md
- docs/models/sdkerrors/cancelserveractivitiesactivitieserrors.md
- docs/models/sdkerrors/cancelserveractivitiesactivitiesresponsebody.md
- docs/models/sdkerrors/cancelserveractivitiesbadrequest.md
- docs/models/sdkerrors/cancelserveractivitieserrors.md
- docs/models/sdkerrors/cancelserveractivitiesresponsebody.md
- docs/models/sdkerrors/cancelserveractivitiesunauthorized.md
- docs/models/sdkerrors/checkforupdatesbadrequest.md
- docs/models/sdkerrors/checkforupdateserrors.md
- docs/models/sdkerrors/checkforupdatesresponsebody.md
- docs/models/sdkerrors/checkforupdatesunauthorized.md
- docs/models/sdkerrors/checkforupdatesupdatererrors.md
- docs/models/sdkerrors/checkforupdatesupdaterresponsebody.md
- docs/models/sdkerrors/clearplaylistcontentsbadrequest.md
- docs/models/sdkerrors/clearplaylistcontentserrors.md
- docs/models/sdkerrors/clearplaylistcontentsplaylistserrors.md
- docs/models/sdkerrors/clearplaylistcontentsplaylistsresponsebody.md
- docs/models/sdkerrors/clearplaylistcontentsresponsebody.md
- docs/models/sdkerrors/clearplaylistcontentsunauthorized.md
- docs/models/sdkerrors/createplaylistbadrequest.md
- docs/models/sdkerrors/createplaylisterrors.md
- docs/models/sdkerrors/createplaylistplaylistserrors.md
- docs/models/sdkerrors/createplaylistplaylistsresponsebody.md
- docs/models/sdkerrors/createplaylistresponsebody.md
- docs/models/sdkerrors/createplaylistunauthorized.md
- docs/models/sdkerrors/deletelibrarybadrequest.md
- docs/models/sdkerrors/deletelibraryerrors.md
- docs/models/sdkerrors/deletelibrarylibraryerrors.md
- docs/models/sdkerrors/deletelibrarylibraryresponsebody.md
- docs/models/sdkerrors/deletelibraryresponsebody.md
- docs/models/sdkerrors/deletelibraryunauthorized.md
- docs/models/sdkerrors/deleteplaylistbadrequest.md
- docs/models/sdkerrors/deleteplaylisterrors.md
- docs/models/sdkerrors/deleteplaylistplaylistserrors.md
- docs/models/sdkerrors/deleteplaylistplaylistsresponsebody.md
- docs/models/sdkerrors/deleteplaylistresponsebody.md
- docs/models/sdkerrors/deleteplaylistunauthorized.md
- docs/models/sdkerrors/enablepapertrailbadrequest.md
- docs/models/sdkerrors/enablepapertrailerrors.md
- docs/models/sdkerrors/enablepapertraillogerrors.md
- docs/models/sdkerrors/enablepapertraillogresponsebody.md
- docs/models/sdkerrors/enablepapertrailresponsebody.md
- docs/models/sdkerrors/enablepapertrailunauthorized.md
- docs/models/sdkerrors/errors.md
- docs/models/sdkerrors/getalllibrariesbadrequest.md
- docs/models/sdkerrors/getalllibrarieserrors.md
- docs/models/sdkerrors/getalllibrarieslibraryerrors.md
- docs/models/sdkerrors/getalllibrarieslibraryresponsebody.md
- docs/models/sdkerrors/getalllibrariesresponsebody.md
- docs/models/sdkerrors/getalllibrariesunauthorized.md
- docs/models/sdkerrors/getavailableclientsbadrequest.md
- docs/models/sdkerrors/getavailableclientserrors.md
- docs/models/sdkerrors/getavailableclientsresponsebody.md
- docs/models/sdkerrors/getavailableclientsservererrors.md
- docs/models/sdkerrors/getavailableclientsserverresponsebody.md
- docs/models/sdkerrors/getavailableclientsunauthorized.md
- docs/models/sdkerrors/getbandwidthstatisticsbadrequest.md
- docs/models/sdkerrors/getbandwidthstatisticserrors.md
- docs/models/sdkerrors/getbandwidthstatisticsresponsebody.md
- docs/models/sdkerrors/getbandwidthstatisticsstatisticserrors.md
- docs/models/sdkerrors/getbandwidthstatisticsstatisticsresponsebody.md
- docs/models/sdkerrors/getbandwidthstatisticsunauthorized.md
- docs/models/sdkerrors/getbannerimagebadrequest.md
- docs/models/sdkerrors/getbannerimageerrors.md
- docs/models/sdkerrors/getbannerimagemediaerrors.md
- docs/models/sdkerrors/getbannerimagemediaresponsebody.md
- docs/models/sdkerrors/getbannerimageresponsebody.md
- docs/models/sdkerrors/getbannerimageunauthorized.md
- docs/models/sdkerrors/getbutlertasksbadrequest.md
- docs/models/sdkerrors/getbutlertasksbutlererrors.md
- docs/models/sdkerrors/getbutlertasksbutlerresponsebody.md
- docs/models/sdkerrors/getbutlertaskserrors.md
- docs/models/sdkerrors/getbutlertasksresponsebody.md
- docs/models/sdkerrors/getbutlertasksunauthorized.md
- docs/models/sdkerrors/getcompanionsdatabadrequest.md
- docs/models/sdkerrors/getcompanionsdataerrors.md
- docs/models/sdkerrors/getcompanionsdataplexerrors.md
- docs/models/sdkerrors/getcompanionsdataplexresponsebody.md
- docs/models/sdkerrors/getcompanionsdataresponsebody.md
- docs/models/sdkerrors/getcompanionsdataunauthorized.md
- docs/models/sdkerrors/getdevicesbadrequest.md
- docs/models/sdkerrors/getdeviceserrors.md
- docs/models/sdkerrors/getdevicesresponsebody.md
- docs/models/sdkerrors/getdevicesservererrors.md
- docs/models/sdkerrors/getdevicesserverresponsebody.md
- docs/models/sdkerrors/getdevicesunauthorized.md
- docs/models/sdkerrors/getfilehashbadrequest.md
- docs/models/sdkerrors/getfilehasherrors.md
- docs/models/sdkerrors/getfilehashlibraryerrors.md
- docs/models/sdkerrors/getfilehashlibraryresponsebody.md
- docs/models/sdkerrors/getfilehashresponsebody.md
- docs/models/sdkerrors/getfilehashunauthorized.md
- docs/models/sdkerrors/getgeodatabadrequest.md
- docs/models/sdkerrors/getgeodataerrors.md
- docs/models/sdkerrors/getgeodataplexerrors.md
- docs/models/sdkerrors/getgeodataplexresponsebody.md
- docs/models/sdkerrors/getgeodataresponsebody.md
- docs/models/sdkerrors/getgeodataunauthorized.md
- docs/models/sdkerrors/getglobalhubsbadrequest.md
- docs/models/sdkerrors/getglobalhubserrors.md
- docs/models/sdkerrors/getglobalhubshubserrors.md
- docs/models/sdkerrors/getglobalhubshubsresponsebody.md
- docs/models/sdkerrors/getglobalhubsresponsebody.md
- docs/models/sdkerrors/getglobalhubsunauthorized.md
- docs/models/sdkerrors/gethomedatabadrequest.md
- docs/models/sdkerrors/gethomedataerrors.md
- docs/models/sdkerrors/gethomedataplexerrors.md
- docs/models/sdkerrors/gethomedataplexresponsebody.md
- docs/models/sdkerrors/gethomedataresponsebody.md
- docs/models/sdkerrors/gethomedataunauthorized.md
- docs/models/sdkerrors/getlibrarydetailsbadrequest.md
- docs/models/sdkerrors/getlibrarydetailserrors.md
- docs/models/sdkerrors/getlibrarydetailslibraryerrors.md
- docs/models/sdkerrors/getlibrarydetailslibraryresponsebody.md
- docs/models/sdkerrors/getlibrarydetailsresponsebody.md
- docs/models/sdkerrors/getlibrarydetailsunauthorized.md
- docs/models/sdkerrors/getlibraryhubsbadrequest.md
- docs/models/sdkerrors/getlibraryhubserrors.md
- docs/models/sdkerrors/getlibraryhubshubserrors.md
- docs/models/sdkerrors/getlibraryhubshubsresponsebody.md
- docs/models/sdkerrors/getlibraryhubsresponsebody.md
- docs/models/sdkerrors/getlibraryhubsunauthorized.md
- docs/models/sdkerrors/getlibraryitemsbadrequest.md
- docs/models/sdkerrors/getlibraryitemserrors.md
- docs/models/sdkerrors/getlibraryitemslibraryerrors.md
- docs/models/sdkerrors/getlibraryitemslibraryresponsebody.md
- docs/models/sdkerrors/getlibraryitemsresponsebody.md
- docs/models/sdkerrors/getlibraryitemsunauthorized.md
- docs/models/sdkerrors/getmediaprovidersbadrequest.md
- docs/models/sdkerrors/getmediaproviderserrors.md
- docs/models/sdkerrors/getmediaprovidersresponsebody.md
- docs/models/sdkerrors/getmediaprovidersservererrors.md
- docs/models/sdkerrors/getmediaprovidersserverresponsebody.md
- docs/models/sdkerrors/getmediaprovidersunauthorized.md
- docs/models/sdkerrors/getmetadatabyratingkeybadrequest.md
- docs/models/sdkerrors/getmetadatabyratingkeyerrors.md
- docs/models/sdkerrors/getmetadatabyratingkeylibraryerrors.md
- docs/models/sdkerrors/getmetadatabyratingkeylibraryresponsebody.md
- docs/models/sdkerrors/getmetadatabyratingkeyresponsebody.md
- docs/models/sdkerrors/getmetadatabyratingkeyunauthorized.md
- docs/models/sdkerrors/getmetadatachildrenbadrequest.md
- docs/models/sdkerrors/getmetadatachildrenerrors.md
- docs/models/sdkerrors/getmetadatachildrenlibraryerrors.md
- docs/models/sdkerrors/getmetadatachildrenlibraryresponsebody.md
- docs/models/sdkerrors/getmetadatachildrenresponsebody.md
- docs/models/sdkerrors/getmetadatachildrenunauthorized.md
- docs/models/sdkerrors/getmyplexaccountbadrequest.md
- docs/models/sdkerrors/getmyplexaccounterrors.md
- docs/models/sdkerrors/getmyplexaccountresponsebody.md
- docs/models/sdkerrors/getmyplexaccountservererrors.md
- docs/models/sdkerrors/getmyplexaccountserverresponsebody.md
- docs/models/sdkerrors/getmyplexaccountunauthorized.md
- docs/models/sdkerrors/getondeckbadrequest.md
- docs/models/sdkerrors/getondeckerrors.md
- docs/models/sdkerrors/getondecklibraryerrors.md
- docs/models/sdkerrors/getondecklibraryresponsebody.md
- docs/models/sdkerrors/getondeckresponsebody.md
- docs/models/sdkerrors/getondeckunauthorized.md
- docs/models/sdkerrors/getpinbadrequest.md
- docs/models/sdkerrors/getpinerrors.md
- docs/models/sdkerrors/getpinresponsebody.md
- docs/models/sdkerrors/getplaylistbadrequest.md
- docs/models/sdkerrors/getplaylistcontentsbadrequest.md
- docs/models/sdkerrors/getplaylistcontentserrors.md
- docs/models/sdkerrors/getplaylistcontentsplaylistserrors.md
- docs/models/sdkerrors/getplaylistcontentsplaylistsresponsebody.md
- docs/models/sdkerrors/getplaylistcontentsresponsebody.md
- docs/models/sdkerrors/getplaylistcontentsunauthorized.md
- docs/models/sdkerrors/getplaylisterrors.md
- docs/models/sdkerrors/getplaylistplaylistserrors.md
- docs/models/sdkerrors/getplaylistplaylistsresponsebody.md
- docs/models/sdkerrors/getplaylistresponsebody.md
- docs/models/sdkerrors/getplaylistsbadrequest.md
- docs/models/sdkerrors/getplaylistserrors.md
- docs/models/sdkerrors/getplaylistsplaylistserrors.md
- docs/models/sdkerrors/getplaylistsplaylistsresponsebody.md
- docs/models/sdkerrors/getplaylistsresponsebody.md
- docs/models/sdkerrors/getplaylistsunauthorized.md
- docs/models/sdkerrors/getplaylistunauthorized.md
- docs/models/sdkerrors/getrecentlyaddedbadrequest.md
- docs/models/sdkerrors/getrecentlyaddederrors.md
- docs/models/sdkerrors/getrecentlyaddedlibraryerrors.md
- docs/models/sdkerrors/getrecentlyaddedlibraryresponsebody.md
- docs/models/sdkerrors/getrecentlyaddedresponsebody.md
- docs/models/sdkerrors/getrecentlyaddedunauthorized.md
- docs/models/sdkerrors/getrefreshlibrarymetadatabadrequest.md
- docs/models/sdkerrors/getrefreshlibrarymetadataerrors.md
- docs/models/sdkerrors/getrefreshlibrarymetadatalibraryerrors.md
- docs/models/sdkerrors/getrefreshlibrarymetadatalibraryresponsebody.md
- docs/models/sdkerrors/getrefreshlibrarymetadataresponsebody.md
- docs/models/sdkerrors/getrefreshlibrarymetadataunauthorized.md
- docs/models/sdkerrors/getresizedphotobadrequest.md
- docs/models/sdkerrors/getresizedphotoerrors.md
- docs/models/sdkerrors/getresizedphotoresponsebody.md
- docs/models/sdkerrors/getresizedphotoservererrors.md
- docs/models/sdkerrors/getresizedphotoserverresponsebody.md
- docs/models/sdkerrors/getresizedphotounauthorized.md
- docs/models/sdkerrors/getresourcesstatisticsbadrequest.md
- docs/models/sdkerrors/getresourcesstatisticserrors.md
- docs/models/sdkerrors/getresourcesstatisticsresponsebody.md
- docs/models/sdkerrors/getresourcesstatisticsstatisticserrors.md
- docs/models/sdkerrors/getresourcesstatisticsstatisticsresponsebody.md
- docs/models/sdkerrors/getresourcesstatisticsunauthorized.md
- docs/models/sdkerrors/getsearchlibrarybadrequest.md
- docs/models/sdkerrors/getsearchlibraryerrors.md
- docs/models/sdkerrors/getsearchlibrarylibraryerrors.md
- docs/models/sdkerrors/getsearchlibrarylibraryresponsebody.md
- docs/models/sdkerrors/getsearchlibraryresponsebody.md
- docs/models/sdkerrors/getsearchlibraryunauthorized.md
- docs/models/sdkerrors/getsearchresultsbadrequest.md
- docs/models/sdkerrors/getsearchresultserrors.md
- docs/models/sdkerrors/getsearchresultsresponsebody.md
- docs/models/sdkerrors/getsearchresultssearcherrors.md
- docs/models/sdkerrors/getsearchresultssearchresponsebody.md
- docs/models/sdkerrors/getsearchresultsunauthorized.md
- docs/models/sdkerrors/getserveractivitiesactivitieserrors.md
- docs/models/sdkerrors/getserveractivitiesactivitiesresponsebody.md
- docs/models/sdkerrors/getserveractivitiesbadrequest.md
- docs/models/sdkerrors/getserveractivitieserrors.md
- docs/models/sdkerrors/getserveractivitiesresponsebody.md
- docs/models/sdkerrors/getserveractivitiesunauthorized.md
- docs/models/sdkerrors/getservercapabilitiesbadrequest.md
- docs/models/sdkerrors/getservercapabilitieserrors.md
- docs/models/sdkerrors/getservercapabilitiesresponsebody.md
- docs/models/sdkerrors/getservercapabilitiesserverresponsebody.md
- docs/models/sdkerrors/getserveridentityresponsebody.md
- docs/models/sdkerrors/getservercapabilitiesunauthorized.md
- docs/models/sdkerrors/getserveridentityrequesttimeout.md
- docs/models/sdkerrors/getserverlistbadrequest.md
- docs/models/sdkerrors/getserverlisterrors.md
- docs/models/sdkerrors/getserverlistresponsebody.md
- docs/models/sdkerrors/getserverlistservererrors.md
- docs/models/sdkerrors/getserverlistserverresponsebody.md
- docs/models/sdkerrors/getserverlistunauthorized.md
- docs/models/sdkerrors/getserverpreferencesbadrequest.md
- docs/models/sdkerrors/getserverpreferenceserrors.md
- docs/models/sdkerrors/getserverpreferencesresponsebody.md
- docs/models/sdkerrors/getserverpreferencesservererrors.md
- docs/models/sdkerrors/getserverpreferencesserverresponsebody.md
- docs/models/sdkerrors/getserverpreferencesunauthorized.md
- docs/models/sdkerrors/getserverresourcesbadrequest.md
- docs/models/sdkerrors/getserverresourceserrors.md
- docs/models/sdkerrors/getserverresourcesplexerrors.md
- docs/models/sdkerrors/getserverresourcesplexresponsebody.md
- docs/models/sdkerrors/getserverresourcesresponsebody.md
- docs/models/sdkerrors/getserverresourcesunauthorized.md
- docs/models/sdkerrors/getsessionhistorybadrequest.md
- docs/models/sdkerrors/getsessionhistoryerrors.md
- docs/models/sdkerrors/getsessionhistoryresponsebody.md
- docs/models/sdkerrors/getsessionhistorysessionserrors.md
- docs/models/sdkerrors/getsessionhistorysessionsresponsebody.md
- docs/models/sdkerrors/getsessionhistoryunauthorized.md
- docs/models/sdkerrors/getsessionsbadrequest.md
- docs/models/sdkerrors/getsessionserrors.md
- docs/models/sdkerrors/getsessionsresponsebody.md
- docs/models/sdkerrors/getsessionssessionserrors.md
- docs/models/sdkerrors/getsessionssessionsresponsebody.md
- docs/models/sdkerrors/getsessionsunauthorized.md
- docs/models/sdkerrors/getsourceconnectioninformationauthenticationerrors.md
- docs/models/sdkerrors/getsourceconnectioninformationauthenticationresponsebody.md
- docs/models/sdkerrors/getsourceconnectioninformationbadrequest.md
- docs/models/sdkerrors/getsourceconnectioninformationerrors.md
- docs/models/sdkerrors/getsourceconnectioninformationresponsebody.md
- docs/models/sdkerrors/getsourceconnectioninformationunauthorized.md
- docs/models/sdkerrors/getstatisticsbadrequest.md
- docs/models/sdkerrors/getstatisticserrors.md
- docs/models/sdkerrors/getstatisticsresponsebody.md
- docs/models/sdkerrors/getstatisticsstatisticserrors.md
- docs/models/sdkerrors/getstatisticsstatisticsresponsebody.md
- docs/models/sdkerrors/getstatisticsunauthorized.md
- docs/models/sdkerrors/getthumbimagebadrequest.md
- docs/models/sdkerrors/getthumbimageerrors.md
- docs/models/sdkerrors/getthumbimagemediaerrors.md
- docs/models/sdkerrors/getthumbimagemediaresponsebody.md
- docs/models/sdkerrors/getthumbimageresponsebody.md
- docs/models/sdkerrors/getthumbimageunauthorized.md
- docs/models/sdkerrors/gettimelinebadrequest.md
- docs/models/sdkerrors/gettimelineerrors.md
- docs/models/sdkerrors/gettimelineresponsebody.md
- docs/models/sdkerrors/gettimelineunauthorized.md
- docs/models/sdkerrors/gettimelinevideoerrors.md
- docs/models/sdkerrors/gettimelinevideoresponsebody.md
- docs/models/sdkerrors/gettokenbypinidbadrequest.md
- docs/models/sdkerrors/gettokenbypiniderrors.md
- docs/models/sdkerrors/gettokenbypinidplexerrors.md
- docs/models/sdkerrors/gettokenbypinidplexresponsebody.md
- docs/models/sdkerrors/gettokenbypinidresponsebody.md
- docs/models/sdkerrors/gettokendetailsauthenticationerrors.md
- docs/models/sdkerrors/gettokendetailsbadrequest.md
- docs/models/sdkerrors/gettokendetailserrors.md
- docs/models/sdkerrors/gettokendetailsunauthorized.md
- docs/models/sdkerrors/gettopwatchedcontentbadrequest.md
- docs/models/sdkerrors/gettopwatchedcontenterrors.md
- docs/models/sdkerrors/gettopwatchedcontentlibraryerrors.md
- docs/models/sdkerrors/gettopwatchedcontentlibraryresponsebody.md
- docs/models/sdkerrors/gettopwatchedcontentresponsebody.md
- docs/models/sdkerrors/gettopwatchedcontentunauthorized.md
- docs/models/sdkerrors/gettranscodesessionsbadrequest.md
- docs/models/sdkerrors/gettranscodesessionserrors.md
- docs/models/sdkerrors/gettranscodesessionsresponsebody.md
- docs/models/sdkerrors/gettranscodesessionssessionserrors.md
- docs/models/sdkerrors/gettranscodesessionssessionsresponsebody.md
- docs/models/sdkerrors/gettranscodesessionsunauthorized.md
- docs/models/sdkerrors/gettransienttokenauthenticationerrors.md
- docs/models/sdkerrors/gettransienttokenauthenticationresponsebody.md
- docs/models/sdkerrors/gettransienttokenbadrequest.md
- docs/models/sdkerrors/gettransienttokenerrors.md
- docs/models/sdkerrors/gettransienttokenresponsebody.md
- docs/models/sdkerrors/gettransienttokenunauthorized.md
- docs/models/sdkerrors/getupdatestatusbadrequest.md
- docs/models/sdkerrors/getupdatestatuserrors.md
- docs/models/sdkerrors/getupdatestatusresponsebody.md
- docs/models/sdkerrors/getupdatestatusunauthorized.md
- docs/models/sdkerrors/getupdatestatusupdatererrors.md
- docs/models/sdkerrors/getupdatestatusupdaterresponsebody.md
- docs/models/sdkerrors/getuserdetailsauthenticationerrors.md
- docs/models/sdkerrors/getuserdetailsauthenticationresponsebody.md
- docs/models/sdkerrors/getuserdetailserrors.md
- docs/models/sdkerrors/getuserdetailsresponsebody.md
- docs/models/sdkerrors/getuserfriendsbadrequest.md
- docs/models/sdkerrors/getuserfriendserrors.md
- docs/models/sdkerrors/getuserfriendsplexerrors.md
- docs/models/sdkerrors/getuserfriendsplexresponsebody.md
- docs/models/sdkerrors/getuserfriendsresponsebody.md
- docs/models/sdkerrors/getuserfriendsunauthorized.md
- docs/models/sdkerrors/getwatchlistbadrequest.md
- docs/models/sdkerrors/getwatchlisterrors.md
- docs/models/sdkerrors/getwatchlistresponsebody.md
- docs/models/sdkerrors/getwatchlistunauthorized.md
- docs/models/sdkerrors/getwatchlistwatchlisterrors.md
- docs/models/sdkerrors/getwatchlistwatchlistresponsebody.md
- docs/models/sdkerrors/loglinebadrequest.md
- docs/models/sdkerrors/loglineerrors.md
- docs/models/sdkerrors/loglinelogerrors.md
- docs/models/sdkerrors/loglinelogresponsebody.md
- docs/models/sdkerrors/loglineresponsebody.md
- docs/models/sdkerrors/loglineunauthorized.md
- docs/models/sdkerrors/logmultilinebadrequest.md
- docs/models/sdkerrors/logmultilineerrors.md
- docs/models/sdkerrors/logmultilinelogerrors.md
- docs/models/sdkerrors/logmultilinelogresponsebody.md
- docs/models/sdkerrors/logmultilineresponsebody.md
- docs/models/sdkerrors/logmultilineunauthorized.md
- docs/models/sdkerrors/markplayedbadrequest.md
- docs/models/sdkerrors/markplayederrors.md
- docs/models/sdkerrors/markplayedmediaerrors.md
- docs/models/sdkerrors/markplayedmediaresponsebody.md
- docs/models/sdkerrors/markplayedresponsebody.md
- docs/models/sdkerrors/markplayedunauthorized.md
- docs/models/sdkerrors/markunplayedbadrequest.md
- docs/models/sdkerrors/markunplayederrors.md
- docs/models/sdkerrors/markunplayedmediaerrors.md
- docs/models/sdkerrors/markunplayedmediaresponsebody.md
- docs/models/sdkerrors/markunplayedresponsebody.md
- docs/models/sdkerrors/markunplayedunauthorized.md
- docs/models/sdkerrors/performsearchbadrequest.md
- docs/models/sdkerrors/performsearcherrors.md
- docs/models/sdkerrors/performsearchresponsebody.md
- docs/models/sdkerrors/performsearchsearcherrors.md
- docs/models/sdkerrors/performsearchsearchresponsebody.md
- docs/models/sdkerrors/performsearchunauthorized.md
- docs/models/sdkerrors/performvoicesearchbadrequest.md
- docs/models/sdkerrors/performvoicesearcherrors.md
- docs/models/sdkerrors/performvoicesearchresponsebody.md
- docs/models/sdkerrors/performvoicesearchsearcherrors.md
- docs/models/sdkerrors/performvoicesearchsearchresponsebody.md
- docs/models/sdkerrors/performvoicesearchunauthorized.md
- docs/models/sdkerrors/postuserssignindataauthenticationerrors.md
- docs/models/sdkerrors/postuserssignindataauthenticationresponsebody.md
- docs/models/sdkerrors/postuserssignindatabadrequest.md
- docs/models/sdkerrors/postuserssignindataerrors.md
- docs/models/sdkerrors/postuserssignindataresponsebody.md
- docs/models/sdkerrors/postuserssignindataunauthorized.md
- docs/models/sdkerrors/startalltasksbadrequest.md
- docs/models/sdkerrors/startalltasksbutlererrors.md
- docs/models/sdkerrors/startalltasksbutlerresponsebody.md
- docs/models/sdkerrors/startalltaskserrors.md
- docs/models/sdkerrors/startalltasksresponsebody.md
- docs/models/sdkerrors/startalltasksunauthorized.md
- docs/models/sdkerrors/starttaskbadrequest.md
- docs/models/sdkerrors/starttaskbutlererrors.md
- docs/models/sdkerrors/starttaskbutlerresponsebody.md
- docs/models/sdkerrors/starttaskerrors.md
- docs/models/sdkerrors/starttaskresponsebody.md
- docs/models/sdkerrors/starttaskunauthorized.md
- docs/models/sdkerrors/startuniversaltranscodebadrequest.md
- docs/models/sdkerrors/startuniversaltranscodeerrors.md
- docs/models/sdkerrors/startuniversaltranscoderesponsebody.md
- docs/models/sdkerrors/startuniversaltranscodeunauthorized.md
- docs/models/sdkerrors/startuniversaltranscodevideoerrors.md
- docs/models/sdkerrors/startuniversaltranscodevideoresponsebody.md
- docs/models/sdkerrors/stopalltasksbadrequest.md
- docs/models/sdkerrors/stopalltasksbutlererrors.md
- docs/models/sdkerrors/stopalltasksbutlerresponsebody.md
- docs/models/sdkerrors/stopalltaskserrors.md
- docs/models/sdkerrors/stopalltasksresponsebody.md
- docs/models/sdkerrors/stopalltasksunauthorized.md
- docs/models/sdkerrors/stoptaskbadrequest.md
- docs/models/sdkerrors/stoptaskbutlererrors.md
- docs/models/sdkerrors/stoptaskbutlerresponsebody.md
- docs/models/sdkerrors/stoptaskerrors.md
- docs/models/sdkerrors/stoptaskresponsebody.md
- docs/models/sdkerrors/stoptaskunauthorized.md
- docs/models/sdkerrors/stoptranscodesessionbadrequest.md
- docs/models/sdkerrors/stoptranscodesessionerrors.md
- docs/models/sdkerrors/stoptranscodesessionresponsebody.md
- docs/models/sdkerrors/stoptranscodesessionsessionserrors.md
- docs/models/sdkerrors/stoptranscodesessionsessionsresponsebody.md
- docs/models/sdkerrors/stoptranscodesessionunauthorized.md
- docs/models/sdkerrors/updateplaylistbadrequest.md
- docs/models/sdkerrors/updateplaylisterrors.md
- docs/models/sdkerrors/updateplaylistplaylistserrors.md
- docs/models/sdkerrors/updateplaylistplaylistsresponsebody.md
- docs/models/sdkerrors/updateplaylistresponsebody.md
- docs/models/sdkerrors/updateplaylistunauthorized.md
- docs/models/sdkerrors/updateplayprogressbadrequest.md
- docs/models/sdkerrors/updateplayprogresserrors.md
- docs/models/sdkerrors/updateplayprogressmediaerrors.md
- docs/models/sdkerrors/updateplayprogressmediaresponsebody.md
- docs/models/sdkerrors/updateplayprogressresponsebody.md
- docs/models/sdkerrors/updateplayprogressunauthorized.md
- docs/models/sdkerrors/uploadplaylistbadrequest.md
- docs/models/sdkerrors/uploadplaylisterrors.md
- docs/models/sdkerrors/uploadplaylistplaylistserrors.md
- docs/models/sdkerrors/uploadplaylistplaylistsresponsebody.md
- docs/models/sdkerrors/uploadplaylistresponsebody.md
- docs/models/sdkerrors/uploadplaylistunauthorized.md
- docs/sdks/activities/README.md
- docs/sdks/authentication/README.md
- docs/sdks/butler/README.md
@@ -1218,7 +1217,7 @@ examples:
speakeasy-default-get-geo-data:
responses:
"200":
application/json: {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}
application/json: {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": "802", "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}
"400":
application/json: {"errors": []}
"401":
@@ -1251,12 +1250,17 @@ examples:
"":
parameters:
query:
X-Plex-Product: "Plex Web"
X-Plex-Product: Plex Web
X-Plex-Device: Linux
X-Plex-Version: 4.133.0
X-Plex-Platform: Chrome
responses:
"200":
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
"400":
application/json: {"errors": []}
"201":
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": "802", "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
getTokenByPinId:
"":
parameters:
@@ -1862,3 +1866,12 @@ examples:
application/json: {"errors": []}
"401":
application/json: {"errors": []}
getTokenDetails:
speakeasy-default-get-token-details:
responses:
"200":
application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": [], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1721154902, "locale": null, "mailingListActive": false, "mailingListStatus": "unsubscribed", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": "1", "defaultSubtitleAccessibility": "1", "defaultSubtitleForced": "0", "watchedIndicator": "1", "mediaReviewsVisibility": 0}, "protected": false, "rememberExpiresAt": 1722364046, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f"}
"400":
application/json: {"errors": []}
"401":
application/json: {"errors": []}

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
go:
version: 0.11.1
version: 0.11.14
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true

View File

@@ -1,33 +1,39 @@
speakeasyVersion: 1.393.1
speakeasyVersion: 1.399.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:44184fe64938a688d21d58aa0e390471812eda6f10c9ca0145a7328cf31a4f0a
sourceBlobDigest: sha256:7257c51225e1fb6fa7de445fbe2f31151dc89771894c9b731a29ab01b504f503
sourceRevisionDigest: sha256:92a2a2049bfbf67bea601a6b1b77d274e83a2d3b6968a0bc02dc290b21c7689d
sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9
tags:
- latest
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:327e4a83099f910e042784ecc571fcbc4c9a6d8ba169b4ba181afb890a9936cc
sourceBlobDigest: sha256:a652fa39754f0c22a1454f628fe84983b34662ee8a153a3461d50b833f8bc5c2
tags:
- latest
- main
targets:
plexgo:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:44184fe64938a688d21d58aa0e390471812eda6f10c9ca0145a7328cf31a4f0a
sourceBlobDigest: sha256:7257c51225e1fb6fa7de445fbe2f31151dc89771894c9b731a29ab01b504f503
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:327e4a83099f910e042784ecc571fcbc4c9a6d8ba169b4ba181afb890a9936cc
sourceBlobDigest: sha256:a652fa39754f0c22a1454f628fe84983b34662ee8a153a3461d50b833f8bc5c2
codeSamplesNamespace: code-samples-go-plexgo
codeSamplesRevisionDigest: sha256:367216afa9fb24c1dc1897cadc3feb86418148d80ebe2f8263ec65dbba5f2cee
outLocation: /github/workspace/repo
codeSamplesRevisionDigest: sha256:4c8c0f04287fab8c7e38d97036bd7445df35a0428b0be13df8fc4f642e87b0ca
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
plexapi:
inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
targets:
plexgo:
target: go
source: my-source
source: plexapi
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-go-plexgo
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-go-plexgo

View File

@@ -1,14 +1,14 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
plexapi:
inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
targets:
plexgo:
target: go
source: my-source
source: plexapi
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-go-plexgo
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-go-plexgo

199
README.md
View File

@@ -54,7 +54,11 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -73,36 +77,21 @@ func main() {
<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations
### [Server](docs/sdks/server/README.md)
* [GetServerCapabilities](docs/sdks/server/README.md#getservercapabilities) - Get Server Capabilities
* [GetServerPreferences](docs/sdks/server/README.md#getserverpreferences) - Get Server Preferences
* [GetAvailableClients](docs/sdks/server/README.md#getavailableclients) - Get Available Clients
* [GetDevices](docs/sdks/server/README.md#getdevices) - Get Devices
* [GetServerIdentity](docs/sdks/server/README.md#getserveridentity) - Get Server Identity
* [GetMyPlexAccount](docs/sdks/server/README.md#getmyplexaccount) - Get MyPlex Account
* [GetResizedPhoto](docs/sdks/server/README.md#getresizedphoto) - Get a Resized Photo
* [GetMediaProviders](docs/sdks/server/README.md#getmediaproviders) - Get Media Providers
* [GetServerList](docs/sdks/server/README.md#getserverlist) - Get Server List
### [Media](docs/sdks/media/README.md)
* [MarkPlayed](docs/sdks/media/README.md#markplayed) - Mark Media Played
* [MarkUnplayed](docs/sdks/media/README.md#markunplayed) - Mark Media Unplayed
* [UpdatePlayProgress](docs/sdks/media/README.md#updateplayprogress) - Update Media Play Progress
* [GetBannerImage](docs/sdks/media/README.md#getbannerimage) - Get Banner Image
* [GetThumbImage](docs/sdks/media/README.md#getthumbimage) - Get Thumb Image
### [Video](docs/sdks/video/README.md)
* [GetTimeline](docs/sdks/video/README.md#gettimeline) - Get the timeline for a media item
* [StartUniversalTranscode](docs/sdks/video/README.md#startuniversaltranscode) - Start Universal Transcode
<details open>
<summary>Available methods</summary>
### [Activities](docs/sdks/activities/README.md)
* [GetServerActivities](docs/sdks/activities/README.md#getserveractivities) - Get Server Activities
* [CancelServerActivities](docs/sdks/activities/README.md#cancelserveractivities) - Cancel Server Activities
### [Authentication](docs/sdks/authentication/README.md)
* [GetTransientToken](docs/sdks/authentication/README.md#gettransienttoken) - Get a Transient Token
* [GetSourceConnectionInformation](docs/sdks/authentication/README.md#getsourceconnectioninformation) - Get Source Connection Information
* [GetTokenDetails](docs/sdks/authentication/README.md#gettokendetails) - Get Token Details
* [PostUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User Sign In Data
### [Butler](docs/sdks/butler/README.md)
* [GetButlerTasks](docs/sdks/butler/README.md#getbutlertasks) - Get Butler tasks
@@ -111,27 +100,11 @@ func main() {
* [StartTask](docs/sdks/butler/README.md#starttask) - Start a single Butler task
* [StopTask](docs/sdks/butler/README.md#stoptask) - Stop a single Butler task
### [Plex](docs/sdks/plex/README.md)
* [GetCompanionsData](docs/sdks/plex/README.md#getcompanionsdata) - Get Companions Data
* [GetUserFriends](docs/sdks/plex/README.md#getuserfriends) - Get list of friends of the user logged in
* [GetGeoData](docs/sdks/plex/README.md#getgeodata) - Get Geo Data
* [GetHomeData](docs/sdks/plex/README.md#gethomedata) - Get Plex Home Data
* [GetServerResources](docs/sdks/plex/README.md#getserverresources) - Get Server Resources
* [GetPin](docs/sdks/plex/README.md#getpin) - Get a Pin
* [GetTokenByPinID](docs/sdks/plex/README.md#gettokenbypinid) - Get Access Token by PinId
### [Hubs](docs/sdks/hubs/README.md)
* [GetGlobalHubs](docs/sdks/hubs/README.md#getglobalhubs) - Get Global Hubs
* [GetLibraryHubs](docs/sdks/hubs/README.md#getlibraryhubs) - Get library specific hubs
### [Search](docs/sdks/search/README.md)
* [PerformSearch](docs/sdks/search/README.md#performsearch) - Perform a search
* [PerformVoiceSearch](docs/sdks/search/README.md#performvoicesearch) - Perform a voice search
* [GetSearchResults](docs/sdks/search/README.md#getsearchresults) - Get Search Results
### [Library](docs/sdks/library/README.md)
* [GetFileHash](docs/sdks/library/README.md#getfilehash) - Get Hash Value
@@ -147,16 +120,20 @@ func main() {
* [GetTopWatchedContent](docs/sdks/library/README.md#gettopwatchedcontent) - Get Top Watched Content
* [GetOnDeck](docs/sdks/library/README.md#getondeck) - Get On Deck
### [Watchlist](docs/sdks/watchlist/README.md)
* [GetWatchList](docs/sdks/watchlist/README.md#getwatchlist) - Get User Watchlist
### [Log](docs/sdks/log/README.md)
* [LogLine](docs/sdks/log/README.md#logline) - Logging a single line message.
* [LogMultiLine](docs/sdks/log/README.md#logmultiline) - Logging a multi-line message
* [EnablePaperTrail](docs/sdks/log/README.md#enablepapertrail) - Enabling Papertrail
### [Media](docs/sdks/media/README.md)
* [MarkPlayed](docs/sdks/media/README.md#markplayed) - Mark Media Played
* [MarkUnplayed](docs/sdks/media/README.md#markunplayed) - Mark Media Unplayed
* [UpdatePlayProgress](docs/sdks/media/README.md#updateplayprogress) - Update Media Play Progress
* [GetBannerImage](docs/sdks/media/README.md#getbannerimage) - Get Banner Image
* [GetThumbImage](docs/sdks/media/README.md#getthumbimage) - Get Thumb Image
### [Playlists](docs/sdks/playlists/README.md)
* [CreatePlaylist](docs/sdks/playlists/README.md#createplaylist) - Create a Playlist
@@ -169,18 +146,34 @@ func main() {
* [AddPlaylistContents](docs/sdks/playlists/README.md#addplaylistcontents) - Adding to a Playlist
* [UploadPlaylist](docs/sdks/playlists/README.md#uploadplaylist) - Upload Playlist
### [Authentication](docs/sdks/authentication/README.md)
### [Plex](docs/sdks/plex/README.md)
* [GetTransientToken](docs/sdks/authentication/README.md#gettransienttoken) - Get a Transient Token.
* [GetSourceConnectionInformation](docs/sdks/authentication/README.md#getsourceconnectioninformation) - Get Source Connection Information
* [GetUserDetails](docs/sdks/authentication/README.md#getuserdetails) - Get User Data By Token
* [PostUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User Sign In Data
* [GetCompanionsData](docs/sdks/plex/README.md#getcompanionsdata) - Get Companions Data
* [GetUserFriends](docs/sdks/plex/README.md#getuserfriends) - Get list of friends of the user logged in
* [GetGeoData](docs/sdks/plex/README.md#getgeodata) - Get Geo Data
* [GetHomeData](docs/sdks/plex/README.md#gethomedata) - Get Plex Home Data
* [GetServerResources](docs/sdks/plex/README.md#getserverresources) - Get Server Resources
* [GetPin](docs/sdks/plex/README.md#getpin) - Get a Pin
* [GetTokenByPinID](docs/sdks/plex/README.md#gettokenbypinid) - Get Access Token by PinId
### [Statistics](docs/sdks/statistics/README.md)
* [GetStatistics](docs/sdks/statistics/README.md#getstatistics) - Get Media Statistics
* [GetResourcesStatistics](docs/sdks/statistics/README.md#getresourcesstatistics) - Get Resources Statistics
* [GetBandwidthStatistics](docs/sdks/statistics/README.md#getbandwidthstatistics) - Get Bandwidth Statistics
### [Search](docs/sdks/search/README.md)
* [PerformSearch](docs/sdks/search/README.md#performsearch) - Perform a search
* [PerformVoiceSearch](docs/sdks/search/README.md#performvoicesearch) - Perform a voice search
* [GetSearchResults](docs/sdks/search/README.md#getsearchresults) - Get Search Results
### [Server](docs/sdks/server/README.md)
* [GetServerCapabilities](docs/sdks/server/README.md#getservercapabilities) - Get Server Capabilities
* [GetServerPreferences](docs/sdks/server/README.md#getserverpreferences) - Get Server Preferences
* [GetAvailableClients](docs/sdks/server/README.md#getavailableclients) - Get Available Clients
* [GetDevices](docs/sdks/server/README.md#getdevices) - Get Devices
* [GetServerIdentity](docs/sdks/server/README.md#getserveridentity) - Get Server Identity
* [GetMyPlexAccount](docs/sdks/server/README.md#getmyplexaccount) - Get MyPlex Account
* [GetResizedPhoto](docs/sdks/server/README.md#getresizedphoto) - Get a Resized Photo
* [GetMediaProviders](docs/sdks/server/README.md#getmediaproviders) - Get Media Providers
* [GetServerList](docs/sdks/server/README.md#getserverlist) - Get Server List
### [Sessions](docs/sdks/sessions/README.md)
@@ -189,11 +182,28 @@ func main() {
* [GetTranscodeSessions](docs/sdks/sessions/README.md#gettranscodesessions) - Get Transcode Sessions
* [StopTranscodeSession](docs/sdks/sessions/README.md#stoptranscodesession) - Stop a Transcode Session
### [Statistics](docs/sdks/statistics/README.md)
* [GetStatistics](docs/sdks/statistics/README.md#getstatistics) - Get Media Statistics
* [GetResourcesStatistics](docs/sdks/statistics/README.md#getresourcesstatistics) - Get Resources Statistics
* [GetBandwidthStatistics](docs/sdks/statistics/README.md#getbandwidthstatistics) - Get Bandwidth Statistics
### [Updater](docs/sdks/updater/README.md)
* [GetUpdateStatus](docs/sdks/updater/README.md#getupdatestatus) - Querying status of updates
* [CheckForUpdates](docs/sdks/updater/README.md#checkforupdates) - Checking for updates
* [ApplyUpdates](docs/sdks/updater/README.md#applyupdates) - Apply Updates
### [Video](docs/sdks/video/README.md)
* [GetTimeline](docs/sdks/video/README.md#gettimeline) - Get the timeline for a media item
* [StartUniversalTranscode](docs/sdks/video/README.md#startuniversaltranscode) - Start Universal Transcode
### [Watchlist](docs/sdks/watchlist/README.md)
* [GetWatchList](docs/sdks/watchlist/README.md#getwatchlist) - Get User Watchlist
</details>
<!-- End Available Resources and Operations [operations] -->
<!-- Start Retries [retries] -->
@@ -216,7 +226,11 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -266,7 +280,11 @@ func main() {
RetryConnectionErrors: false,
}),
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -287,11 +305,11 @@ func main() {
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass.
| Error Object | Status Code | Content Type |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| sdkerrors.GetServerCapabilitiesResponseBody | 400 | application/json |
| sdkerrors.GetServerCapabilitiesServerResponseBody | 401 | application/json |
| sdkerrors.SDKError | 4xx-5xx | */* |
| Error Object | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| sdkerrors.GetServerCapabilitiesBadRequest | 400 | application/json |
| sdkerrors.GetServerCapabilitiesUnauthorized | 401 | application/json |
| sdkerrors.SDKError | 4xx-5xx | */* |
### Example
@@ -309,20 +327,24 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Server.GetServerCapabilities(ctx)
if err != nil {
var e *sdkerrors.GetServerCapabilitiesResponseBody
var e *sdkerrors.GetServerCapabilitiesBadRequest
if errors.As(err, &e) {
// handle error
log.Fatal(e.Error())
}
var e *sdkerrors.GetServerCapabilitiesServerResponseBody
var e *sdkerrors.GetServerCapabilitiesUnauthorized
if errors.As(err, &e) {
// handle error
log.Fatal(e.Error())
@@ -365,7 +387,11 @@ func main() {
s := plexgo.New(
plexgo.WithServerIndex(0),
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -403,7 +429,11 @@ func main() {
s := plexgo.New(
plexgo.WithServerURL("{protocol}://{ip}:{port}"),
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -434,7 +464,11 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -503,7 +537,11 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -548,21 +586,25 @@ d6 := types.MustDateFromString("2019-01-01") // returns types.Date and panics on
<!-- Start Global Parameters [global-parameters] -->
## Global Parameters
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
For example, you can set `X-Plex-Client-Identifier` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `GetServerResources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `GetServerResources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
### Available Globals
The following global parameter is available.
The following global parameters are available.
| Name | Type | Required | Description |
| ---- | ---- |:--------:| ----------- |
| XPlexClientIdentifier | string | | The unique identifier for the client application
| ClientID | string | | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
|
| ClientName | string | | The ClientName parameter. |
| ClientVersion | string | | The ClientVersion parameter. |
| ClientPlatform | string | | The ClientPlatform parameter. |
| DeviceName | string | | The DeviceName parameter. |
### Example
@@ -580,16 +622,15 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Plex.GetServerResources(ctx, operations.GetServerResourcesRequest{
XPlexToken: "CV5xoxjTpFKUzBTShsaf",
IncludeHTTPS: operations.IncludeHTTPSOne.ToPointer(),
IncludeRelay: operations.IncludeRelayOne.ToPointer(),
IncludeIPv6: operations.IncludeIPv6One.ToPointer(),
})
res, err := s.Plex.GetServerResources(ctx, plexgo.String("gcgzw5rz2xovp84b4vha3a40"), operations.IncludeHTTPSOne.ToPointer(), operations.IncludeRelayOne.ToPointer(), operations.IncludeIPv6One.ToPointer())
if err != nil {
log.Fatal(err)
}

View File

@@ -762,4 +762,134 @@ Based on:
### Generated
- [go v0.11.1] .
### Releases
- [Go v0.11.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.1 - .
- [Go v0.11.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.1 - .
## 2024-09-09 20:35:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.393.2 (2.413.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.2] .
### Releases
- [Go v0.11.2] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.2 - .
## 2024-09-10 00:08:55
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.394.0 (2.413.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.3] .
### Releases
- [Go v0.11.3] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.3 - .
## 2024-09-11 00:08:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.395.1 (2.415.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.4] .
### Releases
- [Go v0.11.4] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.4 - .
## 2024-09-12 00:08:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.2 (2.415.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.5] .
### Releases
- [Go v0.11.5] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.5 - .
## 2024-09-13 00:08:56
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.6 (2.415.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.6] .
### Releases
- [Go v0.11.6] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.6 - .
## 2024-09-14 00:08:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.9 (2.415.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.7] .
### Releases
- [Go v0.11.7] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.7 - .
## 2024-09-15 00:09:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.9 (2.415.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.8] .
### Releases
- [Go v0.11.8] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.8 - .
## 2024-09-16 00:09:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.9 (2.415.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.9] .
### Releases
- [Go v0.11.9] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.9 - .
## 2024-09-16 18:35:29
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.10] .
### Releases
- [Go v0.11.10] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.10 - .
## 2024-09-18 03:01:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.0 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.11] .
### Releases
- [Go v0.11.11] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.11 - .
## 2024-09-18 14:09:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.1 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.12] .
### Releases
- [Go v0.11.12] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.12 - .
## 2024-09-18 15:01:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.13] .
### Releases
- [Go v0.11.13] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.13 - .
## 2024-09-19 00:08:52
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.14] .
### Releases
- [Go v0.11.14] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.14 - .

View File

@@ -11,7 +11,11 @@ import (
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()

View File

@@ -215,7 +215,7 @@ func (s *Activities) GetServerActivities(ctx context.Context, opts ...operations
return nil, err
}
var out sdkerrors.GetServerActivitiesResponseBody
var out sdkerrors.GetServerActivitiesBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -238,7 +238,7 @@ func (s *Activities) GetServerActivities(ctx context.Context, opts ...operations
return nil, err
}
var out sdkerrors.GetServerActivitiesActivitiesResponseBody
var out sdkerrors.GetServerActivitiesUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -440,7 +440,7 @@ func (s *Activities) CancelServerActivities(ctx context.Context, activityUUID st
return nil, err
}
var out sdkerrors.CancelServerActivitiesResponseBody
var out sdkerrors.CancelServerActivitiesBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -463,7 +463,7 @@ func (s *Activities) CancelServerActivities(ctx context.Context, activityUUID st
return nil, err
}
var out sdkerrors.CancelServerActivitiesActivitiesResponseBody
var out sdkerrors.CancelServerActivitiesUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}

View File

@@ -27,7 +27,7 @@ func newAuthentication(sdkConfig sdkConfiguration) *Authentication {
}
}
// GetTransientToken - Get a Transient Token.
// GetTransientToken - Get a Transient Token
// This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted.
func (s *Authentication) GetTransientToken(ctx context.Context, type_ operations.GetTransientTokenQueryParamType, scope operations.Scope, opts ...operations.Option) (*operations.GetTransientTokenResponse, error) {
hookCtx := hooks.HookContext{
@@ -197,7 +197,7 @@ func (s *Authentication) GetTransientToken(ctx context.Context, type_ operations
return nil, err
}
var out sdkerrors.GetTransientTokenResponseBody
var out sdkerrors.GetTransientTokenBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -220,7 +220,7 @@ func (s *Authentication) GetTransientToken(ctx context.Context, type_ operations
return nil, err
}
var out sdkerrors.GetTransientTokenAuthenticationResponseBody
var out sdkerrors.GetTransientTokenUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -427,7 +427,7 @@ func (s *Authentication) GetSourceConnectionInformation(ctx context.Context, sou
return nil, err
}
var out sdkerrors.GetSourceConnectionInformationResponseBody
var out sdkerrors.GetSourceConnectionInformationBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -450,7 +450,7 @@ func (s *Authentication) GetSourceConnectionInformation(ctx context.Context, sou
return nil, err
}
var out sdkerrors.GetSourceConnectionInformationAuthenticationResponseBody
var out sdkerrors.GetSourceConnectionInformationUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -487,20 +487,16 @@ func (s *Authentication) GetSourceConnectionInformation(ctx context.Context, sou
}
// GetUserDetails - Get User Data By Token
// GetTokenDetails - Get Token Details
// Get the User data from the provided X-Plex-Token
func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string, opts ...operations.Option) (*operations.GetUserDetailsResponse, error) {
func (s *Authentication) GetTokenDetails(ctx context.Context, opts ...operations.Option) (*operations.GetTokenDetailsResponse, error) {
hookCtx := hooks.HookContext{
Context: ctx,
OperationID: "getUserDetails",
OperationID: "getTokenDetails",
OAuth2Scopes: []string{},
SecuritySource: s.sdkConfiguration.Security,
}
request := operations.GetUserDetailsRequest{
XPlexToken: xPlexToken,
}
o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
@@ -514,7 +510,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
}
}
baseURL := utils.ReplaceParameters(operations.GetUserDetailsServerList[0], map[string]string{})
baseURL := utils.ReplaceParameters(operations.GetTokenDetailsServerList[0], map[string]string{})
if o.ServerURL != nil {
baseURL = *o.ServerURL
}
@@ -542,10 +538,6 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
if err := utils.PopulateQueryParams(ctx, req, request, nil); err != nil {
return nil, fmt.Errorf("error populating query params: %w", err)
}
if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil {
return nil, err
}
@@ -635,7 +627,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
}
}
res := &operations.GetUserDetailsResponse{
res := &operations.GetTokenDetailsResponse{
StatusCode: httpRes.StatusCode,
ContentType: httpRes.Header.Get("Content-Type"),
RawResponse: httpRes,
@@ -660,7 +652,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
return nil, err
}
var out operations.GetUserDetailsUserPlexAccount
var out operations.GetTokenDetailsUserPlexAccount
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -682,7 +674,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
return nil, err
}
var out sdkerrors.GetUserDetailsResponseBody
var out sdkerrors.GetTokenDetailsBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -705,7 +697,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
return nil, err
}
var out sdkerrors.GetUserDetailsAuthenticationResponseBody
var out sdkerrors.GetTokenDetailsUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -744,7 +736,7 @@ func (s *Authentication) GetUserDetails(ctx context.Context, xPlexToken string,
// PostUsersSignInData - Get User Sign In Data
// Sign in user with username and password and return user data with Plex authentication token
func (s *Authentication) PostUsersSignInData(ctx context.Context, xPlexClientIdentifier *string, requestBody *operations.PostUsersSignInDataRequestBody, opts ...operations.Option) (*operations.PostUsersSignInDataResponse, error) {
func (s *Authentication) PostUsersSignInData(ctx context.Context, clientID *string, requestBody *operations.PostUsersSignInDataRequestBody, opts ...operations.Option) (*operations.PostUsersSignInDataResponse, error) {
hookCtx := hooks.HookContext{
Context: ctx,
OperationID: "post-users-sign-in-data",
@@ -753,12 +745,12 @@ func (s *Authentication) PostUsersSignInData(ctx context.Context, xPlexClientIde
}
request := operations.PostUsersSignInDataRequest{
XPlexClientIdentifier: xPlexClientIdentifier,
RequestBody: requestBody,
ClientID: clientID,
RequestBody: requestBody,
}
globals := operations.PostUsersSignInDataGlobals{
XPlexClientIdentifier: s.sdkConfiguration.Globals.XPlexClientIdentifier,
ClientID: s.sdkConfiguration.Globals.ClientID,
}
o := operations.Options{}
@@ -944,7 +936,7 @@ func (s *Authentication) PostUsersSignInData(ctx context.Context, xPlexClientIde
return nil, err
}
var out sdkerrors.PostUsersSignInDataResponseBody
var out sdkerrors.PostUsersSignInDataBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -967,7 +959,7 @@ func (s *Authentication) PostUsersSignInData(ctx context.Context, xPlexClientIde
return nil, err
}
var out sdkerrors.PostUsersSignInDataAuthenticationResponseBody
var out sdkerrors.PostUsersSignInDataUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}

View File

@@ -209,7 +209,7 @@ func (s *Butler) GetButlerTasks(ctx context.Context, opts ...operations.Option)
return nil, err
}
var out sdkerrors.GetButlerTasksResponseBody
var out sdkerrors.GetButlerTasksBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -232,7 +232,7 @@ func (s *Butler) GetButlerTasks(ctx context.Context, opts ...operations.Option)
return nil, err
}
var out sdkerrors.GetButlerTasksButlerResponseBody
var out sdkerrors.GetButlerTasksUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -434,7 +434,7 @@ func (s *Butler) StartAllTasks(ctx context.Context, opts ...operations.Option) (
return nil, err
}
var out sdkerrors.StartAllTasksResponseBody
var out sdkerrors.StartAllTasksBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -457,7 +457,7 @@ func (s *Butler) StartAllTasks(ctx context.Context, opts ...operations.Option) (
return nil, err
}
var out sdkerrors.StartAllTasksButlerResponseBody
var out sdkerrors.StartAllTasksUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -655,7 +655,7 @@ func (s *Butler) StopAllTasks(ctx context.Context, opts ...operations.Option) (*
return nil, err
}
var out sdkerrors.StopAllTasksResponseBody
var out sdkerrors.StopAllTasksBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -678,7 +678,7 @@ func (s *Butler) StopAllTasks(ctx context.Context, opts ...operations.Option) (*
return nil, err
}
var out sdkerrors.StopAllTasksButlerResponseBody
var out sdkerrors.StopAllTasksUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -886,7 +886,7 @@ func (s *Butler) StartTask(ctx context.Context, taskName operations.TaskName, op
return nil, err
}
var out sdkerrors.StartTaskResponseBody
var out sdkerrors.StartTaskBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -909,7 +909,7 @@ func (s *Butler) StartTask(ctx context.Context, taskName operations.TaskName, op
return nil, err
}
var out sdkerrors.StartTaskButlerResponseBody
var out sdkerrors.StartTaskUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -1111,7 +1111,7 @@ func (s *Butler) StopTask(ctx context.Context, taskName operations.PathParamTask
return nil, err
}
var out sdkerrors.StopTaskResponseBody
var out sdkerrors.StopTaskBadRequest
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
@@ -1134,7 +1134,7 @@ func (s *Butler) StopTask(ctx context.Context, taskName operations.PathParamTask
return nil, err
}
var out sdkerrors.StopTaskButlerResponseBody
var out sdkerrors.StopTaskUnauthorized
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}

View File

@@ -20,7 +20,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -49,7 +53,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -78,7 +86,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -107,7 +119,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -137,7 +153,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -177,7 +197,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -206,7 +230,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -235,7 +263,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -264,7 +296,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -293,7 +329,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -322,7 +362,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -352,7 +396,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -382,7 +430,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -411,7 +463,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -440,7 +496,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -469,7 +529,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -498,7 +562,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -526,7 +594,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -555,7 +627,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -584,7 +660,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -613,7 +693,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -642,7 +726,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -671,7 +759,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -699,7 +791,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -729,7 +825,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -758,7 +858,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -787,7 +891,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -817,7 +925,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -853,7 +965,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -883,7 +999,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -919,7 +1039,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -948,7 +1072,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -977,7 +1105,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1007,7 +1139,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1041,7 +1177,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1070,7 +1210,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1100,7 +1244,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1130,7 +1278,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1160,7 +1312,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1198,7 +1354,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1227,13 +1387,17 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Log.LogMultiLine(ctx, "level=4&message=Test%20message%201&source=postman\n" +
"level=3&message=Test%20message%202&source=postman\n" +
"level=1&message=Test%20message%203&source=postman")
"level=3&message=Test%20message%202&source=postman\n" +
"level=1&message=Test%20message%203&source=postman")
if err != nil {
log.Fatal(err)
}
@@ -1258,7 +1422,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1287,7 +1455,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1316,7 +1488,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1346,7 +1522,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1377,16 +1557,21 @@ actions:
import(
"github.com/LukeHagar/plexgo"
"context"
"github.com/LukeHagar/plexgo/models/operations"
"log"
)
func main() {
s := plexgo.New(
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Plex.GetPin(ctx, nil, plexgo.String("gcgzw5rz2xovp84b4vha3a40"), plexgo.String("Plex Web"))
res, err := s.Plex.GetPin(ctx, operations.GetPinRequest{})
if err != nil {
log.Fatal(err)
}
@@ -1410,7 +1595,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1439,7 +1628,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1469,7 +1662,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1504,7 +1701,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1533,7 +1734,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1562,7 +1767,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1591,7 +1800,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1620,7 +1833,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1650,7 +1867,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1679,7 +1900,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1709,16 +1934,15 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Plex.GetServerResources(ctx, operations.GetServerResourcesRequest{
XPlexToken: "CV5xoxjTpFKUzBTShsaf",
IncludeHTTPS: operations.IncludeHTTPSOne.ToPointer(),
IncludeRelay: operations.IncludeRelayOne.ToPointer(),
IncludeIPv6: operations.IncludeIPv6One.ToPointer(),
})
res, err := s.Plex.GetServerResources(ctx, plexgo.String("gcgzw5rz2xovp84b4vha3a40"), operations.IncludeHTTPSOne.ToPointer(), operations.IncludeRelayOne.ToPointer(), operations.IncludeIPv6One.ToPointer())
if err != nil {
log.Fatal(err)
}
@@ -1743,7 +1967,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1772,7 +2000,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1802,7 +2034,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1831,7 +2067,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1860,7 +2100,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1889,7 +2133,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1918,7 +2166,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1947,7 +2199,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -1977,7 +2233,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2006,7 +2266,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2035,7 +2299,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2065,7 +2333,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2095,7 +2367,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2124,7 +2400,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2140,7 +2420,7 @@ actions:
update:
x-codeSamples:
- lang: go
label: getUserDetails
label: getTokenDetails
source: |-
package main
@@ -2153,11 +2433,15 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
res, err := s.Authentication.GetUserDetails(ctx, "CV5xoxjTpFKUzBTShsaf")
res, err := s.Authentication.GetTokenDetails(ctx)
if err != nil {
log.Fatal(err)
}
@@ -2182,7 +2466,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()
@@ -2216,7 +2504,11 @@ actions:
func main() {
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
plexgo.WithXPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientID("gcgzw5rz2xovp84b4vha3a40"),
plexgo.WithClientName("Plex Web"),
plexgo.WithClientVersion("4.133.0"),
plexgo.WithClientPlatform("Chrome"),
plexgo.WithDeviceName("Linux"),
)
ctx := context.Background()

View File

@@ -13,7 +13,7 @@ Geo location data
| `City` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `EuropeanUnionMember` | **bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `TimeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `PostalCode` | *int64* | :heavy_check_mark: | The postal code of the location. | 802 |
| `PostalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `InPrivacyRestrictedCountry` | **bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `InPrivacyRestrictedRegion` | **bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |
| `Subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |

View File

@@ -13,7 +13,7 @@ Geo location data
| `City` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `EuropeanUnionMember` | **bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `TimeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `PostalCode` | *int64* | :heavy_check_mark: | The postal code of the location. | 802 |
| `PostalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `InPrivacyRestrictedCountry` | **bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `InPrivacyRestrictedRegion` | **bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |
| `Subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |

View File

@@ -9,13 +9,13 @@ Requests a new pin id used in the authentication flow
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ID` | *int64* | :heavy_check_mark: | N/A | 308667304 |
| `Code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
| `Product` | *string* | :heavy_check_mark: | N/A | 0 |
| `Product` | *string* | :heavy_check_mark: | N/A | Tautulli |
| `Trusted` | **bool* | :heavy_minus_sign: | N/A | |
| `Qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
| `ClientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
| `ClientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
| `Location` | [operations.GeoData](../../models/operations/geodata.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
| `ExpiresIn` | **int64* | :heavy_minus_sign: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
| `ExpiresAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
| `AuthToken` | *any* | :heavy_minus_sign: | N/A | |
| `AuthToken` | **string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
| `NewRegistration` | *any* | :heavy_minus_sign: | N/A | |

View File

@@ -5,4 +5,8 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientName` | **string* | :heavy_minus_sign: | N/A | Plex Web |
| `DeviceName` | **string* | :heavy_minus_sign: | N/A | Linux |
| `ClientVersion` | **string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `ClientPlatform` | **string* | :heavy_minus_sign: | N/A | Chrome |

View File

@@ -6,5 +6,8 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Strong` | **bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `XPlexProduct` | **string* | :heavy_minus_sign: | N/A | Plex Web |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientName` | **string* | :heavy_minus_sign: | N/A | Plex Web |
| `DeviceName` | **string* | :heavy_minus_sign: | N/A | Linux |
| `ClientVersion` | **string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `ClientPlatform` | **string* | :heavy_minus_sign: | N/A | Chrome |

View File

@@ -5,4 +5,4 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |

View File

@@ -5,8 +5,7 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `XPlexToken` | *string* | :heavy_check_mark: | Plex Authentication Token | CV5xoxjTpFKUzBTShsaf |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `IncludeHTTPS` | [*operations.IncludeHTTPS](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `IncludeRelay` | [*operations.IncludeRelay](../../models/operations/includerelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `IncludeIPv6` | [*operations.IncludeIPv6](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |

View File

@@ -9,13 +9,13 @@ The Pin with a non-null authToken when it has been verified by the user
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ID` | *int64* | :heavy_check_mark: | N/A | 308667304 |
| `Code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
| `Product` | *string* | :heavy_check_mark: | N/A | 0 |
| `Product` | *string* | :heavy_check_mark: | N/A | Tautulli |
| `Trusted` | **bool* | :heavy_minus_sign: | N/A | |
| `Qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
| `ClientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
| `ClientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
| `Location` | [operations.GetTokenByPinIDGeoData](../../models/operations/gettokenbypinidgeodata.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
| `ExpiresIn` | **int64* | :heavy_minus_sign: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
| `ExpiresAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
| `AuthToken` | *any* | :heavy_minus_sign: | N/A | |
| `AuthToken` | **string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
| `NewRegistration` | *any* | :heavy_minus_sign: | N/A | |

View File

@@ -13,7 +13,7 @@ Geo location data
| `City` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `EuropeanUnionMember` | **bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `TimeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `PostalCode` | *int64* | :heavy_check_mark: | The postal code of the location. | 802 |
| `PostalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `InPrivacyRestrictedCountry` | **bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `InPrivacyRestrictedRegion` | **bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |
| `Subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |

View File

@@ -5,4 +5,4 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |

View File

@@ -5,5 +5,5 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `PinID` | *int64* | :heavy_check_mark: | The PinID to retrieve an access token for | |

View File

@@ -0,0 +1,11 @@
# GetTokenDetailsAuthenticationResponseStatus
String representation of subscriptionActive
## Values
| Name | Value |
| ----------------------------------------------------- | ----------------------------------------------------- |
| `GetTokenDetailsAuthenticationResponseStatusInactive` | Inactive |
| `GetTokenDetailsAuthenticationResponseStatusActive` | Active |

View File

@@ -0,0 +1,11 @@
# GetTokenDetailsAuthenticationStatus
String representation of subscriptionActive
## Values
| Name | Value |
| --------------------------------------------- | --------------------------------------------- |
| `GetTokenDetailsAuthenticationStatusInactive` | Inactive |
| `GetTokenDetailsAuthenticationStatusActive` | Active |

View File

@@ -0,0 +1,66 @@
# GetTokenDetailsFeatures
## Values
| Name | Value |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| `GetTokenDetailsFeaturesAndroidDolbyVision` | Android - Dolby Vision |
| `GetTokenDetailsFeaturesAndroidPiP` | Android - PiP |
| `GetTokenDetailsFeaturesCuSunset` | CU Sunset |
| `GetTokenDetailsFeaturesHrkEnableEur` | HRK_enable_EUR |
| `GetTokenDetailsFeaturesTrebleShowFeatures` | TREBLE-show-features |
| `GetTokenDetailsFeaturesAdCountdownTimer` | ad-countdown-timer |
| `GetTokenDetailsFeaturesAdaptiveBitrate` | adaptive_bitrate |
| `GetTokenDetailsFeaturesAmazonLoopDebug` | amazon-loop-debug |
| `GetTokenDetailsFeaturesAvodAdAnalysis` | avod-ad-analysis |
| `GetTokenDetailsFeaturesAvodNewMedia` | avod-new-media |
| `GetTokenDetailsFeaturesBlacklistGetSignin` | blacklist_get_signin |
| `GetTokenDetailsFeaturesClientRadioStations` | client-radio-stations |
| `GetTokenDetailsFeaturesCloudflareTurnstileRequired` | cloudflare-turnstile-required |
| `GetTokenDetailsFeaturesCollections` | collections |
| `GetTokenDetailsFeaturesCommentsAndRepliesPushNotifications` | comments_and_replies_push_notifications |
| `GetTokenDetailsFeaturesCommunityAccessPlexTv` | community_access_plex_tv |
| `GetTokenDetailsFeaturesCompanionsSonos` | companions_sonos |
| `GetTokenDetailsFeaturesCustomHomeRemoval` | custom-home-removal |
| `GetTokenDetailsFeaturesDisableHomeUserFriendships` | disable_home_user_friendships |
| `GetTokenDetailsFeaturesDisableSharingFriendships` | disable_sharing_friendships |
| `GetTokenDetailsFeaturesDrmSupport` | drm_support |
| `GetTokenDetailsFeaturesExcludeRestrictions` | exclude restrictions |
| `GetTokenDetailsFeaturesFederatedAuth` | federated-auth |
| `GetTokenDetailsFeaturesFriendRequestPushNotifications` | friend_request_push_notifications |
| `GetTokenDetailsFeaturesGuidedUpgrade` | guided-upgrade |
| `GetTokenDetailsFeaturesHome` | home |
| `GetTokenDetailsFeaturesIncreasePasswordComplexity` | increase-password-complexity |
| `GetTokenDetailsFeaturesIos14PrivacyBanner` | ios14-privacy-banner |
| `GetTokenDetailsFeaturesIterableNotificationTokens` | iterable-notification-tokens |
| `GetTokenDetailsFeaturesKeepPaymentMethod` | keep-payment-method |
| `GetTokenDetailsFeaturesKevinBacon` | kevin-bacon |
| `GetTokenDetailsFeaturesKoreaConsent` | korea-consent |
| `GetTokenDetailsFeaturesLeIsrgRootX1` | le_isrg_root_x1 |
| `GetTokenDetailsFeaturesLetsEncrypt` | lets_encrypt |
| `GetTokenDetailsFeaturesLightningDvrPivot` | lightning-dvr-pivot |
| `GetTokenDetailsFeaturesLiveTvSupportIncompleteSegments` | live-tv-support-incomplete-segments |
| `GetTokenDetailsFeaturesLivetv` | livetv |
| `GetTokenDetailsFeaturesMetadataSearch` | metadata_search |
| `GetTokenDetailsFeaturesNewPlexPassPrices` | new_plex_pass_prices |
| `GetTokenDetailsFeaturesNewsProviderSunsetModal` | news-provider-sunset-modal |
| `GetTokenDetailsFeaturesPhotosFavorites` | photos-favorites |
| `GetTokenDetailsFeaturesPhotosMetadataEdition` | photos-metadata-edition |
| `GetTokenDetailsFeaturesPmsHealth` | pms_health |
| `GetTokenDetailsFeaturesRadio` | radio |
| `GetTokenDetailsFeaturesRateLimitClientToken` | rate-limit-client-token |
| `GetTokenDetailsFeaturesScrobblingServicePlexTv` | scrobbling-service-plex-tv |
| `GetTokenDetailsFeaturesSharedServerNotification` | shared_server_notification |
| `GetTokenDetailsFeaturesSharedSourceNotification` | shared_source_notification |
| `GetTokenDetailsFeaturesSigninWithApple` | signin_with_apple |
| `GetTokenDetailsFeaturesSpringServeAdProvider` | spring_serve_ad_provider |
| `GetTokenDetailsFeaturesTranscoderCache` | transcoder_cache |
| `GetTokenDetailsFeaturesTunerSharing` | tuner-sharing |
| `GetTokenDetailsFeaturesTwoFactorAuthentication` | two-factor-authentication |
| `GetTokenDetailsFeaturesUnsupportedtuners` | unsupportedtuners |
| `GetTokenDetailsFeaturesUpgrade3ds2` | upgrade-3ds2 |
| `GetTokenDetailsFeaturesVodSchema` | vod-schema |
| `GetTokenDetailsFeaturesVodCloudflare` | vod_cloudflare |
| `GetTokenDetailsFeaturesWatchTogetherInvite` | watch-together-invite |
| `GetTokenDetailsFeaturesWebServerDashboard` | web_server_dashboard |

View File

@@ -0,0 +1,9 @@
# GetTokenDetailsStatus
## Values
| Name | Value |
| ------------------------------ | ------------------------------ |
| `GetTokenDetailsStatusOnline` | online |
| `GetTokenDetailsStatusOffline` | offline |

View File

@@ -1,13 +1,13 @@
# GetUserDetailsSubscription
# GetTokenDetailsSubscription
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `Features` | [][operations.GetUserDetailsFeatures](../../models/operations/getuserdetailsfeatures.md) | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `Active` | **bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `SubscribedAt` | **string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `Status` | [*operations.GetUserDetailsAuthenticationResponseStatus](../../models/operations/getuserdetailsauthenticationresponsestatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `PaymentService` | **string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `Plan` | **string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `Features` | [][operations.GetTokenDetailsFeatures](../../models/operations/gettokendetailsfeatures.md) | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `Active` | **bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `SubscribedAt` | **string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `Status` | [*operations.GetTokenDetailsAuthenticationResponseStatus](../../models/operations/gettokendetailsauthenticationresponsestatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `PaymentService` | **string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `Plan` | **string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |

View File

@@ -1,4 +1,4 @@
# GetUserDetailsUserPlexAccount
# GetTokenDetailsUserPlexAccount
Logged in user details
@@ -41,7 +41,7 @@ Logged in user details
| `Services` | [][operations.Services](../../models/operations/services.md) | :heavy_check_mark: | N/A | |
| `Subscription` | [operations.Subscription](../../models/operations/subscription.md) | :heavy_check_mark: | If the accounts Plex Pass subscription is active | |
| `SubscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | |
| `Subscriptions` | [][operations.GetUserDetailsSubscription](../../models/operations/getuserdetailssubscription.md) | :heavy_check_mark: | N/A | |
| `Subscriptions` | [][operations.GetTokenDetailsSubscription](../../models/operations/gettokendetailssubscription.md) | :heavy_check_mark: | N/A | |
| `Thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
| `Title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle |
| `TwoFactorEnabled` | **bool* | :heavy_minus_sign: | If two-factor authentication is enabled | |

View File

@@ -1,11 +0,0 @@
# GetUserDetailsAuthenticationResponseStatus
String representation of subscriptionActive
## Values
| Name | Value |
| ---------------------------------------------------- | ---------------------------------------------------- |
| `GetUserDetailsAuthenticationResponseStatusInactive` | Inactive |
| `GetUserDetailsAuthenticationResponseStatusActive` | Active |

View File

@@ -1,11 +0,0 @@
# GetUserDetailsAuthenticationStatus
String representation of subscriptionActive
## Values
| Name | Value |
| -------------------------------------------- | -------------------------------------------- |
| `GetUserDetailsAuthenticationStatusInactive` | Inactive |
| `GetUserDetailsAuthenticationStatusActive` | Active |

View File

@@ -1,66 +0,0 @@
# GetUserDetailsFeatures
## Values
| Name | Value |
| ----------------------------------------------------------- | ----------------------------------------------------------- |
| `GetUserDetailsFeaturesAndroidDolbyVision` | Android - Dolby Vision |
| `GetUserDetailsFeaturesAndroidPiP` | Android - PiP |
| `GetUserDetailsFeaturesCuSunset` | CU Sunset |
| `GetUserDetailsFeaturesHrkEnableEur` | HRK_enable_EUR |
| `GetUserDetailsFeaturesTrebleShowFeatures` | TREBLE-show-features |
| `GetUserDetailsFeaturesAdCountdownTimer` | ad-countdown-timer |
| `GetUserDetailsFeaturesAdaptiveBitrate` | adaptive_bitrate |
| `GetUserDetailsFeaturesAmazonLoopDebug` | amazon-loop-debug |
| `GetUserDetailsFeaturesAvodAdAnalysis` | avod-ad-analysis |
| `GetUserDetailsFeaturesAvodNewMedia` | avod-new-media |
| `GetUserDetailsFeaturesBlacklistGetSignin` | blacklist_get_signin |
| `GetUserDetailsFeaturesClientRadioStations` | client-radio-stations |
| `GetUserDetailsFeaturesCloudflareTurnstileRequired` | cloudflare-turnstile-required |
| `GetUserDetailsFeaturesCollections` | collections |
| `GetUserDetailsFeaturesCommentsAndRepliesPushNotifications` | comments_and_replies_push_notifications |
| `GetUserDetailsFeaturesCommunityAccessPlexTv` | community_access_plex_tv |
| `GetUserDetailsFeaturesCompanionsSonos` | companions_sonos |
| `GetUserDetailsFeaturesCustomHomeRemoval` | custom-home-removal |
| `GetUserDetailsFeaturesDisableHomeUserFriendships` | disable_home_user_friendships |
| `GetUserDetailsFeaturesDisableSharingFriendships` | disable_sharing_friendships |
| `GetUserDetailsFeaturesDrmSupport` | drm_support |
| `GetUserDetailsFeaturesExcludeRestrictions` | exclude restrictions |
| `GetUserDetailsFeaturesFederatedAuth` | federated-auth |
| `GetUserDetailsFeaturesFriendRequestPushNotifications` | friend_request_push_notifications |
| `GetUserDetailsFeaturesGuidedUpgrade` | guided-upgrade |
| `GetUserDetailsFeaturesHome` | home |
| `GetUserDetailsFeaturesIncreasePasswordComplexity` | increase-password-complexity |
| `GetUserDetailsFeaturesIos14PrivacyBanner` | ios14-privacy-banner |
| `GetUserDetailsFeaturesIterableNotificationTokens` | iterable-notification-tokens |
| `GetUserDetailsFeaturesKeepPaymentMethod` | keep-payment-method |
| `GetUserDetailsFeaturesKevinBacon` | kevin-bacon |
| `GetUserDetailsFeaturesKoreaConsent` | korea-consent |
| `GetUserDetailsFeaturesLeIsrgRootX1` | le_isrg_root_x1 |
| `GetUserDetailsFeaturesLetsEncrypt` | lets_encrypt |
| `GetUserDetailsFeaturesLightningDvrPivot` | lightning-dvr-pivot |
| `GetUserDetailsFeaturesLiveTvSupportIncompleteSegments` | live-tv-support-incomplete-segments |
| `GetUserDetailsFeaturesLivetv` | livetv |
| `GetUserDetailsFeaturesMetadataSearch` | metadata_search |
| `GetUserDetailsFeaturesNewPlexPassPrices` | new_plex_pass_prices |
| `GetUserDetailsFeaturesNewsProviderSunsetModal` | news-provider-sunset-modal |
| `GetUserDetailsFeaturesPhotosFavorites` | photos-favorites |
| `GetUserDetailsFeaturesPhotosMetadataEdition` | photos-metadata-edition |
| `GetUserDetailsFeaturesPmsHealth` | pms_health |
| `GetUserDetailsFeaturesRadio` | radio |
| `GetUserDetailsFeaturesRateLimitClientToken` | rate-limit-client-token |
| `GetUserDetailsFeaturesScrobblingServicePlexTv` | scrobbling-service-plex-tv |
| `GetUserDetailsFeaturesSharedServerNotification` | shared_server_notification |
| `GetUserDetailsFeaturesSharedSourceNotification` | shared_source_notification |
| `GetUserDetailsFeaturesSigninWithApple` | signin_with_apple |
| `GetUserDetailsFeaturesSpringServeAdProvider` | spring_serve_ad_provider |
| `GetUserDetailsFeaturesTranscoderCache` | transcoder_cache |
| `GetUserDetailsFeaturesTunerSharing` | tuner-sharing |
| `GetUserDetailsFeaturesTwoFactorAuthentication` | two-factor-authentication |
| `GetUserDetailsFeaturesUnsupportedtuners` | unsupportedtuners |
| `GetUserDetailsFeaturesUpgrade3ds2` | upgrade-3ds2 |
| `GetUserDetailsFeaturesVodSchema` | vod-schema |
| `GetUserDetailsFeaturesVodCloudflare` | vod_cloudflare |
| `GetUserDetailsFeaturesWatchTogetherInvite` | watch-together-invite |
| `GetUserDetailsFeaturesWebServerDashboard` | web_server_dashboard |

View File

@@ -1,8 +0,0 @@
# GetUserDetailsRequest
## Fields
| Field | Type | Required | Description | Example |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `XPlexToken` | *string* | :heavy_check_mark: | Plex Authentication Token | CV5xoxjTpFKUzBTShsaf |

View File

@@ -1,9 +0,0 @@
# GetUserDetailsStatus
## Values
| Name | Value |
| ----------------------------- | ----------------------------- |
| `GetUserDetailsStatusOnline` | online |
| `GetUserDetailsStatusOffline` | offline |

View File

@@ -5,4 +5,4 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |

View File

@@ -5,5 +5,5 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `XPlexClientIdentifier` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `ClientID` | **string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `RequestBody` | [*operations.PostUsersSignInDataRequestBody](../../models/operations/postuserssignindatarequestbody.md) | :heavy_minus_sign: | Login credentials | |

View File

@@ -3,10 +3,10 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `Identifier` | *string* | :heavy_check_mark: | N/A | metadata-dev |
| `Endpoint` | *string* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv |
| `Token` | *string* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv |
| `Secret` | *string* | :heavy_check_mark: | N/A | |
| `Status` | [operations.GetUserDetailsStatus](../../models/operations/getuserdetailsstatus.md) | :heavy_check_mark: | N/A | online |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `Identifier` | *string* | :heavy_check_mark: | N/A | metadata-dev |
| `Endpoint` | *string* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv |
| `Token` | *string* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv |
| `Secret` | *string* | :heavy_check_mark: | N/A | |
| `Status` | [operations.GetTokenDetailsStatus](../../models/operations/gettokendetailsstatus.md) | :heavy_check_mark: | N/A | online |

View File

@@ -5,11 +5,11 @@ If the accounts Plex Pass subscription is active
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `Features` | [][operations.Features](../../models/operations/features.md) | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `Active` | **bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `SubscribedAt` | **string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `Status` | [*operations.GetUserDetailsAuthenticationStatus](../../models/operations/getuserdetailsauthenticationstatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `PaymentService` | **string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `Plan` | **string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `Features` | [][operations.Features](../../models/operations/features.md) | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `Active` | **bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `SubscribedAt` | **string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `Status` | [*operations.GetTokenDetailsAuthenticationStatus](../../models/operations/gettokendetailsauthenticationstatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `PaymentService` | **string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `Plan` | **string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |

View File

@@ -1,4 +1,4 @@
# AddPlaylistContentsResponseBody
# AddPlaylistContentsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# AddPlaylistContentsPlaylistsResponseBody
# AddPlaylistContentsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# ApplyUpdatesResponseBody
# ApplyUpdatesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# ApplyUpdatesUpdaterResponseBody
# ApplyUpdatesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# CancelServerActivitiesResponseBody
# CancelServerActivitiesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# CancelServerActivitiesActivitiesResponseBody
# CancelServerActivitiesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# CheckForUpdatesResponseBody
# CheckForUpdatesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# CheckForUpdatesUpdaterResponseBody
# CheckForUpdatesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# ClearPlaylistContentsResponseBody
# ClearPlaylistContentsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# ClearPlaylistContentsPlaylistsResponseBody
# ClearPlaylistContentsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# CreatePlaylistResponseBody
# CreatePlaylistBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# CreatePlaylistPlaylistsResponseBody
# CreatePlaylistUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# DeleteLibraryResponseBody
# DeleteLibraryBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# DeleteLibraryLibraryResponseBody
# DeleteLibraryUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# DeletePlaylistResponseBody
# DeletePlaylistBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# DeletePlaylistPlaylistsResponseBody
# DeletePlaylistUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# EnablePaperTrailResponseBody
# EnablePaperTrailBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# EnablePaperTrailLogResponseBody
# EnablePaperTrailUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetAllLibrariesResponseBody
# GetAllLibrariesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetAllLibrariesLibraryResponseBody
# GetAllLibrariesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetAvailableClientsResponseBody
# GetAvailableClientsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetAvailableClientsServerResponseBody
# GetAvailableClientsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetBandwidthStatisticsResponseBody
# GetBandwidthStatisticsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetBandwidthStatisticsStatisticsResponseBody
# GetBandwidthStatisticsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetBannerImageResponseBody
# GetBannerImageBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetBannerImageMediaResponseBody
# GetBannerImageUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetButlerTasksResponseBody
# GetButlerTasksBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetButlerTasksButlerResponseBody
# GetButlerTasksUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetCompanionsDataResponseBody
# GetCompanionsDataBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetCompanionsDataPlexResponseBody
# GetCompanionsDataUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetDevicesResponseBody
# GetDevicesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetDevicesServerResponseBody
# GetDevicesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetFileHashResponseBody
# GetFileHashBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetFileHashLibraryResponseBody
# GetFileHashUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetGeoDataResponseBody
# GetGeoDataBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetGeoDataPlexResponseBody
# GetGeoDataUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetGlobalHubsResponseBody
# GetGlobalHubsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetGlobalHubsHubsResponseBody
# GetGlobalHubsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetHomeDataResponseBody
# GetHomeDataBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetHomeDataPlexResponseBody
# GetHomeDataUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetLibraryDetailsResponseBody
# GetLibraryDetailsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetLibraryDetailsLibraryResponseBody
# GetLibraryDetailsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetLibraryHubsResponseBody
# GetLibraryHubsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetLibraryHubsHubsResponseBody
# GetLibraryHubsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetLibraryItemsResponseBody
# GetLibraryItemsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetLibraryItemsLibraryResponseBody
# GetLibraryItemsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetMediaProvidersResponseBody
# GetMediaProvidersBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetMediaProvidersServerResponseBody
# GetMediaProvidersUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetMetaDataByRatingKeyResponseBody
# GetMetaDataByRatingKeyBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetMetaDataByRatingKeyLibraryResponseBody
# GetMetaDataByRatingKeyUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetMetadataChildrenResponseBody
# GetMetadataChildrenBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetMetadataChildrenLibraryResponseBody
# GetMetadataChildrenUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetMyPlexAccountResponseBody
# GetMyPlexAccountBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetMyPlexAccountServerResponseBody
# GetMyPlexAccountUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetOnDeckResponseBody
# GetOnDeckBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetOnDeckLibraryResponseBody
# GetOnDeckUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,6 +1,6 @@
# GetPinResponseBody
# GetPinBadRequest
Bad Request response when the X-Plex-Client-Identifier is missing
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields

View File

@@ -1,4 +1,4 @@
# GetPlaylistResponseBody
# GetPlaylistBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetPlaylistContentsResponseBody
# GetPlaylistContentsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -1,4 +1,4 @@
# GetPlaylistContentsPlaylistsResponseBody
# GetPlaylistContentsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -1,4 +1,4 @@
# GetPlaylistsResponseBody
# GetPlaylistsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.

Some files were not shown because too many files have changed in this diff Show More