mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.209.2
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: 7fc33f51-d778-40ef-b094-90972c025d39
|
id: 7fc33f51-d778-40ef-b094-90972c025d39
|
||||||
management:
|
management:
|
||||||
docChecksum: 278d186496d83d5830ba4870f8cad39d
|
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: internal
|
speakeasyVersion: internal
|
||||||
generationVersion: 2.269.0
|
generationVersion: 2.281.2
|
||||||
releaseVersion: 0.4.0
|
releaseVersion: 0.4.1
|
||||||
configChecksum: 36a0bdf87b71fb5e9239da9afe59ff45
|
configChecksum: f2ba99db334f17f348fbdb9a81234410
|
||||||
published: true
|
published: true
|
||||||
features:
|
features:
|
||||||
docs:
|
docs:
|
||||||
constsAndDefaults: 0.1.0
|
constsAndDefaults: 0.1.1
|
||||||
core: 1.26.2
|
core: 1.26.3
|
||||||
flattening: 0.1.0
|
flattening: 0.1.0
|
||||||
globalSecurity: 0.1.1
|
globalSecurity: 0.1.3
|
||||||
globalServerURLs: 0.1.1
|
globalServerURLs: 0.1.1
|
||||||
methodServerURLs: 0.1.1
|
methodServerURLs: 0.1.1
|
||||||
nameOverrides: 0.1.0
|
nameOverrides: 0.1.0
|
||||||
@@ -34,6 +34,17 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/go/resources/activities/get_server_activities/_response.mdx
|
- content/pages/01-reference/go/resources/activities/get_server_activities/_response.mdx
|
||||||
- content/pages/01-reference/go/resources/activities/get_server_activities/_usage.mdx
|
- content/pages/01-reference/go/resources/activities/get_server_activities/_usage.mdx
|
||||||
- content/pages/01-reference/go/resources/activities/get_server_activities/get_server_activities.mdx
|
- content/pages/01-reference/go/resources/activities/get_server_activities/get_server_activities.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/authentication.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- content/pages/01-reference/go/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
- content/pages/01-reference/go/resources/butler/butler.mdx
|
- content/pages/01-reference/go/resources/butler/butler.mdx
|
||||||
- content/pages/01-reference/go/resources/butler/get_butler_tasks/_header.mdx
|
- content/pages/01-reference/go/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- content/pages/01-reference/go/resources/butler/get_butler_tasks/_parameters.mdx
|
- content/pages/01-reference/go/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
@@ -232,17 +243,6 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/go/resources/search/perform_voice_search/_usage.mdx
|
- content/pages/01-reference/go/resources/search/perform_voice_search/_usage.mdx
|
||||||
- content/pages/01-reference/go/resources/search/perform_voice_search/perform_voice_search.mdx
|
- content/pages/01-reference/go/resources/search/perform_voice_search/perform_voice_search.mdx
|
||||||
- content/pages/01-reference/go/resources/search/search.mdx
|
- content/pages/01-reference/go/resources/search/search.mdx
|
||||||
- content/pages/01-reference/go/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_transient_token/_header.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_transient_token/_response.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- content/pages/01-reference/go/resources/security/security.mdx
|
|
||||||
- content/pages/01-reference/go/resources/server/get_available_clients/_header.mdx
|
- content/pages/01-reference/go/resources/server/get_available_clients/_header.mdx
|
||||||
- content/pages/01-reference/go/resources/server/get_available_clients/_parameters.mdx
|
- content/pages/01-reference/go/resources/server/get_available_clients/_parameters.mdx
|
||||||
- content/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
- content/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -356,6 +356,17 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/python/resources/activities/get_server_activities/_response.mdx
|
- content/pages/01-reference/python/resources/activities/get_server_activities/_response.mdx
|
||||||
- content/pages/01-reference/python/resources/activities/get_server_activities/_usage.mdx
|
- content/pages/01-reference/python/resources/activities/get_server_activities/_usage.mdx
|
||||||
- content/pages/01-reference/python/resources/activities/get_server_activities/get_server_activities.mdx
|
- content/pages/01-reference/python/resources/activities/get_server_activities/get_server_activities.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/authentication.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- content/pages/01-reference/python/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
- content/pages/01-reference/python/resources/butler/butler.mdx
|
- content/pages/01-reference/python/resources/butler/butler.mdx
|
||||||
- content/pages/01-reference/python/resources/butler/get_butler_tasks/_header.mdx
|
- content/pages/01-reference/python/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- content/pages/01-reference/python/resources/butler/get_butler_tasks/_parameters.mdx
|
- content/pages/01-reference/python/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
@@ -554,17 +565,6 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/python/resources/search/perform_voice_search/_usage.mdx
|
- content/pages/01-reference/python/resources/search/perform_voice_search/_usage.mdx
|
||||||
- content/pages/01-reference/python/resources/search/perform_voice_search/perform_voice_search.mdx
|
- content/pages/01-reference/python/resources/search/perform_voice_search/perform_voice_search.mdx
|
||||||
- content/pages/01-reference/python/resources/search/search.mdx
|
- content/pages/01-reference/python/resources/search/search.mdx
|
||||||
- content/pages/01-reference/python/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_transient_token/_header.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_transient_token/_response.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- content/pages/01-reference/python/resources/security/security.mdx
|
|
||||||
- content/pages/01-reference/python/resources/server/get_available_clients/_header.mdx
|
- content/pages/01-reference/python/resources/server/get_available_clients/_header.mdx
|
||||||
- content/pages/01-reference/python/resources/server/get_available_clients/_parameters.mdx
|
- content/pages/01-reference/python/resources/server/get_available_clients/_parameters.mdx
|
||||||
- content/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
- content/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -678,6 +678,17 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/typescript/resources/activities/get_server_activities/_response.mdx
|
- content/pages/01-reference/typescript/resources/activities/get_server_activities/_response.mdx
|
||||||
- content/pages/01-reference/typescript/resources/activities/get_server_activities/_usage.mdx
|
- content/pages/01-reference/typescript/resources/activities/get_server_activities/_usage.mdx
|
||||||
- content/pages/01-reference/typescript/resources/activities/get_server_activities/get_server_activities.mdx
|
- content/pages/01-reference/typescript/resources/activities/get_server_activities/get_server_activities.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/authentication.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- content/pages/01-reference/typescript/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
- content/pages/01-reference/typescript/resources/butler/butler.mdx
|
- content/pages/01-reference/typescript/resources/butler/butler.mdx
|
||||||
- content/pages/01-reference/typescript/resources/butler/get_butler_tasks/_header.mdx
|
- content/pages/01-reference/typescript/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- content/pages/01-reference/typescript/resources/butler/get_butler_tasks/_parameters.mdx
|
- content/pages/01-reference/typescript/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
@@ -876,17 +887,6 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/typescript/resources/search/perform_voice_search/_usage.mdx
|
- content/pages/01-reference/typescript/resources/search/perform_voice_search/_usage.mdx
|
||||||
- content/pages/01-reference/typescript/resources/search/perform_voice_search/perform_voice_search.mdx
|
- content/pages/01-reference/typescript/resources/search/perform_voice_search/perform_voice_search.mdx
|
||||||
- content/pages/01-reference/typescript/resources/search/search.mdx
|
- content/pages/01-reference/typescript/resources/search/search.mdx
|
||||||
- content/pages/01-reference/typescript/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_transient_token/_header.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_transient_token/_response.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/security/security.mdx
|
|
||||||
- content/pages/01-reference/typescript/resources/server/get_available_clients/_header.mdx
|
- content/pages/01-reference/typescript/resources/server/get_available_clients/_header.mdx
|
||||||
- content/pages/01-reference/typescript/resources/server/get_available_clients/_parameters.mdx
|
- content/pages/01-reference/typescript/resources/server/get_available_clients/_parameters.mdx
|
||||||
- content/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
- content/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -984,6 +984,8 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/typescript/resources/video/video.mdx
|
- content/pages/01-reference/typescript/resources/video/video.mdx
|
||||||
- content/pages/01-reference/typescript/security_options/security_options.mdx
|
- content/pages/01-reference/typescript/security_options/security_options.mdx
|
||||||
- content/pages/01-reference/typescript/server_options/server_options.mdx
|
- content/pages/01-reference/typescript/server_options/server_options.mdx
|
||||||
|
- content/types/models/components/http_metadata/go.mdx
|
||||||
|
- content/types/models/components/http_metadata/python.mdx
|
||||||
- content/types/models/components/http_metadata/typescript.mdx
|
- content/types/models/components/http_metadata/typescript.mdx
|
||||||
- content/types/models/components/security/go.mdx
|
- content/types/models/components/security/go.mdx
|
||||||
- content/types/models/components/security/python.mdx
|
- content/types/models/components/security/python.mdx
|
||||||
@@ -2492,19 +2494,19 @@ generatedFiles:
|
|||||||
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_parameters.mdx
|
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_parameters.mdx
|
||||||
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_usage.mdx
|
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_usage.mdx
|
||||||
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_header.mdx
|
- content/pages/01-reference/curl/resources/playlists/upload_playlist/_header.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/security.mdx
|
- content/pages/01-reference/curl/resources/authentication/authentication.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/get_transient_token.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_authentication.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_authentication.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_response.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_response.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_parameters.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_usage.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_usage.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_header.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_header.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/_authentication.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_authentication.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/_response.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/_parameters.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/_usage.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
- content/pages/01-reference/curl/resources/security/get_source_connection_information/_header.mdx
|
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
- content/pages/01-reference/curl/resources/statistics/statistics.mdx
|
- content/pages/01-reference/curl/resources/statistics/statistics.mdx
|
||||||
- content/pages/01-reference/curl/resources/statistics/get_statistics/get_statistics.mdx
|
- content/pages/01-reference/curl/resources/statistics/get_statistics/get_statistics.mdx
|
||||||
- content/pages/01-reference/curl/resources/statistics/get_statistics/_authentication.mdx
|
- content/pages/01-reference/curl/resources/statistics/get_statistics/_authentication.mdx
|
||||||
@@ -3097,6 +3099,20 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/python/resources/activities/get_server_activities/get_server_activities_content.mdx
|
- src/.gen/pages/01-reference/python/resources/activities/get_server_activities/get_server_activities_content.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/activities/activities.mdx
|
- src/.gen/pages/01-reference/python/resources/activities/activities.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/activities/activities_content.mdx
|
- src/.gen/pages/01-reference/python/resources/activities/activities_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_source_connection_information/get_source_connection_information_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/get_transient_token/get_transient_token_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/python/resources/authentication/authentication_content.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_header.mdx
|
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_parameters.mdx
|
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_response.mdx
|
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_response.mdx
|
||||||
@@ -3341,20 +3357,6 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/python/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
- src/.gen/pages/01-reference/python/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/search/search.mdx
|
- src/.gen/pages/01-reference/python/resources/search/search.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/search/search_content.mdx
|
- src/.gen/pages/01-reference/python/resources/search/search_content.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_source_connection_information/get_source_connection_information_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/get_transient_token/get_transient_token_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/security.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/security/security_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_header.mdx
|
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_header.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_parameters.mdx
|
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -3492,6 +3494,9 @@ generatedFiles:
|
|||||||
- src/pages/python/activities/cancel_server_activities/_meta.json
|
- src/pages/python/activities/cancel_server_activities/_meta.json
|
||||||
- src/pages/python/activities/get_server_activities/_meta.json
|
- src/pages/python/activities/get_server_activities/_meta.json
|
||||||
- src/pages/python/activities/_meta.json
|
- src/pages/python/activities/_meta.json
|
||||||
|
- src/pages/python/authentication/get_source_connection_information/_meta.json
|
||||||
|
- src/pages/python/authentication/get_transient_token/_meta.json
|
||||||
|
- src/pages/python/authentication/_meta.json
|
||||||
- src/pages/python/butler/get_butler_tasks/_meta.json
|
- src/pages/python/butler/get_butler_tasks/_meta.json
|
||||||
- src/pages/python/butler/start_all_tasks/_meta.json
|
- src/pages/python/butler/start_all_tasks/_meta.json
|
||||||
- src/pages/python/butler/start_task/_meta.json
|
- src/pages/python/butler/start_task/_meta.json
|
||||||
@@ -3533,17 +3538,11 @@ generatedFiles:
|
|||||||
- src/pages/python/playlists/_meta.json
|
- src/pages/python/playlists/_meta.json
|
||||||
- src/pages/python/plex/get_pin/_meta.json
|
- src/pages/python/plex/get_pin/_meta.json
|
||||||
- src/pages/python/plex/get_token/_meta.json
|
- src/pages/python/plex/get_token/_meta.json
|
||||||
- src/pages/python/plex/tv/get_pin/_meta.json
|
|
||||||
- src/pages/python/plex/tv/get_token/_meta.json
|
|
||||||
- src/pages/python/plex/tv/_meta.json
|
|
||||||
- src/pages/python/plex/_meta.json
|
- src/pages/python/plex/_meta.json
|
||||||
- src/pages/python/search/get_search_results/_meta.json
|
- src/pages/python/search/get_search_results/_meta.json
|
||||||
- src/pages/python/search/perform_search/_meta.json
|
- src/pages/python/search/perform_search/_meta.json
|
||||||
- src/pages/python/search/perform_voice_search/_meta.json
|
- src/pages/python/search/perform_voice_search/_meta.json
|
||||||
- src/pages/python/search/_meta.json
|
- src/pages/python/search/_meta.json
|
||||||
- src/pages/python/security/get_source_connection_information/_meta.json
|
|
||||||
- src/pages/python/security/get_transient_token/_meta.json
|
|
||||||
- src/pages/python/security/_meta.json
|
|
||||||
- src/pages/python/server/get_available_clients/_meta.json
|
- src/pages/python/server/get_available_clients/_meta.json
|
||||||
- src/pages/python/server/get_devices/_meta.json
|
- src/pages/python/server/get_devices/_meta.json
|
||||||
- src/pages/python/server/get_my_plex_account/_meta.json
|
- src/pages/python/server/get_my_plex_account/_meta.json
|
||||||
@@ -3595,6 +3594,20 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/typescript/resources/activities/get_server_activities/get_server_activities_content.mdx
|
- src/.gen/pages/01-reference/typescript/resources/activities/get_server_activities/get_server_activities_content.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/activities/activities.mdx
|
- src/.gen/pages/01-reference/typescript/resources/activities/activities.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/activities/activities_content.mdx
|
- src/.gen/pages/01-reference/typescript/resources/activities/activities_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_source_connection_information/get_source_connection_information_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/get_transient_token/get_transient_token_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/typescript/resources/authentication/authentication_content.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_header.mdx
|
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_parameters.mdx
|
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_response.mdx
|
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_response.mdx
|
||||||
@@ -3839,20 +3852,6 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/typescript/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
- src/.gen/pages/01-reference/typescript/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/search/search.mdx
|
- src/.gen/pages/01-reference/typescript/resources/search/search.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/search/search_content.mdx
|
- src/.gen/pages/01-reference/typescript/resources/search/search_content.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_source_connection_information/get_source_connection_information_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/get_transient_token/get_transient_token_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/security.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/security/security_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_header.mdx
|
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_header.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_parameters.mdx
|
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -3990,6 +3989,9 @@ generatedFiles:
|
|||||||
- src/pages/typescript/activities/cancel_server_activities/_meta.json
|
- src/pages/typescript/activities/cancel_server_activities/_meta.json
|
||||||
- src/pages/typescript/activities/get_server_activities/_meta.json
|
- src/pages/typescript/activities/get_server_activities/_meta.json
|
||||||
- src/pages/typescript/activities/_meta.json
|
- src/pages/typescript/activities/_meta.json
|
||||||
|
- src/pages/typescript/authentication/get_source_connection_information/_meta.json
|
||||||
|
- src/pages/typescript/authentication/get_transient_token/_meta.json
|
||||||
|
- src/pages/typescript/authentication/_meta.json
|
||||||
- src/pages/typescript/butler/get_butler_tasks/_meta.json
|
- src/pages/typescript/butler/get_butler_tasks/_meta.json
|
||||||
- src/pages/typescript/butler/start_all_tasks/_meta.json
|
- src/pages/typescript/butler/start_all_tasks/_meta.json
|
||||||
- src/pages/typescript/butler/start_task/_meta.json
|
- src/pages/typescript/butler/start_task/_meta.json
|
||||||
@@ -4031,17 +4033,11 @@ generatedFiles:
|
|||||||
- src/pages/typescript/playlists/_meta.json
|
- src/pages/typescript/playlists/_meta.json
|
||||||
- src/pages/typescript/plex/get_pin/_meta.json
|
- src/pages/typescript/plex/get_pin/_meta.json
|
||||||
- src/pages/typescript/plex/get_token/_meta.json
|
- src/pages/typescript/plex/get_token/_meta.json
|
||||||
- src/pages/typescript/plex/tv/get_pin/_meta.json
|
|
||||||
- src/pages/typescript/plex/tv/get_token/_meta.json
|
|
||||||
- src/pages/typescript/plex/tv/_meta.json
|
|
||||||
- src/pages/typescript/plex/_meta.json
|
- src/pages/typescript/plex/_meta.json
|
||||||
- src/pages/typescript/search/get_search_results/_meta.json
|
- src/pages/typescript/search/get_search_results/_meta.json
|
||||||
- src/pages/typescript/search/perform_search/_meta.json
|
- src/pages/typescript/search/perform_search/_meta.json
|
||||||
- src/pages/typescript/search/perform_voice_search/_meta.json
|
- src/pages/typescript/search/perform_voice_search/_meta.json
|
||||||
- src/pages/typescript/search/_meta.json
|
- src/pages/typescript/search/_meta.json
|
||||||
- src/pages/typescript/security/get_source_connection_information/_meta.json
|
|
||||||
- src/pages/typescript/security/get_transient_token/_meta.json
|
|
||||||
- src/pages/typescript/security/_meta.json
|
|
||||||
- src/pages/typescript/server/get_available_clients/_meta.json
|
- src/pages/typescript/server/get_available_clients/_meta.json
|
||||||
- src/pages/typescript/server/get_devices/_meta.json
|
- src/pages/typescript/server/get_devices/_meta.json
|
||||||
- src/pages/typescript/server/get_my_plex_account/_meta.json
|
- src/pages/typescript/server/get_my_plex_account/_meta.json
|
||||||
@@ -4093,6 +4089,20 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/go/resources/activities/get_server_activities/get_server_activities_content.mdx
|
- src/.gen/pages/01-reference/go/resources/activities/get_server_activities/get_server_activities_content.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/activities/activities.mdx
|
- src/.gen/pages/01-reference/go/resources/activities/activities.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/activities/activities_content.mdx
|
- src/.gen/pages/01-reference/go/resources/activities/activities_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_source_connection_information/get_source_connection_information_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/get_transient_token/get_transient_token_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/go/resources/authentication/authentication_content.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_header.mdx
|
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_parameters.mdx
|
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_response.mdx
|
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_response.mdx
|
||||||
@@ -4337,20 +4347,6 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/go/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
- src/.gen/pages/01-reference/go/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/search/search.mdx
|
- src/.gen/pages/01-reference/go/resources/search/search.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/search/search_content.mdx
|
- src/.gen/pages/01-reference/go/resources/search/search_content.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_source_connection_information/get_source_connection_information_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/get_transient_token/get_transient_token_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/security.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/security/security_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_header.mdx
|
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_header.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_parameters.mdx
|
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_parameters.mdx
|
||||||
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
||||||
@@ -4488,6 +4484,9 @@ generatedFiles:
|
|||||||
- src/pages/go/activities/cancel_server_activities/_meta.json
|
- src/pages/go/activities/cancel_server_activities/_meta.json
|
||||||
- src/pages/go/activities/get_server_activities/_meta.json
|
- src/pages/go/activities/get_server_activities/_meta.json
|
||||||
- src/pages/go/activities/_meta.json
|
- src/pages/go/activities/_meta.json
|
||||||
|
- src/pages/go/authentication/get_source_connection_information/_meta.json
|
||||||
|
- src/pages/go/authentication/get_transient_token/_meta.json
|
||||||
|
- src/pages/go/authentication/_meta.json
|
||||||
- src/pages/go/butler/get_butler_tasks/_meta.json
|
- src/pages/go/butler/get_butler_tasks/_meta.json
|
||||||
- src/pages/go/butler/start_all_tasks/_meta.json
|
- src/pages/go/butler/start_all_tasks/_meta.json
|
||||||
- src/pages/go/butler/start_task/_meta.json
|
- src/pages/go/butler/start_task/_meta.json
|
||||||
@@ -4529,17 +4528,11 @@ generatedFiles:
|
|||||||
- src/pages/go/playlists/_meta.json
|
- src/pages/go/playlists/_meta.json
|
||||||
- src/pages/go/plex/get_pin/_meta.json
|
- src/pages/go/plex/get_pin/_meta.json
|
||||||
- src/pages/go/plex/get_token/_meta.json
|
- src/pages/go/plex/get_token/_meta.json
|
||||||
- src/pages/go/plex/tv/get_pin/_meta.json
|
|
||||||
- src/pages/go/plex/tv/get_token/_meta.json
|
|
||||||
- src/pages/go/plex/tv/_meta.json
|
|
||||||
- src/pages/go/plex/_meta.json
|
- src/pages/go/plex/_meta.json
|
||||||
- src/pages/go/search/get_search_results/_meta.json
|
- src/pages/go/search/get_search_results/_meta.json
|
||||||
- src/pages/go/search/perform_search/_meta.json
|
- src/pages/go/search/perform_search/_meta.json
|
||||||
- src/pages/go/search/perform_voice_search/_meta.json
|
- src/pages/go/search/perform_voice_search/_meta.json
|
||||||
- src/pages/go/search/_meta.json
|
- src/pages/go/search/_meta.json
|
||||||
- src/pages/go/security/get_source_connection_information/_meta.json
|
|
||||||
- src/pages/go/security/get_transient_token/_meta.json
|
|
||||||
- src/pages/go/security/_meta.json
|
|
||||||
- src/pages/go/server/get_available_clients/_meta.json
|
- src/pages/go/server/get_available_clients/_meta.json
|
||||||
- src/pages/go/server/get_devices/_meta.json
|
- src/pages/go/server/get_devices/_meta.json
|
||||||
- src/pages/go/server/get_my_plex_account/_meta.json
|
- src/pages/go/server/get_my_plex_account/_meta.json
|
||||||
@@ -4584,6 +4577,22 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/curl/resources/activities/get_server_activities/get_server_activities_content.mdx
|
- src/.gen/pages/01-reference/curl/resources/activities/get_server_activities/get_server_activities_content.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/activities/activities.mdx
|
- src/.gen/pages/01-reference/curl/resources/activities/activities.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/activities/activities_content.mdx
|
- src/.gen/pages/01-reference/curl/resources/activities/activities_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/_authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_source_connection_information/get_source_connection_information_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/_authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/_header.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/_parameters.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/_response.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/_usage.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/get_transient_token/get_transient_token_content.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/authentication.mdx
|
||||||
|
- src/.gen/pages/01-reference/curl/resources/authentication/authentication_content.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_authentication.mdx
|
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_authentication.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_header.mdx
|
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_header.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_parameters.mdx
|
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_parameters.mdx
|
||||||
@@ -4866,22 +4875,6 @@ generatedFiles:
|
|||||||
- src/.gen/pages/01-reference/curl/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
- src/.gen/pages/01-reference/curl/resources/search/perform_voice_search/perform_voice_search_content.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/search/search.mdx
|
- src/.gen/pages/01-reference/curl/resources/search/search.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/search/search_content.mdx
|
- src/.gen/pages/01-reference/curl/resources/search/search_content.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/_authentication.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/get_source_connection_information.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_source_connection_information/get_source_connection_information_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/_authentication.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/_header.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/_parameters.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/_response.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/_usage.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/get_transient_token.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/get_transient_token/get_transient_token_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/security.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/security/security_content.mdx
|
|
||||||
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_authentication.mdx
|
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_authentication.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_header.mdx
|
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_header.mdx
|
||||||
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_parameters.mdx
|
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_parameters.mdx
|
||||||
@@ -5026,6 +5019,9 @@ generatedFiles:
|
|||||||
- src/pages/curl/activities/cancel_server_activities/_meta.json
|
- src/pages/curl/activities/cancel_server_activities/_meta.json
|
||||||
- src/pages/curl/activities/get_server_activities/_meta.json
|
- src/pages/curl/activities/get_server_activities/_meta.json
|
||||||
- src/pages/curl/activities/_meta.json
|
- src/pages/curl/activities/_meta.json
|
||||||
|
- src/pages/curl/authentication/get_source_connection_information/_meta.json
|
||||||
|
- src/pages/curl/authentication/get_transient_token/_meta.json
|
||||||
|
- src/pages/curl/authentication/_meta.json
|
||||||
- src/pages/curl/butler/get_butler_tasks/_meta.json
|
- src/pages/curl/butler/get_butler_tasks/_meta.json
|
||||||
- src/pages/curl/butler/start_all_tasks/_meta.json
|
- src/pages/curl/butler/start_all_tasks/_meta.json
|
||||||
- src/pages/curl/butler/start_task/_meta.json
|
- src/pages/curl/butler/start_task/_meta.json
|
||||||
@@ -5067,9 +5063,6 @@ generatedFiles:
|
|||||||
- src/pages/curl/playlists/_meta.json
|
- src/pages/curl/playlists/_meta.json
|
||||||
- src/pages/curl/plex/get_pin/_meta.json
|
- src/pages/curl/plex/get_pin/_meta.json
|
||||||
- src/pages/curl/plex/get_token/_meta.json
|
- src/pages/curl/plex/get_token/_meta.json
|
||||||
- src/pages/curl/plex/tv/get_pin/_meta.json
|
|
||||||
- src/pages/curl/plex/tv/get_token/_meta.json
|
|
||||||
- src/pages/curl/plex/tv/_meta.json
|
|
||||||
- src/pages/curl/plex/_meta.json
|
- src/pages/curl/plex/_meta.json
|
||||||
- src/pages/curl/search/get_search_results/_meta.json
|
- src/pages/curl/search/get_search_results/_meta.json
|
||||||
- src/pages/curl/search/perform_search/_meta.json
|
- src/pages/curl/search/perform_search/_meta.json
|
||||||
|
|||||||
@@ -53,3 +53,9 @@ Based on:
|
|||||||
Based on:
|
Based on:
|
||||||
- OpenAPI Doc 0.0.3
|
- OpenAPI Doc 0.0.3
|
||||||
- Speakeasy CLI 1.193.0 (2.269.0) https://github.com/speakeasy-api/speakeasy
|
- Speakeasy CLI 1.193.0 (2.269.0) https://github.com/speakeasy-api/speakeasy
|
||||||
|
|
||||||
|
## 2024-03-15 00:28:24
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc 0.0.3
|
||||||
|
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
||||||
|
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
||||||
|
|
||||||
|
## Authentication
|
||||||
|
API Calls regarding authentication for Plex Media Server
|
||||||
|
|
||||||
|
|
||||||
|
### Available Operations
|
||||||
|
|
||||||
|
* [Get Transient Token](/curl/authentication/get_transient_token) - Get a Transient Token.
|
||||||
|
* [Get Source Connection Information](/curl/authentication/get_source_connection_information) - Get Source Connection Information
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetTransientToken />
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetSourceConnectionInformation />
|
||||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
|||||||
import SDKHeader from './_header.mdx';
|
import SDKHeader from './_header.mdx';
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
###### *Security*
|
###### *Authentication*
|
||||||
|
|
||||||
<OperationHeader
|
<OperationHeader
|
||||||
sdkHeader={<SDKHeader />}
|
sdkHeader={<SDKHeader />}
|
||||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
|||||||
import SDKHeader from './_header.mdx';
|
import SDKHeader from './_header.mdx';
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
###### *Security*
|
###### *Authentication*
|
||||||
|
|
||||||
<OperationHeader
|
<OperationHeader
|
||||||
sdkHeader={<SDKHeader />}
|
sdkHeader={<SDKHeader />}
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
```bash Example Request
|
```bash Example Request
|
||||||
curl https://plex.tv/api/v2/pins?strong=false \
|
curl https://plex.tv/api/v2/pins?strong=false \
|
||||||
--header 'Accept: application/json' \
|
--header 'Accept: application/json' \
|
||||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE' \
|
|
||||||
--header 'X-Plex-Client-Identifier: <value>'
|
--header 'X-Plex-Client-Identifier: <value>'
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
```bash Example Request
|
```bash Example Request
|
||||||
curl https://plex.tv/api/v2/pins/<value> \
|
curl https://plex.tv/api/v2/pins/<value> \
|
||||||
--header 'Accept: application/json' \
|
--header 'Accept: application/json' \
|
||||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE' \
|
|
||||||
--header 'X-Plex-Client-Identifier: <value>'
|
--header 'X-Plex-Client-Identifier: <value>'
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import Library from "./library/library.mdx";
|
|||||||
import Log from "./log/log.mdx";
|
import Log from "./log/log.mdx";
|
||||||
import Plex from "./plex/plex.mdx";
|
import Plex from "./plex/plex.mdx";
|
||||||
import Playlists from "./playlists/playlists.mdx";
|
import Playlists from "./playlists/playlists.mdx";
|
||||||
import Security from "./security/security.mdx";
|
import Authentication from "./authentication/authentication.mdx";
|
||||||
import Statistics from "./statistics/statistics.mdx";
|
import Statistics from "./statistics/statistics.mdx";
|
||||||
import Sessions from "./sessions/sessions.mdx";
|
import Sessions from "./sessions/sessions.mdx";
|
||||||
import Updater from "./updater/updater.mdx";
|
import Updater from "./updater/updater.mdx";
|
||||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
|||||||
<Playlists/>
|
<Playlists/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Security/>
|
<Authentication/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Statistics/>
|
<Statistics/>
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
||||||
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
||||||
|
|
||||||
## Security
|
## Authentication
|
||||||
API Calls against Security for Plex Media Server
|
API Calls regarding authentication for Plex Media Server
|
||||||
|
|
||||||
|
|
||||||
### Available Operations
|
### Available Operations
|
||||||
|
|
||||||
* [Get Transient Token](/curl/security/get_transient_token) - Get a Transient Token.
|
* [Get Transient Token](/go/authentication/get_transient_token) - Get a Transient Token.
|
||||||
* [Get Source Connection Information](/curl/security/get_source_connection_information) - Get Source Connection Information
|
* [Get Source Connection Information](/go/authentication/get_source_connection_information) - Get Source Connection Information
|
||||||
|
|
||||||
---
|
---
|
||||||
<GetTransientToken />
|
<GetTransientToken />
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
## Get Source Connection Information
|
||||||
|
|
||||||
|
If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
|
||||||
|
Note: requires Plex Media Server >= 1.15.4.
|
||||||
@@ -3,8 +3,8 @@
|
|||||||
The context to use for the request.
|
The context to use for the request.
|
||||||
|
|
||||||
---
|
---
|
||||||
##### `timespan` *{`*int64`}*
|
##### `source` *{`string`}*
|
||||||
The timespan to retrieve statistics for
|
The source identifier with an included prefix.
|
||||||
the exact meaning of this parameter is not known
|
<br/>
|
||||||
|
**Example:** `server://client-identifier`
|
||||||
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetSourceConnectionInformationResponse from "/content/types/models/operations/get_source_connection_information_response/go.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### *{`*operations.GetSourceConnectionInformationResponse`}*
|
||||||
|
|
||||||
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetSourceConnectionInformationResponse />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
##### *{`error`}*
|
||||||
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```go GetToken.go
|
```go GetSourceConnectionInformation.go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
@@ -8,7 +8,6 @@ import(
|
|||||||
"github.com/LukeHagar/plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -17,17 +16,14 @@ func main() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
var pinID string = "<value>"
|
var source string = "server://client-identifier"
|
||||||
|
|
||||||
var xPlexClientIdentifier string = "<value>"
|
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
res, err := s.Plex.GetToken(ctx, pinID, xPlexClientIdentifier)
|
res, err := s.Authentication.GetSourceConnectionInformation(ctx, source)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
if res != nil {
|
||||||
if res.StatusCode == http.StatusOK {
|
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -38,11 +34,12 @@ func main() {
|
|||||||
{
|
{
|
||||||
"errors": [
|
"errors": [
|
||||||
{
|
{
|
||||||
"code": 1000,
|
"code": 1001,
|
||||||
"message": "X-Plex-Client-Identifier is missing",
|
"message": "User could not be authenticated",
|
||||||
"status": 400
|
"status": 401
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"HttpMeta": {}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
</CH.Code>
|
</CH.Code>
|
||||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
|||||||
import SDKHeader from './_header.mdx';
|
import SDKHeader from './_header.mdx';
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
###### *Plex*
|
###### *Authentication*
|
||||||
|
|
||||||
<OperationHeader
|
<OperationHeader
|
||||||
sdkHeader={<SDKHeader />}
|
sdkHeader={<SDKHeader />}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
## Get 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.
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetTransientTokenQueryParamType from "/content/types/models/operations/get_transient_token_query_param_type/go.mdx"
|
||||||
|
import Scope from "/content/types/models/operations/scope/go.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### `ctx` [*{ `context.Context` }*](https://pkg.go.dev/context#Context)
|
||||||
|
The context to use for the request.
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `type_` *{`operations.GetTransientTokenQueryParamType`}*
|
||||||
|
`delegation` \- This is the only supported `type` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetTransientTokenQueryParamType />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `scope` *{`operations.Scope`}*
|
||||||
|
`all` \- This is the only supported `scope` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<Scope />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
import GetPinResponse from "/content/types/models/operations/get_pin_response/go.mdx"
|
import GetTransientTokenResponse from "/content/types/models/operations/get_transient_token_response/go.mdx"
|
||||||
import Collapsible from "/src/components/Collapsible";
|
import Collapsible from "/src/components/Collapsible";
|
||||||
import Labels from "/src/lib/labels";
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
##### *{`*operations.GetPinResponse`}*
|
##### *{`*operations.GetTransientTokenResponse`}*
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
<GetPinResponse />
|
<GetTransientTokenResponse />
|
||||||
</Collapsible>
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
|
||||||
|
<CH.Code>
|
||||||
|
```go GetTransientToken.go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import(
|
||||||
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
|
"github.com/LukeHagar/plexgo"
|
||||||
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
|
"context"
|
||||||
|
"log"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
s := plexgo.New(
|
||||||
|
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
var type_ operations.GetTransientTokenQueryParamType = operations.GetTransientTokenQueryParamTypeDelegation
|
||||||
|
|
||||||
|
var scope operations.Scope = operations.ScopeAll
|
||||||
|
|
||||||
|
ctx := context.Background()
|
||||||
|
res, err := s.Authentication.GetTransientToken(ctx, type_, scope)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
|
if res != nil {
|
||||||
|
// handle response
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
---
|
||||||
|
|
||||||
|
```json Example Response
|
||||||
|
{
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"code": 1001,
|
||||||
|
"message": "User could not be authenticated",
|
||||||
|
"status": 401
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"HttpMeta": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</CH.Code>
|
||||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
|||||||
import SDKHeader from './_header.mdx';
|
import SDKHeader from './_header.mdx';
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
###### *Plex*
|
###### *Authentication*
|
||||||
|
|
||||||
<OperationHeader
|
<OperationHeader
|
||||||
sdkHeader={<SDKHeader />}
|
sdkHeader={<SDKHeader />}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Pin
|
|
||||||
|
|
||||||
Retrieve a Pin from Plex.tv for authentication flows
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `ctx` [*{ `context.Context` }*](https://pkg.go.dev/context#Context)
|
|
||||||
The context to use for the request.
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `xPlexClientIdentifier` *{`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)
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `strong` *{`*bool`}*
|
|
||||||
Determines the kind of code returned by the API call
|
|
||||||
Strong codes are used for Pin authentication flows
|
|
||||||
Non\-Strong codes are used for `Plex.tv/link`
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `opts` *{`[]operations.Option`}*
|
|
||||||
The options for this request.
|
|
||||||
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```go GetPin.go
|
|
||||||
package main
|
|
||||||
|
|
||||||
import(
|
|
||||||
"github.com/LukeHagar/plexgo/models/components"
|
|
||||||
"github.com/LukeHagar/plexgo"
|
|
||||||
"context"
|
|
||||||
"log"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
s := plexgo.New(
|
|
||||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
var xPlexClientIdentifier string = "<value>"
|
|
||||||
|
|
||||||
var strong *bool = plexgo.Bool(false)
|
|
||||||
|
|
||||||
ctx := context.Background()
|
|
||||||
res, err := s.Plex.GetPin(ctx, xPlexClientIdentifier, strong)
|
|
||||||
if err != nil {
|
|
||||||
log.Fatal(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
if res.Object != nil {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"id": 1272322473,
|
|
||||||
"code": "3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"product": "Plex Web",
|
|
||||||
"trusted": false,
|
|
||||||
"qr": "https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"clientIdentifier": "Postman",
|
|
||||||
"location": {
|
|
||||||
"code": "US",
|
|
||||||
"european_union_member": false,
|
|
||||||
"continent_code": "NA",
|
|
||||||
"country": "United States",
|
|
||||||
"city": "Austin",
|
|
||||||
"time_zone": "America/Chicago",
|
|
||||||
"postal_code": 78732,
|
|
||||||
"in_privacy_restricted_country": false,
|
|
||||||
"subdivisions": "Texas",
|
|
||||||
"coordinates": "30.3768 -97.8935"
|
|
||||||
},
|
|
||||||
"expiresIn": 1800,
|
|
||||||
"createdAt": "2023-04-12T17:00:03Z",
|
|
||||||
"expiresAt": "2023-04-12T17:30:03Z",
|
|
||||||
"authToken": "None",
|
|
||||||
"newRegistration": "None"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Token
|
|
||||||
|
|
||||||
Retrieve an Access Token from Plex.tv after the Pin has already been authenticated
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `ctx` [*{ `context.Context` }*](https://pkg.go.dev/context#Context)
|
|
||||||
The context to use for the request.
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `pinID` *{`string`}*
|
|
||||||
The PinID to retrieve an access token for
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `xPlexClientIdentifier` *{`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)
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `opts` *{`[]operations.Option`}*
|
|
||||||
The options for this request.
|
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ import Library from "./library/library.mdx";
|
|||||||
import Log from "./log/log.mdx";
|
import Log from "./log/log.mdx";
|
||||||
import Plex from "./plex/plex.mdx";
|
import Plex from "./plex/plex.mdx";
|
||||||
import Playlists from "./playlists/playlists.mdx";
|
import Playlists from "./playlists/playlists.mdx";
|
||||||
import Security from "./security/security.mdx";
|
import Authentication from "./authentication/authentication.mdx";
|
||||||
import Statistics from "./statistics/statistics.mdx";
|
import Statistics from "./statistics/statistics.mdx";
|
||||||
import Sessions from "./sessions/sessions.mdx";
|
import Sessions from "./sessions/sessions.mdx";
|
||||||
import Updater from "./updater/updater.mdx";
|
import Updater from "./updater/updater.mdx";
|
||||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
|||||||
<Playlists/>
|
<Playlists/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Security/>
|
<Authentication/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Statistics/>
|
<Statistics/>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Statistics
|
|
||||||
|
|
||||||
This will return the media statistics for the server
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Statistics*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import GetStatistics from "./get_statistics/get_statistics.mdx";
|
|
||||||
|
|
||||||
## Statistics
|
|
||||||
API Calls that perform operations with Plex Media Server Statistics
|
|
||||||
|
|
||||||
|
|
||||||
### Available Operations
|
|
||||||
|
|
||||||
* [Get Statistics](/go/statistics/get_statistics) - Get Media Statistics
|
|
||||||
|
|
||||||
---
|
|
||||||
<GetStatistics />
|
|
||||||
@@ -25,7 +25,6 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if res.Object != nil {
|
if res.Object != nil {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if res.Object != nil {
|
if res.Object != nil {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
@@ -68,7 +67,6 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if res.Object != nil {
|
if res.Object != nil {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
@@ -85,14 +83,11 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/LukeHagar/plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"github.com/LukeHagar/plexgo/models/components"
|
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
s := plexgo.New(
|
s := plexgo.New()
|
||||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
|
||||||
)
|
|
||||||
|
|
||||||
var xPlexClientIdentifier string = "<value>"
|
var xPlexClientIdentifier string = "<value>"
|
||||||
|
|
||||||
@@ -103,7 +98,6 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if res.Object != nil {
|
if res.Object != nil {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ except errors.SDKError as e:
|
|||||||
if res.object is not None:
|
if res.object is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{/* End Python Errors */}
|
{/* End Python Errors */}
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
||||||
|
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
||||||
|
|
||||||
|
## Authentication
|
||||||
|
API Calls regarding authentication for Plex Media Server
|
||||||
|
|
||||||
|
|
||||||
|
### Available Operations
|
||||||
|
|
||||||
|
* [Get Transient Token](/python/authentication/get_transient_token) - Get a Transient Token.
|
||||||
|
* [Get Source Connection Information](/python/authentication/get_source_connection_information) - Get Source Connection Information
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetTransientToken />
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetSourceConnectionInformation />
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
## Get Source Connection Information
|
||||||
|
|
||||||
|
If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
|
||||||
|
Note: requires Plex Media Server >= 1.15.4.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
##### `source` *{`str`}*
|
||||||
|
The source identifier with an included prefix.
|
||||||
|
<br/>
|
||||||
|
**Example:** `server://client-identifier`
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetSourceConnectionInformationResponse from "/content/types/models/operations/get_source_connection_information_response/python.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### *{`operations.GetSourceConnectionInformationResponse`}*
|
||||||
|
|
||||||
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetSourceConnectionInformationResponse />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
<CH.Code>
|
||||||
|
```python GetSourceConnectionInformation.py
|
||||||
|
import plex_api
|
||||||
|
|
||||||
|
s = plex_api.PlexAPI(
|
||||||
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
res = s.authentication.get_source_connection_information(source='server://client-identifier')
|
||||||
|
|
||||||
|
if res is not None:
|
||||||
|
# handle response
|
||||||
|
pass
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
|
||||||
|
```json Example Response
|
||||||
|
{
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"code": 1001,
|
||||||
|
"message": "User could not be authenticated",
|
||||||
|
"status": 401
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"HttpMeta": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</CH.Code>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import CurlHeader from './_header.mdx';
|
||||||
|
import SDKHeader from './_header.mdx';
|
||||||
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
|
###### *Authentication*
|
||||||
|
|
||||||
|
<OperationHeader
|
||||||
|
sdkHeader={<SDKHeader />}
|
||||||
|
curlHeader={<CurlHeader />}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* render operation */}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
## Get 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.
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetTransientTokenQueryParamType from "/content/types/models/operations/get_transient_token_query_param_type/python.mdx"
|
||||||
|
import Scope from "/content/types/models/operations/scope/python.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### `type` *{`operations.GetTransientTokenQueryParamType`}*
|
||||||
|
`delegation` \- This is the only supported `type` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetTransientTokenQueryParamType />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `scope` *{`operations.Scope`}*
|
||||||
|
`all` \- This is the only supported `scope` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<Scope />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
import GetTokenResponse from "/content/types/models/operations/get_token_response/python.mdx"
|
import GetTransientTokenResponse from "/content/types/models/operations/get_transient_token_response/python.mdx"
|
||||||
import Collapsible from "/src/components/Collapsible";
|
import Collapsible from "/src/components/Collapsible";
|
||||||
import Labels from "/src/lib/labels";
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
##### *{`operations.GetTokenResponse`}*
|
##### *{`operations.GetTransientTokenResponse`}*
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
<GetTokenResponse />
|
<GetTransientTokenResponse />
|
||||||
</Collapsible>
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
<CH.Code>
|
||||||
|
```python GetTransientToken.py
|
||||||
|
import plex_api
|
||||||
|
from plex_api.models import operations
|
||||||
|
|
||||||
|
s = plex_api.PlexAPI(
|
||||||
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
res = s.authentication.get_transient_token(type=operations.GetTransientTokenQueryParamType.DELEGATION, scope=operations.Scope.ALL)
|
||||||
|
|
||||||
|
if res is not None:
|
||||||
|
# handle response
|
||||||
|
pass
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
|
||||||
|
```json Example Response
|
||||||
|
{
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"code": 1001,
|
||||||
|
"message": "User could not be authenticated",
|
||||||
|
"status": 401
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"HttpMeta": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</CH.Code>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import CurlHeader from './_header.mdx';
|
||||||
|
import SDKHeader from './_header.mdx';
|
||||||
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
|
###### *Authentication*
|
||||||
|
|
||||||
|
<OperationHeader
|
||||||
|
sdkHeader={<SDKHeader />}
|
||||||
|
curlHeader={<CurlHeader />}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* render operation */}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Pin
|
|
||||||
|
|
||||||
Retrieve a Pin from Plex.tv for authentication flows
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `x_plex_client_identifier` *{`str`}*
|
|
||||||
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)
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `strong` *{`Optional[bool]`}*
|
|
||||||
Determines the kind of code returned by the API call
|
|
||||||
Strong codes are used for Pin authentication flows
|
|
||||||
Non\-Strong codes are used for `Plex.tv/link`
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `server_url` *{`Optional[str]`}*
|
|
||||||
An optional server URL to use.
|
|
||||||
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```python GetPin.py
|
|
||||||
import plex_api
|
|
||||||
|
|
||||||
s = plex_api.PlexAPI(
|
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
res = s.plex.get_pin(x_plex_client_identifier='<value>', strong=False)
|
|
||||||
|
|
||||||
if res.object is not None:
|
|
||||||
# handle response
|
|
||||||
pass
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"id": 1272322473,
|
|
||||||
"code": "3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"product": "Plex Web",
|
|
||||||
"trusted": false,
|
|
||||||
"qr": "https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"clientIdentifier": "Postman",
|
|
||||||
"location": {
|
|
||||||
"code": "US",
|
|
||||||
"european_union_member": false,
|
|
||||||
"continent_code": "NA",
|
|
||||||
"country": "United States",
|
|
||||||
"city": "Austin",
|
|
||||||
"time_zone": "America/Chicago",
|
|
||||||
"postal_code": 78732,
|
|
||||||
"in_privacy_restricted_country": false,
|
|
||||||
"subdivisions": "Texas",
|
|
||||||
"coordinates": "30.3768 -97.8935"
|
|
||||||
},
|
|
||||||
"expiresIn": 1800,
|
|
||||||
"createdAt": "2023-04-12T17:00:03Z",
|
|
||||||
"expiresAt": "2023-04-12T17:30:03Z",
|
|
||||||
"authToken": "None",
|
|
||||||
"newRegistration": "None"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Plex*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Token
|
|
||||||
|
|
||||||
Retrieve an Access Token from Plex.tv after the Pin has already been authenticated
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `pin_id` *{`str`}*
|
|
||||||
The PinID to retrieve an access token for
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `x_plex_client_identifier` *{`str`}*
|
|
||||||
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)
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `server_url` *{`Optional[str]`}*
|
|
||||||
An optional server URL to use.
|
|
||||||
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```python GetToken.py
|
|
||||||
import plex_api
|
|
||||||
|
|
||||||
s = plex_api.PlexAPI(
|
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
res = s.plex.get_token(pin_id='<value>', x_plex_client_identifier='<value>')
|
|
||||||
|
|
||||||
if res.status_code == 200:
|
|
||||||
# handle response
|
|
||||||
pass
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"errors": [
|
|
||||||
{
|
|
||||||
"code": 1000,
|
|
||||||
"message": "X-Plex-Client-Identifier is missing",
|
|
||||||
"status": 400
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Plex*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -13,7 +13,7 @@ import Library from "./library/library.mdx";
|
|||||||
import Log from "./log/log.mdx";
|
import Log from "./log/log.mdx";
|
||||||
import Plex from "./plex/plex.mdx";
|
import Plex from "./plex/plex.mdx";
|
||||||
import Playlists from "./playlists/playlists.mdx";
|
import Playlists from "./playlists/playlists.mdx";
|
||||||
import Security from "./security/security.mdx";
|
import Authentication from "./authentication/authentication.mdx";
|
||||||
import Statistics from "./statistics/statistics.mdx";
|
import Statistics from "./statistics/statistics.mdx";
|
||||||
import Sessions from "./sessions/sessions.mdx";
|
import Sessions from "./sessions/sessions.mdx";
|
||||||
import Updater from "./updater/updater.mdx";
|
import Updater from "./updater/updater.mdx";
|
||||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
|||||||
<Playlists/>
|
<Playlists/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Security/>
|
<Authentication/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Statistics/>
|
<Statistics/>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Statistics
|
|
||||||
|
|
||||||
This will return the media statistics for the server
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `timespan` *{`Optional[int]`}*
|
|
||||||
The timespan to retrieve statistics for
|
|
||||||
the exact meaning of this parameter is not known
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
import GetStatisticsResponse from "/content/types/models/operations/get_statistics_response/python.mdx"
|
|
||||||
import Collapsible from "/src/components/Collapsible";
|
|
||||||
import Labels from "/src/lib/labels";
|
|
||||||
|
|
||||||
##### *{`operations.GetStatisticsResponse`}*
|
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
|
||||||
<GetStatisticsResponse />
|
|
||||||
</Collapsible>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```python GetStatistics.py
|
|
||||||
import plex_api
|
|
||||||
|
|
||||||
s = plex_api.PlexAPI(
|
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
res = s.statistics.get_statistics(timespan=944669)
|
|
||||||
|
|
||||||
if res.object is not None:
|
|
||||||
# handle response
|
|
||||||
pass
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"MediaContainer": {
|
|
||||||
"size": 5497,
|
|
||||||
"Device": [],
|
|
||||||
"Account": [],
|
|
||||||
"StatisticsMedia": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Statistics*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import GetStatistics from "./get_statistics/get_statistics.mdx";
|
|
||||||
|
|
||||||
## Statistics
|
|
||||||
API Calls that perform operations with Plex Media Server Statistics
|
|
||||||
|
|
||||||
|
|
||||||
### Available Operations
|
|
||||||
|
|
||||||
* [Get Statistics](/python/statistics/get_statistics) - Get Media Statistics
|
|
||||||
|
|
||||||
---
|
|
||||||
<GetStatistics />
|
|
||||||
@@ -19,5 +19,6 @@ res = s.server.get_server_capabilities()
|
|||||||
if res.object is not None:
|
if res.object is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
```
|
```
|
||||||
{/* End Python Security Options */}
|
{/* End Python Security Options */}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ res = s.server.get_server_capabilities()
|
|||||||
if res.object is not None:
|
if res.object is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Variables
|
#### Variables
|
||||||
@@ -48,6 +49,7 @@ res = s.server.get_server_capabilities()
|
|||||||
if res.object is not None:
|
if res.object is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Override Server URL Per-Operation
|
### Override Server URL Per-Operation
|
||||||
@@ -56,9 +58,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve
|
|||||||
```python
|
```python
|
||||||
import plex_api
|
import plex_api
|
||||||
|
|
||||||
s = plex_api.PlexAPI(
|
s = plex_api.PlexAPI()
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
res = s.plex.get_pin(server_url="https://plex.tv/api/v2", x_plex_client_identifier='<value>', strong=False)
|
res = s.plex.get_pin(server_url="https://plex.tv/api/v2", x_plex_client_identifier='<value>', strong=False)
|
||||||
@@ -66,5 +66,6 @@ res = s.plex.get_pin(server_url="https://plex.tv/api/v2", x_plex_client_identifi
|
|||||||
if res.object is not None:
|
if res.object is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
```
|
```
|
||||||
{/* End Python Server Options */}
|
{/* End Python Server Options */}
|
||||||
|
|||||||
@@ -3,10 +3,12 @@ All SDK methods return a response object or throw an error. If Error objects are
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Example
|
Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging.
|
||||||
|
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
import { PlexAPI } from "@lukehagar/plexjs";
|
||||||
|
import * as errors from "@lukehagar/plexjs/models/errors";
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const sdk = new PlexAPI({
|
const sdk = new PlexAPI({
|
||||||
@@ -18,6 +20,13 @@ async function run() {
|
|||||||
result = await sdk.server.getServerCapabilities();
|
result = await sdk.server.getServerCapabilities();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
switch (true) {
|
switch (true) {
|
||||||
|
case err instanceof errors.SDKValidationError: {
|
||||||
|
// Validation errors can be pretty-printed
|
||||||
|
console.error(err.pretty());
|
||||||
|
// Raw value may also be inspected
|
||||||
|
console.error(err.rawValue);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case err instanceof errors.GetServerCapabilitiesResponseBody: {
|
case err instanceof errors.GetServerCapabilitiesResponseBody: {
|
||||||
console.error(err); // handle exception
|
console.error(err); // handle exception
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
||||||
|
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
||||||
|
|
||||||
|
## Authentication
|
||||||
|
API Calls regarding authentication for Plex Media Server
|
||||||
|
|
||||||
|
|
||||||
|
### Available Operations
|
||||||
|
|
||||||
|
* [Get Transient Token](/typescript/authentication/get_transient_token) - Get a Transient Token.
|
||||||
|
* [Get Source Connection Information](/typescript/authentication/get_source_connection_information) - Get Source Connection Information
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetTransientToken />
|
||||||
|
|
||||||
|
---
|
||||||
|
<GetSourceConnectionInformation />
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
## Get Source Connection Information
|
||||||
|
|
||||||
|
If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
|
||||||
|
Note: requires Plex Media Server >= 1.15.4.
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
##### `timespan?`: *{`number`}*
|
##### `source`: *{`string`}*
|
||||||
The timespan to retrieve statistics for
|
The source identifier with an included prefix.
|
||||||
the exact meaning of this parameter is not known
|
<br/>
|
||||||
|
**Example:** `[object Object]`
|
||||||
|
|
||||||
---
|
---
|
||||||
##### `options?`: *{`RequestOptions`}*
|
##### `options?`: *{`RequestOptions`}*
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetSourceConnectionInformationResponse from "/content/types/models/operations/get_source_connection_information_response/typescript.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### *{`Promise<operations.GetSourceConnectionInformationResponse>`}*
|
||||||
|
|
||||||
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetSourceConnectionInformationResponse />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```typescript GetToken.ts
|
```typescript GetSourceConnectionInformation.ts
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
import { PlexAPI } from "@lukehagar/plexjs";
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
@@ -8,10 +8,9 @@ async function run() {
|
|||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
accessToken: "<YOUR_API_KEY_HERE>",
|
||||||
});
|
});
|
||||||
|
|
||||||
const pinID = "<value>";
|
const source = "server://client-identifier";
|
||||||
const xPlexClientIdentifier = "<value>";
|
|
||||||
|
|
||||||
const result = await sdk.plex.getToken(pinID, xPlexClientIdentifier);
|
const result = await sdk.authentication.getSourceConnectionInformation(source);
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
console.log(result)
|
console.log(result)
|
||||||
@@ -25,9 +24,9 @@ run();
|
|||||||
{
|
{
|
||||||
"errors": [
|
"errors": [
|
||||||
{
|
{
|
||||||
"code": 1000,
|
"code": 1001,
|
||||||
"message": "X-Plex-Client-Identifier is missing",
|
"message": "User could not be authenticated",
|
||||||
"status": 400
|
"status": 401
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"HttpMeta": {}
|
"HttpMeta": {}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import CurlHeader from './_header.mdx';
|
||||||
|
import SDKHeader from './_header.mdx';
|
||||||
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
|
###### *Authentication*
|
||||||
|
|
||||||
|
<OperationHeader
|
||||||
|
sdkHeader={<SDKHeader />}
|
||||||
|
curlHeader={<CurlHeader />}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* render operation */}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
## Get 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.
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
import GetTransientTokenQueryParamType from "/content/types/models/operations/get_transient_token_query_param_type/typescript.mdx"
|
||||||
|
import Scope from "/content/types/models/operations/scope/typescript.mdx"
|
||||||
|
import Collapsible from "/src/components/Collapsible";
|
||||||
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
|
##### `type`: *{`operations.GetTransientTokenQueryParamType`}*
|
||||||
|
`delegation` \- This is the only supported `type` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<GetTransientTokenQueryParamType />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `scope`: *{`operations.Scope`}*
|
||||||
|
`all` \- This is the only supported `scope` parameter.
|
||||||
|
|
||||||
|
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
|
<Scope />
|
||||||
|
</Collapsible>
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `options?`: *{`RequestOptions`}*
|
||||||
|
Options for making HTTP requests.
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `options.fetchOptions?`: [*{ `RequestInit` }*](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options)
|
||||||
|
Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed.
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
import GetPinResponse from "/content/types/models/operations/get_pin_response/python.mdx"
|
import GetTransientTokenResponse from "/content/types/models/operations/get_transient_token_response/typescript.mdx"
|
||||||
import Collapsible from "/src/components/Collapsible";
|
import Collapsible from "/src/components/Collapsible";
|
||||||
import Labels from "/src/lib/labels";
|
import Labels from "/src/lib/labels";
|
||||||
|
|
||||||
##### *{`operations.GetPinResponse`}*
|
##### *{`Promise<operations.GetTransientTokenResponse>`}*
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||||
<GetPinResponse />
|
<GetTransientTokenResponse />
|
||||||
</Collapsible>
|
</Collapsible>
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
<CH.Code>
|
||||||
|
```typescript GetTransientToken.ts
|
||||||
|
import { PlexAPI } from "@lukehagar/plexjs";
|
||||||
|
import { GetTransientTokenQueryParamType, Scope } from "@lukehagar/plexjs/models/operations";
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const sdk = new PlexAPI({
|
||||||
|
accessToken: "<YOUR_API_KEY_HERE>",
|
||||||
|
});
|
||||||
|
|
||||||
|
const type = GetTransientTokenQueryParamType.Delegation;
|
||||||
|
const scope = Scope.All;
|
||||||
|
|
||||||
|
const result = await sdk.authentication.getTransientToken(type, scope);
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
```
|
||||||
|
---
|
||||||
|
|
||||||
|
```json Example Response
|
||||||
|
{
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"code": 1001,
|
||||||
|
"message": "User could not be authenticated",
|
||||||
|
"status": 401
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"HttpMeta": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</CH.Code>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import CurlHeader from './_header.mdx';
|
||||||
|
import SDKHeader from './_header.mdx';
|
||||||
|
import OperationHeader from '/src/components/OperationHeader';
|
||||||
|
|
||||||
|
###### *Authentication*
|
||||||
|
|
||||||
|
<OperationHeader
|
||||||
|
sdkHeader={<SDKHeader />}
|
||||||
|
curlHeader={<CurlHeader />}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* render operation */}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Pin
|
|
||||||
|
|
||||||
Retrieve a Pin from Plex.tv for authentication flows
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `xPlexClientIdentifier`: *{`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)
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `strong?`: *{`boolean`}*
|
|
||||||
Determines the kind of code returned by the API call
|
|
||||||
Strong codes are used for Pin authentication flows
|
|
||||||
Non\-Strong codes are used for `Plex.tv/link`
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `options?`: *{`RequestOptions`}*
|
|
||||||
Options for making HTTP requests.
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `options.fetchOptions?`: [*{ `RequestInit` }*](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options)
|
|
||||||
Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed.
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `options.serverURL?`: *{`string`}*
|
|
||||||
An optional server URL to use.
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
import GetPinResponse from "/content/types/models/operations/get_pin_response/typescript.mdx"
|
|
||||||
import Collapsible from "/src/components/Collapsible";
|
|
||||||
import Labels from "/src/lib/labels";
|
|
||||||
|
|
||||||
##### *{`Promise<operations.GetPinResponse>`}*
|
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
|
||||||
<GetPinResponse />
|
|
||||||
</Collapsible>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```typescript GetPin.ts
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const sdk = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
});
|
|
||||||
|
|
||||||
const xPlexClientIdentifier = "<value>";
|
|
||||||
const strong = false;
|
|
||||||
|
|
||||||
const result = await sdk.plex.getPin(xPlexClientIdentifier, strong);
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"id": 1272322473,
|
|
||||||
"code": "3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"product": "Plex Web",
|
|
||||||
"trusted": false,
|
|
||||||
"qr": "https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t",
|
|
||||||
"clientIdentifier": "Postman",
|
|
||||||
"location": {
|
|
||||||
"code": "US",
|
|
||||||
"european_union_member": false,
|
|
||||||
"continent_code": "NA",
|
|
||||||
"country": "United States",
|
|
||||||
"city": "Austin",
|
|
||||||
"time_zone": "America/Chicago",
|
|
||||||
"postal_code": 78732,
|
|
||||||
"in_privacy_restricted_country": false,
|
|
||||||
"subdivisions": "Texas",
|
|
||||||
"coordinates": "30.3768 -97.8935"
|
|
||||||
},
|
|
||||||
"expiresIn": 1800,
|
|
||||||
"createdAt": "2023-04-12T17:00:03Z",
|
|
||||||
"expiresAt": "2023-04-12T17:30:03Z",
|
|
||||||
"authToken": "None",
|
|
||||||
"newRegistration": "None"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Plex*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Token
|
|
||||||
|
|
||||||
Retrieve an Access Token from Plex.tv after the Pin has already been authenticated
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
import GetTokenResponse from "/content/types/models/operations/get_token_response/typescript.mdx"
|
|
||||||
import Collapsible from "/src/components/Collapsible";
|
|
||||||
import Labels from "/src/lib/labels";
|
|
||||||
|
|
||||||
##### *{`Promise<operations.GetTokenResponse>`}*
|
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
|
||||||
<GetTokenResponse />
|
|
||||||
</Collapsible>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Plex*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -13,7 +13,7 @@ import Library from "./library/library.mdx";
|
|||||||
import Log from "./log/log.mdx";
|
import Log from "./log/log.mdx";
|
||||||
import Plex from "./plex/plex.mdx";
|
import Plex from "./plex/plex.mdx";
|
||||||
import Playlists from "./playlists/playlists.mdx";
|
import Playlists from "./playlists/playlists.mdx";
|
||||||
import Security from "./security/security.mdx";
|
import Authentication from "./authentication/authentication.mdx";
|
||||||
import Statistics from "./statistics/statistics.mdx";
|
import Statistics from "./statistics/statistics.mdx";
|
||||||
import Sessions from "./sessions/sessions.mdx";
|
import Sessions from "./sessions/sessions.mdx";
|
||||||
import Updater from "./updater/updater.mdx";
|
import Updater from "./updater/updater.mdx";
|
||||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
|||||||
<Playlists/>
|
<Playlists/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Security/>
|
<Authentication/>
|
||||||
|
|
||||||
---
|
---
|
||||||
<Statistics/>
|
<Statistics/>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
## Get Statistics
|
|
||||||
|
|
||||||
This will return the media statistics for the server
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
import GetStatisticsResponse from "/content/types/models/operations/get_statistics_response/typescript.mdx"
|
|
||||||
import Collapsible from "/src/components/Collapsible";
|
|
||||||
import Labels from "/src/lib/labels";
|
|
||||||
|
|
||||||
##### *{`Promise<operations.GetStatisticsResponse>`}*
|
|
||||||
|
|
||||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
|
||||||
<GetStatisticsResponse />
|
|
||||||
</Collapsible>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
|
|
||||||
<CH.Code>
|
|
||||||
```typescript GetStatistics.ts
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const sdk = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
});
|
|
||||||
|
|
||||||
const timespan = 944669;
|
|
||||||
|
|
||||||
const result = await sdk.statistics.getStatistics(timespan);
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
```
|
|
||||||
---
|
|
||||||
|
|
||||||
```json Example Response
|
|
||||||
{
|
|
||||||
"MediaContainer": {
|
|
||||||
"size": 5497,
|
|
||||||
"Device": [],
|
|
||||||
"Account": [],
|
|
||||||
"StatisticsMedia": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</CH.Code>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import CurlHeader from './_header.mdx';
|
|
||||||
import SDKHeader from './_header.mdx';
|
|
||||||
import OperationHeader from '/src/components/OperationHeader';
|
|
||||||
|
|
||||||
###### *Statistics*
|
|
||||||
|
|
||||||
<OperationHeader
|
|
||||||
sdkHeader={<SDKHeader />}
|
|
||||||
curlHeader={<CurlHeader />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* render operation */}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import GetStatistics from "./get_statistics/get_statistics.mdx";
|
|
||||||
|
|
||||||
## Statistics
|
|
||||||
API Calls that perform operations with Plex Media Server Statistics
|
|
||||||
|
|
||||||
|
|
||||||
### Available Operations
|
|
||||||
|
|
||||||
* [Get Statistics](/typescript/statistics/get_statistics) - Get Media Statistics
|
|
||||||
|
|
||||||
---
|
|
||||||
<GetStatistics />
|
|
||||||
@@ -63,9 +63,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve
|
|||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
import { PlexAPI } from "@lukehagar/plexjs";
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const sdk = new PlexAPI({
|
const sdk = new PlexAPI();
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
});
|
|
||||||
|
|
||||||
const xPlexClientIdentifier = "<value>";
|
const xPlexClientIdentifier = "<value>";
|
||||||
const strong = false;
|
const strong = false;
|
||||||
|
|||||||
9
content/types/models/components/http_metadata/go.mdx
Normal file
9
content/types/models/components/http_metadata/go.mdx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
##### `Response` [*{ `*http.Response` }*](https://pkg.go.dev/net/http#Response)
|
||||||
|
Raw HTTP response; suitable for custom response parsing
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `Request` [*{ `*http.Request` }*](https://pkg.go.dev/net/http#Request)
|
||||||
|
Raw HTTP request; suitable for debugging
|
||||||
|
|
||||||
|
|
||||||
9
content/types/models/components/http_metadata/python.mdx
Normal file
9
content/types/models/components/http_metadata/python.mdx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{/* Autogenerated DO NOT EDIT */}
|
||||||
|
##### `response` [*{ `requests.Response` }*](https://requests.readthedocs.io/en/latest/api/#requests.Response)
|
||||||
|
Raw HTTP response; suitable for custom response parsing
|
||||||
|
|
||||||
|
---
|
||||||
|
##### `request` [*{ `requests.Request` }*](https://requests.readthedocs.io/en/latest/api/#requests.Request)
|
||||||
|
Raw HTTP request; suitable for debugging
|
||||||
|
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `response`: [*{ `Response` }*](https://developer.mozilla.org/en-US/docs/Web/API/Response)
|
|
||||||
Raw HTTP response; suitable for custom response parsing
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `request`: *{`Request`}*
|
|
||||||
Raw HTTP request; suitable for debugging
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{/* Autogenerated DO NOT EDIT */}
|
|
||||||
##### `code` *{`Optional[float]`}*
|
|
||||||
<br/>
|
|
||||||
**Example:** `1001`
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `message` *{`Optional[str]`}*
|
|
||||||
<br/>
|
|
||||||
**Example:** `User could not be authenticated`
|
|
||||||
|
|
||||||
---
|
|
||||||
##### `status` *{`Optional[float]`}*
|
|
||||||
<br/>
|
|
||||||
**Example:** `401`
|
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user