ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.274.1

This commit is contained in:
speakeasybot
2024-04-25 00:33:14 +00:00
parent 6748e94a9a
commit 707d9e00b8
385 changed files with 4445 additions and 2632 deletions

View File

@@ -14,6 +14,7 @@ import plex_api
s = plex_api.PlexAPI(
server_idx=0,
access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='Postman',
)
@@ -22,6 +23,7 @@ res = s.server.get_server_capabilities()
if res.object is not None:
# handle response
pass
```
#### Variables
@@ -40,6 +42,7 @@ import plex_api
s = plex_api.PlexAPI(
server_url="{protocol}://{ip}:{port}",
access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='Postman',
)
@@ -48,6 +51,7 @@ res = s.server.get_server_capabilities()
if res.object is not None:
# handle response
pass
```
### Override Server URL Per-Operation
@@ -57,14 +61,15 @@ The server URL can also be overridden on a per-operation basis, provided a serve
import plex_api
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='Postman',
)
res = s.plex.get_pin(server_url="https://plex.tv/api/v2", x_plex_client_identifier='<value>', strong=False)
res = s.plex.get_pin(server_url="https://plex.tv/api/v2", strong=False, x_plex_client_identifier='Postman')
if res.object is not None:
# handle response
pass
```
{/* End Python Server Options */}