ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.300.1

This commit is contained in:
speakeasybot
2024-06-07 00:34:36 +00:00
parent 6748e94a9a
commit 5be5b43d7e
491 changed files with 4181 additions and 2758 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(strong=False, x_plex_client_identifier='Postman', server_url="https://plex.tv/api/v2")
if res.object is not None:
# handle response
pass
```
{/* End Python Server Options */}