mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-09 20:47:47 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.148.0
This commit is contained in:
@@ -9,9 +9,9 @@ s = plex_api.PlexAPI(
|
||||
)
|
||||
|
||||
|
||||
res = s.library.get_metadata_children(rating_key=3927.85)
|
||||
res = s.library.get_metadata_children(rating_key=8121.69)
|
||||
|
||||
if res.status_code == 200:
|
||||
if res.object is not None:
|
||||
# handle response
|
||||
pass
|
||||
```
|
||||
@@ -19,13 +19,31 @@ if res.status_code == 200:
|
||||
|
||||
```json Example Response
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"code": 1001,
|
||||
"message": "User could not be authenticated",
|
||||
"status": 401
|
||||
}
|
||||
]
|
||||
"MediaContainer": {
|
||||
"size": 3,
|
||||
"allowSync": true,
|
||||
"art": "/library/metadata/30072/art/1705739923",
|
||||
"identifier": "com.plexapp.plugins.library",
|
||||
"key": "30072",
|
||||
"librarySectionID": 2,
|
||||
"librarySectionTitle": "TV Shows",
|
||||
"librarySectionUUID": "4bb2521c-8ba9-459b-aaee-8ab8bc35eabd",
|
||||
"mediaTagPrefix": "/system/bundle/media/flags/",
|
||||
"mediaTagVersion": 1701731894,
|
||||
"nocache": true,
|
||||
"parentIndex": 1,
|
||||
"parentTitle": "Reacher",
|
||||
"parentYear": 2022,
|
||||
"summary": "When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia.",
|
||||
"theme": "/library/metadata/30072/theme/1705739923",
|
||||
"thumb": "/library/metadata/30072/thumb/1705739923",
|
||||
"title1": "TV Shows",
|
||||
"title2": "Reacher",
|
||||
"viewGroup": "season",
|
||||
"viewMode": 65593,
|
||||
"Directory": [],
|
||||
"Metadata": []
|
||||
}
|
||||
}
|
||||
```
|
||||
</CH.Code>
|
||||
|
||||
Reference in New Issue
Block a user