Added Metadata Children endpoint

This commit is contained in:
Luke Hagar
2023-06-02 15:33:03 -05:00
parent 8675540b6c
commit 33109da157
2 changed files with 24 additions and 0 deletions

View 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"

View File

@@ -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"