Updating PMS Spec

This commit is contained in:
lukehagar
2024-06-21 06:17:40 +00:00
parent 7424f00c33
commit 961119d2bc

View File

@@ -2571,8 +2571,10 @@ paths:
- integer - integer
- string - string
examples: examples:
- 1 librarySectionID:
- watchlist value: 1
providerSectionID:
value: watchlist
- name: tag - name: tag
in: path in: path
required: true required: true
@@ -2606,8 +2608,7 @@ paths:
schema: schema:
type: integer type: integer
required: false required: false
examples: example: 1
- 1
responses: responses:
'200': '200':
description: The contents of the library by section and tag description: The contents of the library by section and tag
@@ -3229,7 +3230,8 @@ paths:
type: number type: number
required: true required: true
examples: examples:
- 17 rating-key:
value: 17
responses: responses:
'200': '200':
description: The metadata of the library item. description: The metadata of the library item.
@@ -3751,9 +3753,12 @@ paths:
type: string type: string
required: false required: false
examples: examples:
- Stream include-stream:
- 'Stream,OtherItem' value: Stream
- 'Stream,OtherItem,AnotherItem' include-stream-otheritem:
value: 'Stream,OtherItem'
include-stream-otheritem-anotheritem:
value: 'Stream,OtherItem,AnotherItem'
responses: responses:
'200': '200':
description: The children of the library item. description: The children of the library item.
@@ -3999,9 +4004,12 @@ paths:
type: integer type: integer
required: true required: true
examples: examples:
- 1 movies:
- 2 value: 1
- 3 shows:
value: 2
music:
value: 3
- name: includeGuids - name: includeGuids
in: query in: query
descriptions: | descriptions: |
@@ -4009,8 +4017,7 @@ paths:
schema: schema:
type: integer type: integer
required: false required: false
examples: example: 1
- 1
responses: responses:
'200': '200':
description: The metadata of the library item. description: The metadata of the library item.
@@ -6734,43 +6741,43 @@ paths:
description: Resource Statistics description: Resource Statistics
content: content:
application/json: application/json:
schema: null schema:
type: object type: object
properties: properties:
MediaContainer: MediaContainer:
type: object type: object
properties: properties:
size: size:
type: integer type: integer
format: int32 format: int32
example: 5497 example: 5497
StatisticsResources: StatisticsResources:
type: array type: array
items: items:
type: object type: object
properties: properties:
timespan: timespan:
type: integer type: integer
example: 6 example: 6
at: at:
type: integer type: integer
example: 1718384427 example: 1718384427
hostCpuUtilization: hostCpuUtilization:
type: number type: number
format: float format: float
example: 1.276 example: 1.276
processCpuUtilization: processCpuUtilization:
type: number type: number
format: float format: float
example: 0.025 example: 0.025
hostMemoryUtilization: hostMemoryUtilization:
type: number type: number
format: float format: float
example: 17.026 example: 17.026
processMemoryUtilization: processMemoryUtilization:
type: number type: number
format: float format: float
example: 0.493 example: 0.493
'400': '400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.' description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':