ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.148.0

This commit is contained in:
speakeasybot
2024-01-23 00:32:38 +00:00
parent 26c128571f
commit e044084015
954 changed files with 20504 additions and 4484 deletions

View File

@@ -10,34 +10,32 @@ s = plex_api.PlexAPI(
res = s.server.get_available_clients()
if res.classes is not None:
if res.object is not None:
# handle response
pass
```
---
```json Example Response
[
{
"MediaContainer": {
"size": 1,
"Server": [
{
"name": "iPad",
"host": "10.10.10.102",
"address": "10.10.10.102",
"port": 32500,
"machineIdentifier": "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
"version": "8.17",
"protocol": "plex",
"product": "Plex for iOS",
"deviceClass": "tablet",
"protocolVersion": 2,
"protocolCapabilities": "playback,playqueues,timeline,provider-playback"
}
]
}
{
"MediaContainer": {
"size": 1,
"Server": [
{
"name": "iPad",
"host": "10.10.10.102",
"address": "10.10.10.102",
"port": 32500,
"machineIdentifier": "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
"version": "8.17",
"protocol": "plex",
"product": "Plex for iOS",
"deviceClass": "tablet",
"protocolVersion": 2,
"protocolCapabilities": "playback,playqueues,timeline,provider-playback"
}
]
}
]
}
```
</CH.Code>

View File

@@ -10,7 +10,7 @@ s = plex_api.PlexAPI(
res = s.server.get_server_preferences()
if res.status_code == 200:
if res.object is not None:
# handle response
pass
```
@@ -18,13 +18,10 @@ if res.status_code == 200:
```json Example Response
{
"errors": [
{
"code": 1001,
"message": "User could not be authenticated",
"status": 401
}
]
"MediaContainer": {
"size": 161,
"Setting": []
}
}
```
</CH.Code>