ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.193.4

This commit is contained in:
speakeasybot
2024-02-24 01:08:27 +00:00
parent a604a51c01
commit e04f107a4d
47 changed files with 560 additions and 560 deletions

View File

@@ -1,9 +1,9 @@
# Security
(*security*)
# Authentication
(*authentication*)
## Overview
API Calls against Security for Plex Media Server
API Calls regarding authentication for Plex Media Server
### Available Operations
@@ -27,7 +27,7 @@ s = plex_api.PlexAPI(
)
res = s.security.get_transient_token(type=operations.GetTransientTokenQueryParamType.DELEGATION, scope=operations.Scope.ALL)
res = s.authentication.get_transient_token(type=operations.GetTransientTokenQueryParamType.DELEGATION, scope=operations.Scope.ALL)
if res.status_code == 200:
# handle response
@@ -68,7 +68,7 @@ s = plex_api.PlexAPI(
)
res = s.security.get_source_connection_information(source='server://client-identifier')
res = s.authentication.get_source_connection_information(source='server://client-identifier')
if res.status_code == 200:
# handle response

View File

@@ -20,9 +20,7 @@ Retrieve a Pin from Plex.tv for authentication flows
```python
import plex_api
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)
s = plex_api.PlexAPI()
res = s.plex.get_pin(x_plex_client_identifier='<value>', strong=False)
@@ -60,9 +58,7 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat
```python
import plex_api
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)
s = plex_api.PlexAPI()
res = s.plex.get_token(pin_id='<value>', x_plex_client_identifier='<value>')