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.296.1
This commit is contained in:
@@ -1,27 +1,29 @@
|
||||
lockVersion: 2.0.0
|
||||
id: 7fc33f51-d778-40ef-b094-90972c025d39
|
||||
management:
|
||||
docChecksum: 278d186496d83d5830ba4870f8cad39d
|
||||
docChecksum: 911d74baa0d06121d2ce2c71d94e977a
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: internal
|
||||
generationVersion: 2.269.0
|
||||
releaseVersion: 0.4.0
|
||||
configChecksum: 36a0bdf87b71fb5e9239da9afe59ff45
|
||||
generationVersion: 2.338.1
|
||||
releaseVersion: 0.5.0
|
||||
configChecksum: 7941086b27d718cdbb119fc22ed9f7c8
|
||||
published: true
|
||||
features:
|
||||
docs:
|
||||
constsAndDefaults: 0.1.0
|
||||
core: 1.26.2
|
||||
constsAndDefaults: 0.1.1
|
||||
core: 1.26.4
|
||||
flattening: 0.1.0
|
||||
globalSecurity: 0.1.1
|
||||
globalSecurity: 0.1.4
|
||||
globalServerURLs: 0.1.1
|
||||
globals: 0.2.1
|
||||
methodServerURLs: 0.1.1
|
||||
nameOverrides: 0.1.0
|
||||
nameOverrides: 0.1.1
|
||||
generatedFiles:
|
||||
- content/pages/01-reference/go/client_sdks/_snippet.mdx
|
||||
- content/pages/01-reference/go/client_sdks/client_sdks.mdx
|
||||
- content/pages/01-reference/go/custom_http_client/custom_http_client.mdx
|
||||
- content/pages/01-reference/go/errors/errors.mdx
|
||||
- content/pages/01-reference/go/global_parameters/global_parameters.mdx
|
||||
- content/pages/01-reference/go/installation/installation.mdx
|
||||
- content/pages/01-reference/go/resources/activities/activities.mdx
|
||||
- content/pages/01-reference/go/resources/activities/cancel_server_activities/_header.mdx
|
||||
@@ -34,6 +36,17 @@ generatedFiles:
|
||||
- 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/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/get_butler_tasks/_header.mdx
|
||||
- content/pages/01-reference/go/resources/butler/get_butler_tasks/_parameters.mdx
|
||||
@@ -232,17 +245,6 @@ generatedFiles:
|
||||
- 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/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/_parameters.mdx
|
||||
- content/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
||||
@@ -344,6 +346,7 @@ generatedFiles:
|
||||
- content/pages/01-reference/python/client_sdks/client_sdks.mdx
|
||||
- content/pages/01-reference/python/custom_http_client/custom_http_client.mdx
|
||||
- content/pages/01-reference/python/errors/errors.mdx
|
||||
- content/pages/01-reference/python/global_parameters/global_parameters.mdx
|
||||
- content/pages/01-reference/python/installation/installation.mdx
|
||||
- content/pages/01-reference/python/resources/activities/activities.mdx
|
||||
- content/pages/01-reference/python/resources/activities/cancel_server_activities/_header.mdx
|
||||
@@ -356,6 +359,17 @@ generatedFiles:
|
||||
- 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/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/get_butler_tasks/_header.mdx
|
||||
- content/pages/01-reference/python/resources/butler/get_butler_tasks/_parameters.mdx
|
||||
@@ -554,17 +568,6 @@ generatedFiles:
|
||||
- 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/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/_parameters.mdx
|
||||
- content/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
||||
@@ -666,6 +669,7 @@ generatedFiles:
|
||||
- content/pages/01-reference/typescript/client_sdks/client_sdks.mdx
|
||||
- content/pages/01-reference/typescript/custom_http_client/custom_http_client.mdx
|
||||
- content/pages/01-reference/typescript/errors/errors.mdx
|
||||
- content/pages/01-reference/typescript/global_parameters/global_parameters.mdx
|
||||
- content/pages/01-reference/typescript/installation/installation.mdx
|
||||
- content/pages/01-reference/typescript/resources/activities/activities.mdx
|
||||
- content/pages/01-reference/typescript/resources/activities/cancel_server_activities/_header.mdx
|
||||
@@ -678,6 +682,17 @@ generatedFiles:
|
||||
- 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/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/get_butler_tasks/_header.mdx
|
||||
- content/pages/01-reference/typescript/resources/butler/get_butler_tasks/_parameters.mdx
|
||||
@@ -876,17 +891,6 @@ generatedFiles:
|
||||
- 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/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/_parameters.mdx
|
||||
- content/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
||||
@@ -984,6 +988,8 @@ generatedFiles:
|
||||
- content/pages/01-reference/typescript/resources/video/video.mdx
|
||||
- content/pages/01-reference/typescript/security_options/security_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/security/go.mdx
|
||||
- content/types/models/components/security/python.mdx
|
||||
@@ -1056,6 +1062,10 @@ generatedFiles:
|
||||
- content/types/models/errors/get_library_hubs_errors/typescript.mdx
|
||||
- content/types/models/errors/get_library_hubs_response_body/python.mdx
|
||||
- content/types/models/errors/get_library_hubs_response_body/typescript.mdx
|
||||
- content/types/models/errors/get_library_items_errors/python.mdx
|
||||
- content/types/models/errors/get_library_items_errors/typescript.mdx
|
||||
- content/types/models/errors/get_library_items_response_body/python.mdx
|
||||
- content/types/models/errors/get_library_items_response_body/typescript.mdx
|
||||
- content/types/models/errors/get_library_response_body/python.mdx
|
||||
- content/types/models/errors/get_library_response_body/typescript.mdx
|
||||
- content/types/models/errors/get_metadata_children_errors/python.mdx
|
||||
@@ -1184,6 +1194,10 @@ generatedFiles:
|
||||
- content/types/models/errors/refresh_library_errors/typescript.mdx
|
||||
- content/types/models/errors/refresh_library_response_body/python.mdx
|
||||
- content/types/models/errors/refresh_library_response_body/typescript.mdx
|
||||
- content/types/models/errors/search_library_errors/python.mdx
|
||||
- content/types/models/errors/search_library_errors/typescript.mdx
|
||||
- content/types/models/errors/search_library_response_body/python.mdx
|
||||
- content/types/models/errors/search_library_response_body/typescript.mdx
|
||||
- content/types/models/errors/start_all_tasks_errors/python.mdx
|
||||
- content/types/models/errors/start_all_tasks_errors/typescript.mdx
|
||||
- content/types/models/errors/start_all_tasks_response_body/python.mdx
|
||||
@@ -1220,6 +1234,7 @@ generatedFiles:
|
||||
- content/types/models/errors/upload_playlist_errors/typescript.mdx
|
||||
- content/types/models/errors/upload_playlist_response_body/python.mdx
|
||||
- content/types/models/errors/upload_playlist_response_body/typescript.mdx
|
||||
- content/types/models/internal/globals/python.mdx
|
||||
- content/types/models/operations/account/go.mdx
|
||||
- content/types/models/operations/account/python.mdx
|
||||
- content/types/models/operations/account/typescript.mdx
|
||||
@@ -1571,6 +1586,9 @@ generatedFiles:
|
||||
- content/types/models/operations/get_on_deck_stream/go.mdx
|
||||
- content/types/models/operations/get_on_deck_stream/python.mdx
|
||||
- content/types/models/operations/get_on_deck_stream/typescript.mdx
|
||||
- content/types/models/operations/get_pin_globals/go.mdx
|
||||
- content/types/models/operations/get_pin_globals/python.mdx
|
||||
- content/types/models/operations/get_pin_globals/typescript.mdx
|
||||
- content/types/models/operations/get_pin_request/go.mdx
|
||||
- content/types/models/operations/get_pin_request/python.mdx
|
||||
- content/types/models/operations/get_pin_request/typescript.mdx
|
||||
@@ -1802,6 +1820,9 @@ generatedFiles:
|
||||
- content/types/models/operations/get_timeline_response/go.mdx
|
||||
- content/types/models/operations/get_timeline_response/python.mdx
|
||||
- content/types/models/operations/get_timeline_response/typescript.mdx
|
||||
- content/types/models/operations/get_token_globals/go.mdx
|
||||
- content/types/models/operations/get_token_globals/python.mdx
|
||||
- content/types/models/operations/get_token_globals/typescript.mdx
|
||||
- content/types/models/operations/get_token_request/go.mdx
|
||||
- content/types/models/operations/get_token_request/python.mdx
|
||||
- content/types/models/operations/get_token_request/typescript.mdx
|
||||
@@ -2097,6 +2118,8 @@ generatedFiles:
|
||||
- content/types/models/sdkerrors/get_library_errors/go.mdx
|
||||
- content/types/models/sdkerrors/get_library_hubs_errors/go.mdx
|
||||
- content/types/models/sdkerrors/get_library_hubs_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/get_library_items_errors/go.mdx
|
||||
- content/types/models/sdkerrors/get_library_items_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/get_library_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/get_metadata_children_errors/go.mdx
|
||||
- content/types/models/sdkerrors/get_metadata_children_response_body/go.mdx
|
||||
@@ -2161,6 +2184,8 @@ generatedFiles:
|
||||
- content/types/models/sdkerrors/perform_voice_search_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/refresh_library_errors/go.mdx
|
||||
- content/types/models/sdkerrors/refresh_library_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/search_library_errors/go.mdx
|
||||
- content/types/models/sdkerrors/search_library_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/start_all_tasks_errors/go.mdx
|
||||
- content/types/models/sdkerrors/start_all_tasks_response_body/go.mdx
|
||||
- content/types/models/sdkerrors/start_task_errors/go.mdx
|
||||
@@ -2492,19 +2517,19 @@ generatedFiles:
|
||||
- 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/_header.mdx
|
||||
- content/pages/01-reference/curl/resources/security/security.mdx
|
||||
- content/pages/01-reference/curl/resources/security/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/security/get_transient_token/_response.mdx
|
||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_parameters.mdx
|
||||
- content/pages/01-reference/curl/resources/security/get_transient_token/_usage.mdx
|
||||
- content/pages/01-reference/curl/resources/security/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/security/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/security/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/security/get_source_connection_information/_header.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/authentication.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/get_transient_token.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_authentication.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_response.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_parameters.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_usage.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_transient_token/_header.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/get_source_connection_information.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_authentication.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_response.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_parameters.mdx
|
||||
- content/pages/01-reference/curl/resources/authentication/get_source_connection_information/_usage.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/get_statistics/get_statistics.mdx
|
||||
- content/pages/01-reference/curl/resources/statistics/get_statistics/_authentication.mdx
|
||||
@@ -2748,6 +2773,8 @@ generatedFiles:
|
||||
- content/types/operations/delete_library_response/curl.mdx
|
||||
- content/types/operations/tag/curl.mdx
|
||||
- content/types/operations/get_library_items_request/curl.mdx
|
||||
- content/types/operations/get_library_items_errors/curl.mdx
|
||||
- content/types/operations/get_library_items_library_response_body/curl.mdx
|
||||
- content/types/operations/get_library_items_part/curl.mdx
|
||||
- content/types/operations/get_library_items_media/curl.mdx
|
||||
- content/types/operations/get_library_items_genre/curl.mdx
|
||||
@@ -2765,6 +2792,8 @@ generatedFiles:
|
||||
- content/types/operations/refresh_library_response/curl.mdx
|
||||
- content/types/operations/type/curl.mdx
|
||||
- content/types/operations/search_library_request/curl.mdx
|
||||
- content/types/operations/search_library_errors/curl.mdx
|
||||
- content/types/operations/search_library_library_response_body/curl.mdx
|
||||
- content/types/operations/search_library_metadata/curl.mdx
|
||||
- content/types/operations/search_library_media_container/curl.mdx
|
||||
- content/types/operations/search_library_response_body/curl.mdx
|
||||
@@ -3080,6 +3109,9 @@ generatedFiles:
|
||||
- src/.gen/pages/01-reference/python/errors/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/python/errors/errors.mdx
|
||||
- src/.gen/pages/01-reference/python/errors/errors_content.mdx
|
||||
- src/.gen/pages/01-reference/python/global_parameters/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/python/global_parameters/global_parameters.mdx
|
||||
- src/.gen/pages/01-reference/python/global_parameters/global_parameters_content.mdx
|
||||
- src/.gen/pages/01-reference/python/installation/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/python/installation/installation.mdx
|
||||
- src/.gen/pages/01-reference/python/installation/installation_content.mdx
|
||||
@@ -3097,6 +3129,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/activities.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/python/resources/butler/get_butler_tasks/_response.mdx
|
||||
@@ -3341,20 +3387,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/search.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/python/resources/server/get_available_clients/_response.mdx
|
||||
@@ -3486,12 +3518,16 @@ generatedFiles:
|
||||
- src/pages/python/client_sdks/_meta.json
|
||||
- src/pages/python/custom_http_client/_meta.json
|
||||
- src/pages/python/errors/_meta.json
|
||||
- src/pages/python/global_parameters/_meta.json
|
||||
- src/pages/python/installation/_meta.json
|
||||
- src/pages/python/security_options/_meta.json
|
||||
- src/pages/python/server_options/_meta.json
|
||||
- src/pages/python/activities/cancel_server_activities/_meta.json
|
||||
- src/pages/python/activities/get_server_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/start_all_tasks/_meta.json
|
||||
- src/pages/python/butler/start_task/_meta.json
|
||||
@@ -3533,17 +3569,11 @@ generatedFiles:
|
||||
- src/pages/python/playlists/_meta.json
|
||||
- src/pages/python/plex/get_pin/_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/search/get_search_results/_meta.json
|
||||
- src/pages/python/search/perform_search/_meta.json
|
||||
- src/pages/python/search/perform_voice_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_devices/_meta.json
|
||||
- src/pages/python/server/get_my_plex_account/_meta.json
|
||||
@@ -3578,6 +3608,9 @@ generatedFiles:
|
||||
- src/.gen/pages/01-reference/typescript/errors/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/typescript/errors/errors.mdx
|
||||
- src/.gen/pages/01-reference/typescript/errors/errors_content.mdx
|
||||
- src/.gen/pages/01-reference/typescript/global_parameters/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/typescript/global_parameters/global_parameters.mdx
|
||||
- src/.gen/pages/01-reference/typescript/global_parameters/global_parameters_content.mdx
|
||||
- src/.gen/pages/01-reference/typescript/installation/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/typescript/installation/installation.mdx
|
||||
- src/.gen/pages/01-reference/typescript/installation/installation_content.mdx
|
||||
@@ -3595,6 +3628,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/activities.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/typescript/resources/butler/get_butler_tasks/_response.mdx
|
||||
@@ -3839,20 +3886,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/search.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/typescript/resources/server/get_available_clients/_response.mdx
|
||||
@@ -3984,12 +4017,16 @@ generatedFiles:
|
||||
- src/pages/typescript/client_sdks/_meta.json
|
||||
- src/pages/typescript/custom_http_client/_meta.json
|
||||
- src/pages/typescript/errors/_meta.json
|
||||
- src/pages/typescript/global_parameters/_meta.json
|
||||
- src/pages/typescript/installation/_meta.json
|
||||
- src/pages/typescript/security_options/_meta.json
|
||||
- src/pages/typescript/server_options/_meta.json
|
||||
- src/pages/typescript/activities/cancel_server_activities/_meta.json
|
||||
- src/pages/typescript/activities/get_server_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/start_all_tasks/_meta.json
|
||||
- src/pages/typescript/butler/start_task/_meta.json
|
||||
@@ -4031,17 +4068,11 @@ generatedFiles:
|
||||
- src/pages/typescript/playlists/_meta.json
|
||||
- src/pages/typescript/plex/get_pin/_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/search/get_search_results/_meta.json
|
||||
- src/pages/typescript/search/perform_search/_meta.json
|
||||
- src/pages/typescript/search/perform_voice_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_devices/_meta.json
|
||||
- src/pages/typescript/server/get_my_plex_account/_meta.json
|
||||
@@ -4076,6 +4107,9 @@ generatedFiles:
|
||||
- src/.gen/pages/01-reference/go/errors/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/go/errors/errors.mdx
|
||||
- src/.gen/pages/01-reference/go/errors/errors_content.mdx
|
||||
- src/.gen/pages/01-reference/go/global_parameters/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/go/global_parameters/global_parameters.mdx
|
||||
- src/.gen/pages/01-reference/go/global_parameters/global_parameters_content.mdx
|
||||
- src/.gen/pages/01-reference/go/installation/_snippet.mdx
|
||||
- src/.gen/pages/01-reference/go/installation/installation.mdx
|
||||
- src/.gen/pages/01-reference/go/installation/installation_content.mdx
|
||||
@@ -4093,6 +4127,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/activities.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/go/resources/butler/get_butler_tasks/_response.mdx
|
||||
@@ -4337,20 +4385,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/search.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/_parameters.mdx
|
||||
- src/.gen/pages/01-reference/go/resources/server/get_available_clients/_response.mdx
|
||||
@@ -4482,12 +4516,16 @@ generatedFiles:
|
||||
- src/pages/go/client_sdks/_meta.json
|
||||
- src/pages/go/custom_http_client/_meta.json
|
||||
- src/pages/go/errors/_meta.json
|
||||
- src/pages/go/global_parameters/_meta.json
|
||||
- src/pages/go/installation/_meta.json
|
||||
- src/pages/go/security_options/_meta.json
|
||||
- src/pages/go/server_options/_meta.json
|
||||
- src/pages/go/activities/cancel_server_activities/_meta.json
|
||||
- src/pages/go/activities/get_server_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/start_all_tasks/_meta.json
|
||||
- src/pages/go/butler/start_task/_meta.json
|
||||
@@ -4529,17 +4567,11 @@ generatedFiles:
|
||||
- src/pages/go/playlists/_meta.json
|
||||
- src/pages/go/plex/get_pin/_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/search/get_search_results/_meta.json
|
||||
- src/pages/go/search/perform_search/_meta.json
|
||||
- src/pages/go/search/perform_voice_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_devices/_meta.json
|
||||
- src/pages/go/server/get_my_plex_account/_meta.json
|
||||
@@ -4584,6 +4616,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/activities.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/_header.mdx
|
||||
- src/.gen/pages/01-reference/curl/resources/butler/get_butler_tasks/_parameters.mdx
|
||||
@@ -4866,22 +4914,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/search.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/_header.mdx
|
||||
- src/.gen/pages/01-reference/curl/resources/server/get_available_clients/_parameters.mdx
|
||||
@@ -5026,6 +5058,9 @@ generatedFiles:
|
||||
- src/pages/curl/activities/cancel_server_activities/_meta.json
|
||||
- src/pages/curl/activities/get_server_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/start_all_tasks/_meta.json
|
||||
- src/pages/curl/butler/start_task/_meta.json
|
||||
@@ -5067,9 +5102,6 @@ generatedFiles:
|
||||
- src/pages/curl/playlists/_meta.json
|
||||
- src/pages/curl/plex/get_pin/_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/search/get_search_results/_meta.json
|
||||
- src/pages/curl/search/perform_search/_meta.json
|
||||
|
||||
@@ -53,3 +53,9 @@ Based on:
|
||||
Based on:
|
||||
- OpenAPI Doc 0.0.3
|
||||
- Speakeasy CLI 1.193.0 (2.269.0) https://github.com/speakeasy-api/speakeasy
|
||||
|
||||
## 2024-05-29 00:31:57
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc 0.0.3
|
||||
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
|
||||
@@ -1,4 +1,6 @@
|
||||
{/* Autogenerated DO NOT EDIT */}
|
||||
##### `activityUUID` _string_
|
||||
The UUID of the activity to cancel.
|
||||
<br/>
|
||||
**Example:** `25b71ed5-0f9d-461c-baa7-d404e9e10d3e`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/activities/<value> \
|
||||
curl http://10.10.10.47:32400/activities/25b71ed5-0f9d-461c-baa7-d404e9e10d3e \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -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 />
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/security/resources?source=server%3A%2F%2Fclient-identifier \
|
||||
curl http://10.10.10.47:32400/security/resources?source=provider%3A%2F%2Fprovider-identifier \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
||||
import SDKHeader from './_header.mdx';
|
||||
import OperationHeader from '/src/components/OperationHeader';
|
||||
|
||||
###### *Security*
|
||||
###### *Authentication*
|
||||
|
||||
<OperationHeader
|
||||
sdkHeader={<SDKHeader />}
|
||||
@@ -2,7 +2,7 @@ import CurlHeader from './_header.mdx';
|
||||
import SDKHeader from './_header.mdx';
|
||||
import OperationHeader from '/src/components/OperationHeader';
|
||||
|
||||
###### *Security*
|
||||
###### *Authentication*
|
||||
|
||||
<OperationHeader
|
||||
sdkHeader={<SDKHeader />}
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/hubs?count=8121.69 \
|
||||
curl http://10.10.10.47:32400/hubs?count=7151.9 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -13,7 +13,41 @@ curl http://10.10.10.47:32400/hubs?count=8121.69 \
|
||||
"size": 8,
|
||||
"allowSync": true,
|
||||
"identifier": "com.plexapp.plugins.library",
|
||||
"Hub": []
|
||||
"Hub": [
|
||||
{
|
||||
"hubKey": "/library/metadata/50768,65523,58188,57341,57302,57070",
|
||||
"key": "/playlists/all?type=15&sort=lastViewedAt:desc&playlistType=video,audio",
|
||||
"title": "Recent Playlists",
|
||||
"type": "playlist",
|
||||
"hubIdentifier": "home.playlists",
|
||||
"context": "hub.home.playlists",
|
||||
"size": 6,
|
||||
"more": true,
|
||||
"style": "shelf",
|
||||
"promoted": true,
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "57070",
|
||||
"key": "/playlists/57070/items",
|
||||
"guid": "com.plexapp.agents.none://9fee6c5b-3143-4923-813e-57bd0190056c",
|
||||
"type": "playlist",
|
||||
"title": "November Movie Day",
|
||||
"titleSort": "Tracks",
|
||||
"summary": "",
|
||||
"smart": false,
|
||||
"playlistType": "video",
|
||||
"composite": "/playlists/57070/composite/1668787730",
|
||||
"icon": "playlist://image.smart",
|
||||
"viewCount": 2,
|
||||
"lastViewedAt": 1668787732,
|
||||
"duration": 16873000,
|
||||
"leafCount": 3,
|
||||
"addedAt": 1668779618,
|
||||
"updatedAt": 1668787730
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/hubs/sections/5288.95?count=4799.77 \
|
||||
curl http://10.10.10.47:32400/hubs/sections/8442.66?count=6027.63 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -16,7 +16,112 @@ curl http://10.10.10.47:32400/hubs/sections/5288.95?count=4799.77 \
|
||||
"librarySectionID": 1,
|
||||
"librarySectionTitle": "Movies",
|
||||
"librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30",
|
||||
"Hub": []
|
||||
"Hub": [
|
||||
{
|
||||
"key": "/library/sections/1/all?sort=lastViewedAt:desc&unwatched=0&viewOffset=0",
|
||||
"title": "Recently Played Movies",
|
||||
"type": "movie",
|
||||
"hubIdentifier": "movie.recentlyviewed.1",
|
||||
"context": "hub.movie.recentlyviewed",
|
||||
"size": 6,
|
||||
"more": true,
|
||||
"style": "shelf",
|
||||
"hubKey": "/library/metadata/66485,66098,57249,11449,5858,14944",
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "14944",
|
||||
"key": "/library/metadata/14944",
|
||||
"guid": "plex://movie/5d77686eeb5d26001f1eb339",
|
||||
"studio": "Walt Disney Animation Studios",
|
||||
"type": "movie",
|
||||
"title": "Tangled",
|
||||
"librarySectionTitle": "Movies",
|
||||
"librarySectionID": 1,
|
||||
"librarySectionKey": "/library/sections/1",
|
||||
"contentRating": "PG",
|
||||
"summary": "The magically long-haired Rapunzel has spent her entire life in a tower, but now that a runaway thief has stumbled upon her, she is about to discover the world for the first time, and who she really is.",
|
||||
"rating": 8.9,
|
||||
"audienceRating": 8.7,
|
||||
"viewCount": 1,
|
||||
"lastViewedAt": 1704936047,
|
||||
"year": 2010,
|
||||
"tagline": "They're taking adventure to new lengths.",
|
||||
"thumb": "/library/metadata/14944/thumb/1705739847",
|
||||
"art": "/library/metadata/14944/art/1705739847",
|
||||
"duration": 6017237,
|
||||
"originallyAvailableAt": "2010-11-24T00:00:00Z",
|
||||
"addedAt": 1589412494,
|
||||
"updatedAt": 1705739847,
|
||||
"audienceRatingImage": "rottentomatoes://image.rating.upright",
|
||||
"primaryExtraKey": "/library/metadata/14952",
|
||||
"ratingImage": "rottentomatoes://image.rating.ripe",
|
||||
"Media": [
|
||||
{
|
||||
"id": 38247,
|
||||
"duration": 6017237,
|
||||
"bitrate": 2051,
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"aspectRatio": 1.78,
|
||||
"audioChannels": 2,
|
||||
"audioCodec": "aac",
|
||||
"videoCodec": "h264",
|
||||
"videoResolution": "1080",
|
||||
"container": "mp4",
|
||||
"videoFrameRate": "24p",
|
||||
"optimizedForStreaming": 1,
|
||||
"audioProfile": "lc",
|
||||
"has64bitOffsets": false,
|
||||
"videoProfile": "high",
|
||||
"Part": [
|
||||
{
|
||||
"id": 38247,
|
||||
"key": "/library/parts/38247/1589412494/file.mp4",
|
||||
"duration": 6017237,
|
||||
"file": "/movies/Tangled (2010)/Tangled (2010) Bluray-1080p.mp4",
|
||||
"size": 1545647447,
|
||||
"audioProfile": "lc",
|
||||
"container": "mp4",
|
||||
"has64bitOffsets": false,
|
||||
"optimizedForStreaming": true,
|
||||
"videoProfile": "high"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Genre": [
|
||||
{
|
||||
"tag": "Animation"
|
||||
}
|
||||
],
|
||||
"Country": [
|
||||
{
|
||||
"tag": "United States of America"
|
||||
}
|
||||
],
|
||||
"Director": [
|
||||
{
|
||||
"tag": "Nathan Greno"
|
||||
}
|
||||
],
|
||||
"Role": [
|
||||
{
|
||||
"tag": "Donna Murphy"
|
||||
}
|
||||
],
|
||||
"Writer": [
|
||||
{
|
||||
"tag": "Wilhelm Grimm"
|
||||
}
|
||||
],
|
||||
"skipCount": 1,
|
||||
"chapterSource": "media"
|
||||
}
|
||||
],
|
||||
"promoted": true,
|
||||
"random": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/hashes?type=8360.79&url=file%3A%2F%2FC%3A%5CImage.png%26type%3D13 \
|
||||
curl http://10.10.10.47:32400/library/hashes?type=4236.55&url=file%3A%2F%2FC%3A%5CImage.png%26type%3D13 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -13,7 +13,36 @@ curl http://10.10.10.47:32400/library/sections \
|
||||
"size": 5,
|
||||
"allowSync": false,
|
||||
"title1": "Plex Library",
|
||||
"Directory": []
|
||||
"Directory": [
|
||||
{
|
||||
"allowSync": true,
|
||||
"art": "/:/resources/movie-fanart.jpg",
|
||||
"composite": "/library/sections/1/composite/1705615584",
|
||||
"filters": true,
|
||||
"refreshing": false,
|
||||
"thumb": "/:/resources/movie.png",
|
||||
"key": "1",
|
||||
"type": "movie",
|
||||
"title": "Movies",
|
||||
"agent": "tv.plex.agents.movie",
|
||||
"scanner": "Plex Movie",
|
||||
"language": "en-US",
|
||||
"uuid": "322a231a-b7f7-49f5-920f-14c61199cd30",
|
||||
"updatedAt": 1705615634,
|
||||
"createdAt": 1654131312,
|
||||
"scannedAt": 1705615584,
|
||||
"content": true,
|
||||
"directory": true,
|
||||
"contentChangedAt": 3192854,
|
||||
"hidden": 0,
|
||||
"Location": [
|
||||
{
|
||||
"id": 1,
|
||||
"path": "/movies"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -22,9 +22,61 @@ curl http://10.10.10.47:32400/library/sections/1000 \
|
||||
"title1": "Movies",
|
||||
"viewGroup": "secondary",
|
||||
"viewMode": 65592,
|
||||
"Directory": [],
|
||||
"Type": [],
|
||||
"FieldType": []
|
||||
"Directory": [
|
||||
{
|
||||
"key": "search?type=1",
|
||||
"title": "Search...",
|
||||
"secondary": true,
|
||||
"prompt": "Search Movies",
|
||||
"search": true
|
||||
}
|
||||
],
|
||||
"Type": [
|
||||
{
|
||||
"key": "/library/sections/1/all?type=1",
|
||||
"type": "movie",
|
||||
"title": "Movies",
|
||||
"active": false,
|
||||
"Filter": [
|
||||
{
|
||||
"filter": "label",
|
||||
"filterType": "string",
|
||||
"key": "/library/sections/1/label",
|
||||
"title": "Labels",
|
||||
"type": "filter"
|
||||
}
|
||||
],
|
||||
"Sort": [
|
||||
{
|
||||
"default": "asc",
|
||||
"defaultDirection": "desc",
|
||||
"descKey": "random:desc",
|
||||
"firstCharacterKey": "/library/sections/1/firstCharacter",
|
||||
"key": "random",
|
||||
"title": "Randomly"
|
||||
}
|
||||
],
|
||||
"Field": [
|
||||
{
|
||||
"key": "label",
|
||||
"title": "Label",
|
||||
"type": "tag",
|
||||
"subType": "bitrate"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"FieldType": [
|
||||
{
|
||||
"type": "resolution",
|
||||
"Operator": [
|
||||
{
|
||||
"key": "=",
|
||||
"title": "is"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,6 +5,8 @@ import Labels from "/src/lib/labels";
|
||||
|
||||
##### `sectionId` _integer_
|
||||
the Id of the library to query
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
---
|
||||
##### `tag` _enumeration_
|
||||
|
||||
@@ -17,6 +17,19 @@ import StatusCode from '@/src/components/StatusCode';
|
||||
<GetLibraryItemsMediaContainer/>
|
||||
</Collapsible>
|
||||
|
||||
</Collapsible>
|
||||
</Tab>
|
||||
{/* prettier-ignore */}
|
||||
<Tab title={<StatusCode code={"400"} />}>
|
||||
_No response body._
|
||||
</Tab>
|
||||
{/* prettier-ignore */}
|
||||
<Tab title={<StatusCode code={"401"} />}>
|
||||
*JSON object*
|
||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
##### `errors` _array (optional)_
|
||||
|
||||
|
||||
</Collapsible>
|
||||
</Tab>
|
||||
</TabbedSection>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/sections/71036/{{tag}} \
|
||||
curl http://10.10.10.47:32400/library/sections/1/{{tag}} \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -25,7 +25,114 @@ curl http://10.10.10.47:32400/library/sections/71036/{{tag}} \
|
||||
"viewGroup": "movie",
|
||||
"viewMode": 65592,
|
||||
"mixedParents": true,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "58683",
|
||||
"key": "/library/metadata/58683",
|
||||
"guid": "plex://movie/5d7768ba96b655001fdc0408",
|
||||
"studio": "20th Century Studios",
|
||||
"type": "movie",
|
||||
"title": "Avatar: The Way of Water",
|
||||
"contentRating": "PG-13",
|
||||
"summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.",
|
||||
"rating": 7.6,
|
||||
"audienceRating": 9.2,
|
||||
"year": 2022,
|
||||
"tagline": "Return to Pandora.",
|
||||
"thumb": "/library/metadata/58683/thumb/1703239236",
|
||||
"art": "/library/metadata/58683/art/1703239236",
|
||||
"duration": 11558112,
|
||||
"originallyAvailableAt": "2022-12-14T00:00:00Z",
|
||||
"addedAt": 1680457607,
|
||||
"updatedAt": 1703239236,
|
||||
"audienceRatingImage": "rottentomatoes://image.rating.upright",
|
||||
"chapterSource": "media",
|
||||
"primaryExtraKey": "/library/metadata/58684",
|
||||
"ratingImage": "rottentomatoes://image.rating.ripe",
|
||||
"grandparentRatingKey": "66",
|
||||
"grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4",
|
||||
"grandparentKey": "/library/metadata/66",
|
||||
"grandparentTitle": "Caprica",
|
||||
"grandparentThumb": "/library/metadata/66/thumb/1705716261",
|
||||
"grandparentArt": "/library/metadata/66/art/1705716261",
|
||||
"grandparentTheme": "/library/metadata/66/theme/1705716261",
|
||||
"Media": [
|
||||
{
|
||||
"id": 119534,
|
||||
"duration": 11558112,
|
||||
"bitrate": 25025,
|
||||
"width": 3840,
|
||||
"height": 2072,
|
||||
"aspectRatio": 1.85,
|
||||
"audioChannels": 6,
|
||||
"audioCodec": "eac3",
|
||||
"videoCodec": "hevc",
|
||||
"videoResolution": "4k",
|
||||
"container": "mkv",
|
||||
"videoFrameRate": "24p",
|
||||
"videoProfile": "main 10",
|
||||
"Part": [
|
||||
{
|
||||
"id": 119542,
|
||||
"key": "/library/parts/119542/1680457526/file.mkv",
|
||||
"duration": 11558112,
|
||||
"file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv",
|
||||
"size": 36158371307,
|
||||
"container": "mkv",
|
||||
"videoProfile": "main 10"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Genre": [
|
||||
{
|
||||
"tag": "Adventure"
|
||||
}
|
||||
],
|
||||
"Country": [
|
||||
{
|
||||
"tag": "United States of America"
|
||||
}
|
||||
],
|
||||
"Director": [
|
||||
{
|
||||
"tag": "James Cameron"
|
||||
}
|
||||
],
|
||||
"Writer": [
|
||||
{
|
||||
"tag": "James Cameron"
|
||||
}
|
||||
],
|
||||
"Role": [
|
||||
{
|
||||
"tag": "Sigourney Weaver"
|
||||
}
|
||||
],
|
||||
"titleSort": "Whale",
|
||||
"viewCount": 1,
|
||||
"lastViewedAt": 1682752242,
|
||||
"originalTitle": "映画 ブラッククローバー 魔法帝の剣",
|
||||
"viewOffset": 5222500,
|
||||
"skipCount": 1,
|
||||
"index": 1,
|
||||
"theme": "/library/metadata/1/theme/1705636920",
|
||||
"leafCount": 14,
|
||||
"viewedLeafCount": 0,
|
||||
"childCount": 1,
|
||||
"hasPremiumExtras": "1",
|
||||
"hasPremiumPrimaryExtra": "1",
|
||||
"parentRatingKey": "66",
|
||||
"parentGuid": "plex://show/5d9c081b170e24001f2a7be4",
|
||||
"parentStudio": "UCP",
|
||||
"parentKey": "/library/metadata/66",
|
||||
"parentTitle": "Caprica",
|
||||
"parentIndex": 1,
|
||||
"parentYear": 2010,
|
||||
"parentThumb": "/library/metadata/66/thumb/1705716261",
|
||||
"parentTheme": "/library/metadata/66/theme/1705716261"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/metadata/6481.72 \
|
||||
curl http://10.10.10.47:32400/library/metadata/3843.82 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -18,7 +18,167 @@ curl http://10.10.10.47:32400/library/metadata/6481.72 \
|
||||
"librarySectionUUID": "cfc899d7-3000-46f6-8489-b9592714ada5",
|
||||
"mediaTagPrefix": "/system/bundle/media/flags/",
|
||||
"mediaTagVersion": 1698860922,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "17",
|
||||
"key": "/library/metadata/17",
|
||||
"guid": "plex://movie/5d77683f6f4521001ea9dc53",
|
||||
"studio": "Universal Pictures",
|
||||
"type": "movie",
|
||||
"title": "Serenity",
|
||||
"librarySectionTitle": "Movies",
|
||||
"librarySectionID": 1,
|
||||
"librarySectionKey": "/library/sections/1",
|
||||
"contentRating": "PG-13",
|
||||
"summary": "Serenity continues the story of the TV series it was based upon (\"Firefly\"). River Tam had a secret - one in which she's not even aware - so dangerous, no one's safe, as an Alliance operative's sent to capture her, and all others are considered irrelevant to his job.",
|
||||
"rating": 8.2,
|
||||
"audienceRating": 9.1,
|
||||
"year": 2005,
|
||||
"tagline": "They aim to misbehave.",
|
||||
"thumb": "/library/metadata/17/thumb/1705637165",
|
||||
"art": "/library/metadata/17/art/1705637165",
|
||||
"duration": 141417,
|
||||
"originallyAvailableAt": "2005-09-29T00:00:00Z",
|
||||
"addedAt": 1705637164,
|
||||
"updatedAt": 1705637165,
|
||||
"audienceRatingImage": "rottentomatoes://image.rating.upright",
|
||||
"hasPremiumPrimaryExtra": "1",
|
||||
"ratingImage": "rottentomatoes://image.rating.ripe",
|
||||
"Media": [
|
||||
{
|
||||
"id": 15,
|
||||
"duration": 141417,
|
||||
"bitrate": 2278,
|
||||
"width": 1920,
|
||||
"height": 814,
|
||||
"aspectRatio": 2.35,
|
||||
"audioChannels": 2,
|
||||
"audioCodec": "aac",
|
||||
"videoCodec": "h264",
|
||||
"videoResolution": "1080",
|
||||
"container": "mp4",
|
||||
"videoFrameRate": "24p",
|
||||
"optimizedForStreaming": 0,
|
||||
"audioProfile": "lc",
|
||||
"has64bitOffsets": false,
|
||||
"videoProfile": "high",
|
||||
"Part": [
|
||||
{
|
||||
"id": 15,
|
||||
"key": "/library/parts/15/1705637151/file.mp4",
|
||||
"duration": 141417,
|
||||
"file": "/movies/Serenity (2005)/Serenity (2005).mp4",
|
||||
"size": 40271948,
|
||||
"audioProfile": "lc",
|
||||
"container": "mp4",
|
||||
"has64bitOffsets": false,
|
||||
"optimizedForStreaming": false,
|
||||
"videoProfile": "high",
|
||||
"Stream": [
|
||||
{
|
||||
"id": 29,
|
||||
"streamType": 2,
|
||||
"default": true,
|
||||
"codec": "aac",
|
||||
"index": 0,
|
||||
"bitrate": 128,
|
||||
"bitDepth": 8,
|
||||
"chromaLocation": "left",
|
||||
"chromaSubsampling": "14520",
|
||||
"codedHeight": 816,
|
||||
"codedWidth": 1920,
|
||||
"colorPrimaries": "bt709",
|
||||
"colorRange": "tv",
|
||||
"colorSpace": "bt709",
|
||||
"colorTrc": "bt709",
|
||||
"frameRate": 24,
|
||||
"hasScalingMatrix": false,
|
||||
"height": 814,
|
||||
"level": 40,
|
||||
"profile": "lc",
|
||||
"refFrames": 4,
|
||||
"scanType": "progressive",
|
||||
"streamIdentifier": "1",
|
||||
"width": 1920,
|
||||
"displayTitle": "English (AAC Stereo)",
|
||||
"extendedDisplayTitle": "English (AAC Stereo)",
|
||||
"selected": true,
|
||||
"channels": 2,
|
||||
"language": "English",
|
||||
"languageTag": "en",
|
||||
"languageCode": "eng",
|
||||
"samplingRate": 44100
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Genre": [
|
||||
{
|
||||
"id": 184,
|
||||
"filter": "genre=184",
|
||||
"tag": "Thriller"
|
||||
}
|
||||
],
|
||||
"Country": [
|
||||
{
|
||||
"id": 116,
|
||||
"filter": "country=116",
|
||||
"tag": "United States of America"
|
||||
}
|
||||
],
|
||||
"guids": [
|
||||
{
|
||||
"id": "tvdb://2337"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"image": "themoviedb://image.rating",
|
||||
"value": 7.4,
|
||||
"type": "audience"
|
||||
}
|
||||
],
|
||||
"Director": [
|
||||
{
|
||||
"id": 130,
|
||||
"filter": "director=130",
|
||||
"tag": "Joss Whedon",
|
||||
"tagKey": "5d776828880197001ec90e8f",
|
||||
"thumb": "https://metadata-static.plex.tv/people/5d776828880197001ec90e8f.jpg"
|
||||
}
|
||||
],
|
||||
"Writer": [
|
||||
{
|
||||
"id": 132,
|
||||
"filter": "writer=132",
|
||||
"tag": "Joss Whedon",
|
||||
"tagKey": "5d776828880197001ec90e8f",
|
||||
"thumb": "https://metadata-static.plex.tv/people/5d776828880197001ec90e8f.jpg"
|
||||
}
|
||||
],
|
||||
"Role": [
|
||||
{
|
||||
"id": 220,
|
||||
"filter": "actor=220",
|
||||
"tag": "Dennis Keiffer",
|
||||
"tagKey": "5d77683554f42c001f8c4708",
|
||||
"role": "Bar Guy (uncredited)",
|
||||
"thumb": "https://metadata-static.plex.tv/6/people/648e9a7ea1d537bccfcd7615134b78ce.jpg"
|
||||
}
|
||||
],
|
||||
"Producer": [
|
||||
{
|
||||
"id": 221,
|
||||
"filter": "producer=221",
|
||||
"tag": "Barry Mendel",
|
||||
"tagKey": "5d776826961905001eb90e2b",
|
||||
"thumb": "https://metadata-static.plex.tv/8/people/87877371326a964634d18556d94547e1.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/metadata/202.18/children \
|
||||
curl http://10.10.10.47:32400/library/metadata/4375.87/children \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -32,7 +32,37 @@ curl http://10.10.10.47:32400/library/metadata/202.18/children \
|
||||
"viewGroup": "season",
|
||||
"viewMode": 65593,
|
||||
"Directory": [],
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "66488",
|
||||
"key": "/library/metadata/66488/children",
|
||||
"parentRatingKey": "30072",
|
||||
"guid": "plex://season/652aea6549508477c34c6000",
|
||||
"parentGuid": "plex://show/5d9c09190aaccd001f8f42f0",
|
||||
"parentStudio": "Amazon Studios",
|
||||
"type": "season",
|
||||
"title": "Season 2",
|
||||
"parentKey": "/library/metadata/30072",
|
||||
"parentTitle": "Reacher",
|
||||
"summary": "Based on\"Bad Luck and Trouble,\" when members of Reacher's old military unit start turning up dead, Reacher has just one thing on his mind—revenge.",
|
||||
"index": 2,
|
||||
"parentIndex": 1,
|
||||
"viewCount": 11,
|
||||
"lastViewedAt": 1705646565,
|
||||
"parentYear": 2022,
|
||||
"thumb": "/library/metadata/66488/thumb/1703065033",
|
||||
"art": "/library/metadata/30072/art/1705739923",
|
||||
"parentThumb": "/library/metadata/30072/thumb/1705739923",
|
||||
"parentTheme": "/library/metadata/30072/theme/1705739923",
|
||||
"leafCount": 8,
|
||||
"viewedLeafCount": 8,
|
||||
"addedAt": 1702602021,
|
||||
"updatedAt": 1703065033,
|
||||
"userRating": 9,
|
||||
"skipCount": 1,
|
||||
"lastRatedAt": 1703881224
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/sections/3373.96/refresh \
|
||||
curl http://10.10.10.47:32400/library/sections/6235.64/refresh \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -17,6 +17,19 @@ import StatusCode from '@/src/components/StatusCode';
|
||||
<SearchLibraryMediaContainer/>
|
||||
</Collapsible>
|
||||
|
||||
</Collapsible>
|
||||
</Tab>
|
||||
{/* prettier-ignore */}
|
||||
<Tab title={<StatusCode code={"400"} />}>
|
||||
_No response body._
|
||||
</Tab>
|
||||
{/* prettier-ignore */}
|
||||
<Tab title={<StatusCode code={"401"} />}>
|
||||
*JSON object*
|
||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
##### `errors` _array (optional)_
|
||||
|
||||
|
||||
</Collapsible>
|
||||
</Tab>
|
||||
</TabbedSection>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/library/sections/87129/search \
|
||||
curl http://10.10.10.47:32400/library/sections/645894/search \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -22,7 +22,30 @@ curl http://10.10.10.47:32400/library/sections/87129/search \
|
||||
"title2": "Search for ''",
|
||||
"viewGroup": "season",
|
||||
"viewMode": 65593,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "2",
|
||||
"key": "/library/metadata/2/children",
|
||||
"parentRatingKey": "1",
|
||||
"guid": "plex://season/602e67e766dfdb002c0a1b5b",
|
||||
"parentGuid": "plex://show/5d9c086c7d06d9001ffd27aa",
|
||||
"parentStudio": "Mutant Enemy Productions",
|
||||
"type": "season",
|
||||
"title": "Season 1",
|
||||
"parentKey": "/library/metadata/1",
|
||||
"parentTitle": "Firefly",
|
||||
"summary": "Captain Malcolm 'Mal' Reynolds is a former galactic war veteran who is the captain of the transport ship \"Serenity\". Mal and his crew, ensign Zoe Alleyne Washburne; Zoe's husband, pilot Hoban 'Wash' Washburne; muscular mercenary Jayne Cobb; young mechanic Kaylee Frye; former Alliance medical officer Simon Tam; his disturbed teenage sister River (both on the run from the interplanetary government \"The Alliance\"); the beautiful courtesan Inara Serra; and preacher Shepherd Book do any jobs, legal or illegal, they can find as the Serenity crew travels across the outskirts of outer space.",
|
||||
"index": 1,
|
||||
"parentIndex": 1,
|
||||
"parentYear": 2002,
|
||||
"thumb": "/library/metadata/2/thumb/1705636920",
|
||||
"art": "/library/metadata/1/art/1705636920",
|
||||
"parentThumb": "/library/metadata/1/thumb/1705636920",
|
||||
"parentTheme": "/library/metadata/1/theme/1705636920",
|
||||
"addedAt": 1705636916,
|
||||
"updatedAt": 1705636920
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,8 +5,12 @@ the media key
|
||||
---
|
||||
##### `time` _number_
|
||||
The time, in milliseconds, used to set the media playback progress.
|
||||
<br/>
|
||||
**Example:** `90000`
|
||||
|
||||
---
|
||||
##### `state` _string_
|
||||
The playback state of the media item.
|
||||
<br/>
|
||||
**Example:** `played`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/:/progress?key=%3Cvalue%3E&state=%3Cvalue%3E&time=7151.9 \
|
||||
curl http://10.10.10.47:32400/:/progress?key=%3Cvalue%3E&state=played&time=90000 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/9786.19/items?playQueueID=123&uri=server%3A%2F%2F12345%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F1 \
|
||||
curl http://10.10.10.47:32400/playlists/7917.25/items?playQueueID=123&uri=server%3A%2F%2F12345%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F1 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -13,7 +13,23 @@ curl http://10.10.10.47:32400/playlists/9786.19/items?playQueueID=123&uri=server
|
||||
"size": 1,
|
||||
"leafCountAdded": 1,
|
||||
"leafCountRequested": 1,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "94",
|
||||
"key": "/playlists/94/items",
|
||||
"guid": "com.plexapp.agents.none://972e3047-83d6-4848-a000-261f0af26ba2",
|
||||
"type": "playlist",
|
||||
"title": "A great playlist",
|
||||
"summary": "One of my great playlists",
|
||||
"smart": false,
|
||||
"playlistType": "video",
|
||||
"composite": "/playlists/94/composite/1705800070",
|
||||
"duration": 423000,
|
||||
"leafCount": 3,
|
||||
"addedAt": 1705716458,
|
||||
"updatedAt": 1705800070
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/8700.88/items \
|
||||
curl http://10.10.10.47:32400/playlists/4776.65/items \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists?playQueueID=3682.41&title=%3Cvalue%3E&uri=%3Cvalue%3E \
|
||||
curl http://10.10.10.47:32400/playlists?playQueueID=2975.34&title=%3Cvalue%3E&uri=%3Cvalue%3E \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -11,7 +11,26 @@ curl http://10.10.10.47:32400/playlists?playQueueID=3682.41&title=%3Cvalue%3E&ur
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 7,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "96",
|
||||
"key": "/playlists/96/items",
|
||||
"guid": "com.plexapp.agents.none://a2f92937-1408-40e2-b022-63a8a9377e55",
|
||||
"type": "playlist",
|
||||
"title": "A Great Playlist",
|
||||
"summary": "What a great playlist",
|
||||
"smart": false,
|
||||
"playlistType": "video",
|
||||
"icon": "playlist://image.smart",
|
||||
"viewCount": 1,
|
||||
"lastViewedAt": 1705719589,
|
||||
"leafCount": 1,
|
||||
"addedAt": 1705719589,
|
||||
"updatedAt": 1705724593,
|
||||
"composite": "/playlists/96/composite/1705724593",
|
||||
"duration": 141000
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/9571.56 \
|
||||
curl http://10.10.10.47:32400/playlists/567.13 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/8326.2 \
|
||||
curl http://10.10.10.47:32400/playlists/8917.73 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -11,7 +11,25 @@ curl http://10.10.10.47:32400/playlists/8326.2 \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 1,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"content": "library://x/directory/%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D1%26push%3D1%26title%3D2%26or%3D1%26title%3DSerenity%26pop%3D1",
|
||||
"ratingKey": "95",
|
||||
"key": "/playlists/95/items",
|
||||
"guid": "com.plexapp.agents.none://87425529-380f-44b8-a689-9a0537e7ec91",
|
||||
"type": "playlist",
|
||||
"title": "Smart Movie Playlist",
|
||||
"summary": "",
|
||||
"smart": true,
|
||||
"playlistType": "video",
|
||||
"composite": "/playlists/95/composite/1705717387",
|
||||
"icon": "playlist://image.smart",
|
||||
"duration": 282000,
|
||||
"leafCount": 2,
|
||||
"addedAt": 1705716493,
|
||||
"updatedAt": 1705717387
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/1403.5/items?type=8700.13 \
|
||||
curl http://10.10.10.47:32400/playlists/2726.56/items?type=3834.41 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -18,7 +18,95 @@ curl http://10.10.10.47:32400/playlists/1403.5/items?type=8700.13 \
|
||||
"ratingKey": "95",
|
||||
"smart": true,
|
||||
"title": "Smart Movie Playlist",
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "17",
|
||||
"key": "/library/metadata/17",
|
||||
"guid": "plex://movie/5d77683f6f4521001ea9dc53",
|
||||
"studio": "Universal Pictures",
|
||||
"type": "movie",
|
||||
"title": "Serenity",
|
||||
"titleSort": "Amazing Spider-Man 2",
|
||||
"librarySectionTitle": "Movies",
|
||||
"librarySectionID": 1,
|
||||
"librarySectionKey": "/library/sections/1",
|
||||
"contentRating": "PG-13",
|
||||
"summary": "Serenity continues the story of the TV series it was based upon (\"Firefly\"). River Tam had a secret - one in which she's not even aware - so dangerous, no one's safe, as an Alliance operative's sent to capture her, and all others are considered irrelevant to his job.",
|
||||
"rating": 8.2,
|
||||
"audienceRating": 9.1,
|
||||
"year": 2005,
|
||||
"tagline": "They aim to misbehave.",
|
||||
"thumb": "/library/metadata/17/thumb/1705637165",
|
||||
"art": "/library/metadata/17/art/1705637165",
|
||||
"duration": 141416,
|
||||
"originallyAvailableAt": "2005-09-29T00:00:00Z",
|
||||
"addedAt": 1705637164,
|
||||
"updatedAt": 1705637165,
|
||||
"audienceRatingImage": "rottentomatoes://image.rating.upright",
|
||||
"hasPremiumExtras": "1",
|
||||
"hasPremiumPrimaryExtra": "1",
|
||||
"ratingImage": "rottentomatoes://image.rating.ripe",
|
||||
"Media": [
|
||||
{
|
||||
"id": 15,
|
||||
"duration": 141416,
|
||||
"bitrate": 2273,
|
||||
"width": 1920,
|
||||
"height": 814,
|
||||
"aspectRatio": 2.35,
|
||||
"audioChannels": 2,
|
||||
"audioCodec": "aac",
|
||||
"videoCodec": "h264",
|
||||
"videoResolution": "1080",
|
||||
"container": "mp4",
|
||||
"videoFrameRate": "24p",
|
||||
"optimizedForStreaming": 0,
|
||||
"audioProfile": "lc",
|
||||
"has64bitOffsets": false,
|
||||
"videoProfile": "high",
|
||||
"Part": [
|
||||
{
|
||||
"id": 15,
|
||||
"key": "/library/parts/15/1705637151/file.mp4",
|
||||
"duration": 141416,
|
||||
"file": "/movies/Serenity (2005)/Serenity (2005).mp4",
|
||||
"size": 40271948,
|
||||
"audioProfile": "lc",
|
||||
"container": "mp4",
|
||||
"has64bitOffsets": false,
|
||||
"optimizedForStreaming": false,
|
||||
"videoProfile": "high"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Genre": [
|
||||
{
|
||||
"tag": "Action"
|
||||
}
|
||||
],
|
||||
"Country": [
|
||||
{
|
||||
"tag": "United States of America"
|
||||
}
|
||||
],
|
||||
"Director": [
|
||||
{
|
||||
"tag": "Joss Whedon"
|
||||
}
|
||||
],
|
||||
"Writer": [
|
||||
{
|
||||
"tag": "Joss Whedon"
|
||||
}
|
||||
],
|
||||
"Role": [
|
||||
{
|
||||
"tag": "Gina Torres"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -11,7 +11,26 @@ curl http://10.10.10.47:32400/playlists \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 4,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"ratingKey": "92",
|
||||
"key": "/playlists/92/items",
|
||||
"guid": "com.plexapp.agents.none://7ca5aaef-58e8-4828-9e21-c009c97f2903",
|
||||
"type": "playlist",
|
||||
"title": "Static Playlist",
|
||||
"summary": "A Great Playlist",
|
||||
"smart": false,
|
||||
"playlistType": "video",
|
||||
"composite": "/playlists/92/composite/1705716440",
|
||||
"icon": "playlist://image.smart",
|
||||
"viewCount": 1,
|
||||
"lastViewedAt": 1705716298,
|
||||
"duration": 7328000,
|
||||
"leafCount": 32,
|
||||
"addedAt": 1705716298,
|
||||
"updatedAt": 1705716440
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/playlists/7781.57?summary=%3Cvalue%3E&title=%3Cvalue%3E \
|
||||
curl http://10.10.10.47:32400/playlists/9636.63?summary=%3Cvalue%3E&title=%3Cvalue%3E \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
{/* Autogenerated DO NOT EDIT */}
|
||||
##### `X-Plex-Client-Identifier` _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 (optional)_
|
||||
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`
|
||||
|
||||
|
||||
---
|
||||
##### `X-Plex-Client-Identifier` _string (optional)_
|
||||
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)
|
||||
|
||||
<br/>
|
||||
**Example:** `Postman`
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
```bash Example Request
|
||||
curl https://plex.tv/api/v2/pins?strong=false \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE' \
|
||||
--header 'X-Plex-Client-Identifier: <value>'
|
||||
--header 'X-Plex-Client-Identifier: Postman'
|
||||
```
|
||||
---
|
||||
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
The PinID to retrieve an access token for
|
||||
|
||||
---
|
||||
##### `X-Plex-Client-Identifier` _string_
|
||||
##### `X-Plex-Client-Identifier` _string (optional)_
|
||||
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)
|
||||
|
||||
<br/>
|
||||
**Example:** `Postman`
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
```bash Example Request
|
||||
curl https://plex.tv/api/v2/pins/<value> \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE' \
|
||||
--header 'X-Plex-Client-Identifier: <value>'
|
||||
--header 'X-Plex-Client-Identifier: Postman'
|
||||
```
|
||||
---
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import Library from "./library/library.mdx";
|
||||
import Log from "./log/log.mdx";
|
||||
import Plex from "./plex/plex.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 Sessions from "./sessions/sessions.mdx";
|
||||
import Updater from "./updater/updater.mdx";
|
||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
||||
<Playlists/>
|
||||
|
||||
---
|
||||
<Security/>
|
||||
<Authentication/>
|
||||
|
||||
---
|
||||
<Statistics/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/hubs/search?limit=5&query=dylan§ionId=3927.85 \
|
||||
curl http://10.10.10.47:32400/hubs/search?limit=5&query=dylan§ionId=5448.83 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/hubs/search/voice?limit=5&query=dead%2Bpoop§ionId=9255.97 \
|
||||
curl http://10.10.10.47:32400/hubs/search/voice?limit=5&query=dead%2Bpoop§ionId=8472.52 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -11,7 +11,20 @@ curl http://10.10.10.47:32400/:/prefs \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 161,
|
||||
"Setting": []
|
||||
"Setting": [
|
||||
{
|
||||
"id": "EnableDatabaseTrace",
|
||||
"label": "",
|
||||
"summary": "",
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"value": false,
|
||||
"hidden": true,
|
||||
"advanced": false,
|
||||
"group": "",
|
||||
"enumValues": "1:admin only|2:everyone"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -11,7 +11,29 @@ curl http://10.10.10.47:32400/status/sessions/history/all \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 10855,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"historyKey": "/status/sessions/history/1",
|
||||
"key": "/library/metadata/32171",
|
||||
"ratingKey": "32171",
|
||||
"librarySectionID": "2",
|
||||
"parentKey": "/library/metadata/32170",
|
||||
"grandparentKey": "/library/metadata/32132",
|
||||
"title": "The Noise That Blue Makes",
|
||||
"grandparentTitle": "Taskmaster",
|
||||
"type": "episode",
|
||||
"thumb": "/library/metadata/32171/thumb/-1",
|
||||
"parentThumb": "/library/metadata/32170/thumb/1654134301",
|
||||
"grandparentThumb": "/library/metadata/32132/thumb/1703933346",
|
||||
"grandparentArt": "/library/metadata/32132/art/1703933346",
|
||||
"index": 1,
|
||||
"parentIndex": 13,
|
||||
"originallyAvailableAt": "2022-04-14T00:00:00Z",
|
||||
"viewedAt": 1654139223,
|
||||
"accountID": 1,
|
||||
"deviceID": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -11,7 +11,118 @@ curl http://10.10.10.47:32400/status/sessions \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 1,
|
||||
"Metadata": []
|
||||
"Metadata": [
|
||||
{
|
||||
"addedAt": 1705543312,
|
||||
"art": "/library/metadata/39904/art/1705310687",
|
||||
"duration": 186240,
|
||||
"grandparentArt": "/library/metadata/39904/art/1705310687",
|
||||
"grandparentGuid": "plex://artist/5d07bbfd403c6402904a6480",
|
||||
"grandparentKey": "/library/metadata/39904",
|
||||
"grandparentRatingKey": "39904",
|
||||
"grandparentThumb": "/library/metadata/39904/thumb/1705310687",
|
||||
"grandparentTitle": "Green Day",
|
||||
"guid": "plex://track/6535834f71f22f36f71a8e8f",
|
||||
"index": 1,
|
||||
"key": "/library/metadata/67085",
|
||||
"librarySectionID": "3",
|
||||
"librarySectionKey": "/library/sections/3",
|
||||
"librarySectionTitle": "Music",
|
||||
"musicAnalysisVersion": "1",
|
||||
"parentGuid": "plex://album/65394d6d472b8ab03ef47f12",
|
||||
"parentIndex": 1,
|
||||
"parentKey": "/library/metadata/67084",
|
||||
"parentRatingKey": "67084",
|
||||
"parentStudio": "Reprise Records",
|
||||
"parentThumb": "/library/metadata/67084/thumb/1705543314",
|
||||
"parentTitle": "Saviors",
|
||||
"parentYear": 2024,
|
||||
"ratingCount": 45885,
|
||||
"ratingKey": "67085",
|
||||
"sessionKey": "203",
|
||||
"thumb": "/library/metadata/67084/thumb/1705543314",
|
||||
"title": "The American Dream Is Killing Me",
|
||||
"titleSort": "American Dream Is Killing Me",
|
||||
"type": "track",
|
||||
"updatedAt": 1705543314,
|
||||
"viewOffset": 1000,
|
||||
"Media": [
|
||||
{
|
||||
"audioChannels": 2,
|
||||
"audioCodec": "flac",
|
||||
"bitrate": 1014,
|
||||
"container": "flac",
|
||||
"duration": 186240,
|
||||
"id": "130355",
|
||||
"selected": true,
|
||||
"Part": [
|
||||
{
|
||||
"container": "flac",
|
||||
"duration": 186240,
|
||||
"file": "/music/Green Day/Saviors (2024)/Green Day - Saviors - 01 - The American Dream Is Killing Me.flac",
|
||||
"hasThumbnail": "1",
|
||||
"id": "130625",
|
||||
"key": "/library/parts/130625/1705543268/file.flac",
|
||||
"size": 23644000,
|
||||
"decision": "directplay",
|
||||
"selected": true,
|
||||
"Stream": [
|
||||
{
|
||||
"albumGain": "-12.94",
|
||||
"albumPeak": "1.000000",
|
||||
"albumRange": "4.751014",
|
||||
"audioChannelLayout": "stereo",
|
||||
"bitDepth": 16,
|
||||
"bitrate": 1014,
|
||||
"channels": 2,
|
||||
"codec": "flac",
|
||||
"displayTitle": "FLAC (Stereo)",
|
||||
"extendedDisplayTitle": "FLAC (Stereo)",
|
||||
"gain": "-12.94",
|
||||
"id": "352487",
|
||||
"index": 0,
|
||||
"loudness": "-5.94",
|
||||
"lra": "1.74",
|
||||
"peak": "1.000000",
|
||||
"samplingRate": 44100,
|
||||
"selected": true,
|
||||
"streamType": 2,
|
||||
"location": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"User": {
|
||||
"id": "1",
|
||||
"thumb": "https://plex.tv/users/844780fc6f8a26b5/avatar?c=1705853661",
|
||||
"title": "Blindkitty38"
|
||||
},
|
||||
"Player": {
|
||||
"address": "10.10.10.171",
|
||||
"machineIdentifier": "3tsdzir85m2onc3qyr255aq1",
|
||||
"model": "standalone",
|
||||
"platform": "windows",
|
||||
"platformVersion": "10.0.22621",
|
||||
"product": "Plex for Windows",
|
||||
"profile": "Plex Desktop",
|
||||
"remotePublicAddress": "68.248.140.20",
|
||||
"state": "playing",
|
||||
"title": "DESKTOP-BL80MTD",
|
||||
"version": "1.85.0.4071-21128b56",
|
||||
"local": true,
|
||||
"relayed": false,
|
||||
"secure": true,
|
||||
"userID": 1
|
||||
},
|
||||
"Session": {
|
||||
"id": "93h7e00ncblxncqw9lkfaoxi",
|
||||
"bandwidth": 1050,
|
||||
"location": "lan"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -3,4 +3,6 @@
|
||||
The timespan to retrieve statistics for
|
||||
the exact meaning of this parameter is not known
|
||||
|
||||
<br/>
|
||||
**Example:** `4`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/statistics/media?Timespan=799159 \
|
||||
curl http://10.10.10.47:32400/statistics/media?Timespan=4 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
@@ -11,9 +11,38 @@ curl http://10.10.10.47:32400/statistics/media?Timespan=799159 \
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 5497,
|
||||
"Device": [],
|
||||
"Account": [],
|
||||
"StatisticsMedia": []
|
||||
"Device": [
|
||||
{
|
||||
"id": 208,
|
||||
"name": "Roku Express",
|
||||
"platform": "Roku",
|
||||
"clientIdentifier": "793095d235660625108ef785cc7646e9",
|
||||
"createdAt": 1706470556
|
||||
}
|
||||
],
|
||||
"Account": [
|
||||
{
|
||||
"id": 238960586,
|
||||
"key": "/accounts/238960586",
|
||||
"name": "Diane",
|
||||
"defaultAudioLanguage": "en",
|
||||
"autoSelectAudio": true,
|
||||
"defaultSubtitleLanguage": "en",
|
||||
"subtitleMode": 1,
|
||||
"thumb": "https://plex.tv/users/50d83634246da1de/avatar?c=1707110967"
|
||||
}
|
||||
],
|
||||
"StatisticsMedia": [
|
||||
{
|
||||
"accountID": 1,
|
||||
"deviceID": 13,
|
||||
"timespan": 4,
|
||||
"at": 1707141600,
|
||||
"metadataType": 4,
|
||||
"count": 1,
|
||||
"duration": 1555
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -6,6 +6,8 @@ import Labels from "/src/lib/labels";
|
||||
|
||||
##### `tonight` _enumeration (optional)_
|
||||
Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<Tonight />
|
||||
@@ -14,6 +16,8 @@ Indicate that you want the update to run during the next Butler execution. Omitt
|
||||
---
|
||||
##### `skip` _enumeration (optional)_
|
||||
Indicate that the latest version should be marked as skipped. The \<Release\> entry for this version will have the `state` set to `skipped`.
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<Skip />
|
||||
|
||||
@@ -5,6 +5,8 @@ import Labels from "/src/lib/labels";
|
||||
|
||||
##### `download` _enumeration (optional)_
|
||||
Indicate that you want to start download any updates found.
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<Download />
|
||||
|
||||
@@ -5,14 +5,20 @@ import Labels from "/src/lib/labels";
|
||||
|
||||
##### `ratingKey` _number_
|
||||
The rating key of the media item
|
||||
<br/>
|
||||
**Example:** `23409`
|
||||
|
||||
---
|
||||
##### `key` _string_
|
||||
The key of the media item to get the timeline for
|
||||
<br/>
|
||||
**Example:** `/library/metadata/23409`
|
||||
|
||||
---
|
||||
##### `state` _enumeration_
|
||||
The state of the media item
|
||||
<br/>
|
||||
**Example:** `playing`
|
||||
|
||||
<Collapsible openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<State />
|
||||
@@ -21,28 +27,42 @@ The state of the media item
|
||||
---
|
||||
##### `hasMDE` _number_
|
||||
Whether the media item has MDE
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
---
|
||||
##### `time` _number_
|
||||
The time of the media item
|
||||
<br/>
|
||||
**Example:** `2000`
|
||||
|
||||
---
|
||||
##### `duration` _number_
|
||||
The duration of the media item
|
||||
<br/>
|
||||
**Example:** `10000`
|
||||
|
||||
---
|
||||
##### `context` _string_
|
||||
The context of the media item
|
||||
<br/>
|
||||
**Example:** `home:hub.continueWatching`
|
||||
|
||||
---
|
||||
##### `playQueueItemID` _number_
|
||||
The play queue item ID of the media item
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
---
|
||||
##### `playBackTime` _number_
|
||||
The playback time of the media item
|
||||
<br/>
|
||||
**Example:** `2000`
|
||||
|
||||
---
|
||||
##### `row` _number_
|
||||
The row of the media item
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/:/timeline?context=%3Cvalue%3E&duration=5448.83&hasMDE=6027.63&key=%3Cvalue%3E&playBackTime=4236.55&playQueueItemID=8472.52&ratingKey=8442.66&row=6235.64&time=8579.46 \
|
||||
curl http://10.10.10.47:32400/:/timeline?context=home%3Ahub.continueWatching&duration=10000&hasMDE=1&key=%2Flibrary%2Fmetadata%2F23409&playBackTime=2000&playQueueItemID=1&ratingKey=23409&row=1&time=2000 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -1,64 +1,96 @@
|
||||
{/* Autogenerated DO NOT EDIT */}
|
||||
##### `hasMDE` _number_
|
||||
Whether the media item has MDE
|
||||
<br/>
|
||||
**Example:** `1`
|
||||
|
||||
---
|
||||
##### `path` _string_
|
||||
The path to the media item to transcode
|
||||
<br/>
|
||||
**Example:** `/library/metadata/23409`
|
||||
|
||||
---
|
||||
##### `mediaIndex` _number_
|
||||
The index of the media item to transcode
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `partIndex` _number_
|
||||
The index of the part to transcode
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `protocol` _string_
|
||||
The protocol to use for the transcode session
|
||||
<br/>
|
||||
**Example:** `hls`
|
||||
|
||||
---
|
||||
##### `fastSeek` _number (optional)_
|
||||
Whether to use fast seek or not
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `directPlay` _number (optional)_
|
||||
Whether to use direct play or not
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `directStream` _number (optional)_
|
||||
Whether to use direct stream or not
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `subtitleSize` _number (optional)_
|
||||
The size of the subtitles
|
||||
<br/>
|
||||
**Example:** `100`
|
||||
|
||||
---
|
||||
##### `subtites` _string (optional)_
|
||||
The subtitles
|
||||
<br/>
|
||||
**Example:** `burn`
|
||||
|
||||
---
|
||||
##### `audioBoost` _number (optional)_
|
||||
The audio boost
|
||||
<br/>
|
||||
**Example:** `100`
|
||||
|
||||
---
|
||||
##### `location` _string (optional)_
|
||||
The location of the transcode session
|
||||
<br/>
|
||||
**Example:** `lan`
|
||||
|
||||
---
|
||||
##### `mediaBufferSize` _number (optional)_
|
||||
The size of the media buffer
|
||||
<br/>
|
||||
**Example:** `102400`
|
||||
|
||||
---
|
||||
##### `session` _string (optional)_
|
||||
The session ID
|
||||
<br/>
|
||||
**Example:** `zvcage8b7rkioqcm8f4uns4c`
|
||||
|
||||
---
|
||||
##### `addDebugOverlay` _number (optional)_
|
||||
Whether to add a debug overlay or not
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
---
|
||||
##### `autoAdjustQuality` _number (optional)_
|
||||
Whether to auto adjust quality or not
|
||||
<br/>
|
||||
**Example:** `0`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<CH.Code>
|
||||
```bash Example Request
|
||||
curl http://10.10.10.47:32400/video/:/transcode/universal/start.mpd?addDebugOverlay=4776.65&audioBoost=2726.56&autoAdjustQuality=7917.25&directPlay=8917.73&directStream=567.13&fastSeek=2975.34&hasMDE=6458.94&location=%3Cvalue%3E&mediaBufferSize=3834.41&mediaIndex=3843.82&partIndex=4375.87&path=%3Cvalue%3E&protocol=%3Cvalue%3E&session=%3Cvalue%3E&subtites=%3Cvalue%3E&subtitleSize=9636.63 \
|
||||
curl http://10.10.10.47:32400/video/:/transcode/universal/start.mpd?addDebugOverlay=0&audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=0&fastSeek=0&hasMDE=1&location=lan&mediaBufferSize=102400&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F23409&protocol=hls&session=zvcage8b7rkioqcm8f4uns4c&subtites=burn&subtitleSize=100 \
|
||||
--header 'Accept: application/json' \
|
||||
--header 'X-Plex-Token: YOUR_API_KEY_HERE'
|
||||
```
|
||||
|
||||
@@ -12,7 +12,6 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo/models/sdkerrors"
|
||||
"log"
|
||||
)
|
||||
@@ -20,6 +19,7 @@ import (
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
36
content/pages/01-reference/go/global_parameters/_snippet.mdx
Normal file
36
content/pages/01-reference/go/global_parameters/_snippet.mdx
Normal file
@@ -0,0 +1,36 @@
|
||||
{/* Start Go Global Parameters */}
|
||||
A parameter is configured globally. This parameter must be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
|
||||
|
||||
For example, you can set `X-Plex-Client-Identifier` to `"Postman"` at SDK initialization and then you do not have to pass the same value on calls to operations like `GetPin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
||||
|
||||
|
||||
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
var strong *bool = plexgo.Bool(false)
|
||||
|
||||
var xPlexClientIdentifier *string = plexgo.String("Postman")
|
||||
ctx := context.Background()
|
||||
res, err := s.Plex.GetPin(ctx, strong, xPlexClientIdentifier)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
{/* End Go Global Parameters */}
|
||||
@@ -0,0 +1,6 @@
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Global Parameters <LanguageSelector/></H2>
|
||||
|
||||
{/* render global_parameters */}
|
||||
@@ -6,6 +6,7 @@ import ClientSDKs from "./client_sdks/client_sdks.mdx";
|
||||
import Installation from "./installation/installation.mdx";
|
||||
import CustomClient from "./custom_http_client/custom_http_client.mdx";
|
||||
import SecurityOptions from "./security_options/security_options.mdx";
|
||||
import Globals from "./global_parameters/global_parameters.mdx";
|
||||
import Errors from "./errors/errors.mdx";
|
||||
import ServerOptions from "./server_options/server_options.mdx";
|
||||
import Resources from "./resources/resources.mdx";
|
||||
@@ -29,6 +30,10 @@ import Resources from "./resources/resources.mdx";
|
||||
|
||||
---
|
||||
|
||||
<Globals/>
|
||||
|
||||
---
|
||||
|
||||
<Errors/>
|
||||
|
||||
---
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import GetTransientToken from "./get_transient_token/get_transient_token.mdx";
|
||||
import GetSourceConnectionInformation from "./get_source_connection_information/get_source_connection_information.mdx";
|
||||
|
||||
## Security
|
||||
API Calls against Security for Plex Media Server
|
||||
## Authentication
|
||||
API Calls regarding authentication for Plex Media Server
|
||||
|
||||
|
||||
### Available Operations
|
||||
|
||||
* [Get Transient Token](/curl/security/get_transient_token) - Get a Transient Token.
|
||||
* [Get Source Connection Information](/curl/security/get_source_connection_information) - Get Source Connection Information
|
||||
* [Get Transient Token](/go/authentication/get_transient_token) - Get a Transient Token.
|
||||
* [Get Source Connection Information](/go/authentication/get_source_connection_information) - Get Source Connection Information
|
||||
|
||||
---
|
||||
<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.
|
||||
|
||||
---
|
||||
##### `timespan` *{`*int64`}*
|
||||
The timespan to retrieve statistics for
|
||||
the exact meaning of this parameter is not known
|
||||
|
||||
##### `source` *{`string`}*
|
||||
The source identifier with an included prefix.
|
||||
<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,33 +1,26 @@
|
||||
|
||||
<CH.Code>
|
||||
```go GetToken.go
|
||||
```go GetSourceConnectionInformation.go
|
||||
package main
|
||||
|
||||
import(
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
|
||||
var pinID string = "<value>"
|
||||
|
||||
var xPlexClientIdentifier string = "<value>"
|
||||
|
||||
var source string = "provider://provider-identifier"
|
||||
ctx := context.Background()
|
||||
res, err := s.Plex.GetToken(ctx, pinID, xPlexClientIdentifier)
|
||||
res, err := s.Authentication.GetSourceConnectionInformation(ctx, source)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.StatusCode == http.StatusOK {
|
||||
if res != nil {
|
||||
// handle response
|
||||
}
|
||||
}
|
||||
@@ -38,11 +31,12 @@ func main() {
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"code": 1000,
|
||||
"message": "X-Plex-Client-Identifier is missing",
|
||||
"status": 400
|
||||
"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 OperationHeader from '/src/components/OperationHeader';
|
||||
|
||||
###### *Plex*
|
||||
###### *Authentication*
|
||||
|
||||
<OperationHeader
|
||||
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 */}
|
||||
import GetStatisticsResponse from "/content/types/models/operations/get_statistics_response/go.mdx"
|
||||
import GetTransientTokenResponse from "/content/types/models/operations/get_transient_token_response/go.mdx"
|
||||
import Collapsible from "/src/components/Collapsible";
|
||||
import Labels from "/src/lib/labels";
|
||||
|
||||
##### *{`*operations.GetStatisticsResponse`}*
|
||||
##### *{`*operations.GetTransientTokenResponse`}*
|
||||
|
||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<GetStatisticsResponse />
|
||||
<GetTransientTokenResponse />
|
||||
</Collapsible>
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
<CH.Code>
|
||||
```go GetTransientToken.go
|
||||
package main
|
||||
|
||||
import(
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/operations"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
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 OperationHeader from '/src/components/OperationHeader';
|
||||
|
||||
###### *Plex*
|
||||
###### *Authentication*
|
||||
|
||||
<OperationHeader
|
||||
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 Plex from "./plex/plex.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 Sessions from "./sessions/sessions.mdx";
|
||||
import Updater from "./updater/updater.mdx";
|
||||
@@ -51,7 +51,7 @@ import Updater from "./updater/updater.mdx";
|
||||
<Playlists/>
|
||||
|
||||
---
|
||||
<Security/>
|
||||
<Authentication/>
|
||||
|
||||
---
|
||||
<Statistics/>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
## Get Statistics
|
||||
|
||||
This will return the media statistics for the server
|
||||
@@ -1,44 +0,0 @@
|
||||
|
||||
<CH.Code>
|
||||
```go GetStatistics.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 timespan *int64 = plexgo.Int64(944669)
|
||||
|
||||
ctx := context.Background()
|
||||
res, err := s.Statistics.GetStatistics(ctx, timespan)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
}
|
||||
```
|
||||
---
|
||||
|
||||
```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](/go/statistics/get_statistics) - Get Media Statistics
|
||||
|
||||
---
|
||||
<GetStatistics />
|
||||
@@ -18,6 +18,7 @@ import (
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
ctx := context.Background()
|
||||
@@ -25,7 +26,6 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ package main
|
||||
import (
|
||||
"context"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -22,6 +21,7 @@ func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithServerIndex(0),
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
ctx := context.Background()
|
||||
@@ -29,7 +29,6 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
@@ -53,7 +52,6 @@ package main
|
||||
import (
|
||||
"context"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -61,6 +59,7 @@ func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithServerURL("{protocol}://{ip}:{port}"),
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
ctx := context.Background()
|
||||
@@ -68,7 +67,6 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
@@ -85,25 +83,22 @@ package main
|
||||
import (
|
||||
"context"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo/models/operations"
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := plexgo.New(
|
||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||
plexgo.WithXPlexClientIdentifier("Postman"),
|
||||
)
|
||||
|
||||
var xPlexClientIdentifier string = "<value>"
|
||||
|
||||
var strong *bool = plexgo.Bool(false)
|
||||
|
||||
var xPlexClientIdentifier *string = plexgo.String("Postman")
|
||||
ctx := context.Background()
|
||||
res, err := s.Plex.GetPin(ctx, operations.WithServerURL("https://plex.tv/api/v2"), xPlexClientIdentifier, strong)
|
||||
res, err := s.Plex.GetPin(ctx, strong, xPlexClientIdentifier, operations.WithServerURL("https://plex.tv/api/v2"))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if res.Object != nil {
|
||||
// handle response
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ import requests
|
||||
|
||||
http_client = requests.Session()
|
||||
http_client.headers.update({'x-custom-header': 'someValue'})
|
||||
s = plex_api.PlexAPI(client: http_client)
|
||||
s = plex_api.PlexAPI(client=http_client)
|
||||
```
|
||||
{/* End Python Custom HTTP Client */}
|
||||
|
||||
@@ -11,12 +11,13 @@ from plex_api.models import errors
|
||||
|
||||
s = plex_api.PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
x_plex_client_identifier='Postman',
|
||||
)
|
||||
|
||||
|
||||
res = None
|
||||
try:
|
||||
res = s.server.get_server_capabilities()
|
||||
|
||||
except errors.GetServerCapabilitiesResponseBody as e:
|
||||
# handle exception
|
||||
raise(e)
|
||||
@@ -27,6 +28,7 @@ except errors.SDKError as e:
|
||||
if res.object is not None:
|
||||
# handle response
|
||||
pass
|
||||
|
||||
```
|
||||
|
||||
{/* End Python Errors */}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{/* Start Python Global Parameters */}
|
||||
A parameter is configured globally. This parameter must be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
|
||||
|
||||
For example, you can set `X-Plex-Client-Identifier` to `'Postman'` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
||||
|
||||
|
||||
|
||||
|
||||
```python
|
||||
import plex_api
|
||||
|
||||
s = plex_api.PlexAPI(
|
||||
x_plex_client_identifier='Postman',
|
||||
)
|
||||
|
||||
|
||||
res = s.plex.get_pin(strong=False, x_plex_client_identifier='Postman')
|
||||
|
||||
if res.object is not None:
|
||||
# handle response
|
||||
pass
|
||||
|
||||
```
|
||||
{/* End Python Global Parameters */}
|
||||
@@ -0,0 +1,6 @@
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Global Parameters <LanguageSelector/></H2>
|
||||
|
||||
{/* render global_parameters */}
|
||||
@@ -6,6 +6,7 @@ import ClientSDKs from "./client_sdks/client_sdks.mdx";
|
||||
import Installation from "./installation/installation.mdx";
|
||||
import CustomClient from "./custom_http_client/custom_http_client.mdx";
|
||||
import SecurityOptions from "./security_options/security_options.mdx";
|
||||
import Globals from "./global_parameters/global_parameters.mdx";
|
||||
import Errors from "./errors/errors.mdx";
|
||||
import ServerOptions from "./server_options/server_options.mdx";
|
||||
import Resources from "./resources/resources.mdx";
|
||||
@@ -29,6 +30,10 @@ import Resources from "./resources/resources.mdx";
|
||||
|
||||
---
|
||||
|
||||
<Globals/>
|
||||
|
||||
---
|
||||
|
||||
<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,33 @@
|
||||
|
||||
<CH.Code>
|
||||
```python GetSourceConnectionInformation.py
|
||||
import plex_api
|
||||
|
||||
s = plex_api.PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
x_plex_client_identifier='Postman',
|
||||
)
|
||||
|
||||
|
||||
res = s.authentication.get_source_connection_information(source='provider://provider-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 */}
|
||||
import GetPinResponse from "/content/types/models/operations/get_pin_response/python.mdx"
|
||||
import GetTransientTokenResponse from "/content/types/models/operations/get_transient_token_response/python.mdx"
|
||||
import Collapsible from "/src/components/Collapsible";
|
||||
import Labels from "/src/lib/labels";
|
||||
|
||||
##### *{`operations.GetPinResponse`}*
|
||||
##### *{`operations.GetTransientTokenResponse`}*
|
||||
|
||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<GetPinResponse />
|
||||
<GetTransientTokenResponse />
|
||||
</Collapsible>
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
<CH.Code>
|
||||
```python GetTransientToken.py
|
||||
import plex_api
|
||||
from plex_api.models import operations
|
||||
|
||||
s = plex_api.PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
x_plex_client_identifier='Postman',
|
||||
)
|
||||
|
||||
|
||||
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>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user