mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-09 04:20:52 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.148.0
This commit is contained in:
@@ -10,7 +10,7 @@ s = plex_api.PlexAPI(
|
||||
|
||||
res = s.sessions.get_session_history()
|
||||
|
||||
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": 10855,
|
||||
"Metadata": []
|
||||
}
|
||||
}
|
||||
```
|
||||
</CH.Code>
|
||||
|
||||
@@ -10,7 +10,7 @@ s = plex_api.PlexAPI(
|
||||
|
||||
res = s.sessions.get_sessions()
|
||||
|
||||
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": 1,
|
||||
"Metadata": []
|
||||
}
|
||||
}
|
||||
```
|
||||
</CH.Code>
|
||||
|
||||
@@ -20,32 +20,7 @@ if res.object is not None:
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 1,
|
||||
"TranscodeSession": [
|
||||
{
|
||||
"key": "zz7llzqlx8w9vnrsbnwhbmep",
|
||||
"throttled": false,
|
||||
"complete": false,
|
||||
"progress": 0.4000000059604645,
|
||||
"size": -22,
|
||||
"speed": 22.399999618530273,
|
||||
"error": false,
|
||||
"duration": 2561768,
|
||||
"context": "streaming",
|
||||
"sourceVideoCodec": "h264",
|
||||
"sourceAudioCodec": "ac3",
|
||||
"videoDecision": "transcode",
|
||||
"audioDecision": "transcode",
|
||||
"protocol": "http",
|
||||
"container": "mkv",
|
||||
"videoCodec": "h264",
|
||||
"audioCodec": "opus",
|
||||
"audioChannels": 2,
|
||||
"transcodeHwRequested": false,
|
||||
"timeStamp": 1681869535.7764285,
|
||||
"maxOffsetAvailable": 861.778,
|
||||
"minOffsetAvailable": 0
|
||||
}
|
||||
]
|
||||
"TranscodeSession": []
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user