mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
Added Metadata Children endpoint
This commit is contained in:
22
pms/paths/metadata-children.yaml
Normal file
22
pms/paths/metadata-children.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
get:
|
||||
tags:
|
||||
- Library
|
||||
summary: Get Items Children
|
||||
description: |
|
||||
This endpoint will return the children of of a library item specified with the ratingKey.
|
||||
operationId: getMetadataChildren
|
||||
parameters:
|
||||
- name: ratingKey
|
||||
description: the id of the library item to return the children of.
|
||||
in: path
|
||||
schema:
|
||||
type: number
|
||||
required: true
|
||||
|
||||
responses:
|
||||
"200":
|
||||
description: The children of the library item.
|
||||
"400":
|
||||
$ref: "../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../responses/401.yaml"
|
||||
@@ -147,6 +147,8 @@ paths:
|
||||
$ref: "./paths/library-content-latest.yaml"
|
||||
/library/sections/{sectionId}/common:
|
||||
$ref: "./paths/library-content-common.yaml"
|
||||
/library/metadata/{ratingKey}/children:
|
||||
$ref: "./paths/metadata-children.yaml"
|
||||
/library/onDeck:
|
||||
$ref: "./paths/library-ondeck.yaml"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user