Updating PMS Spec

This commit is contained in:
lukehagar
2024-06-21 05:59:48 +00:00
parent d38fd50f60
commit 7424f00c33

View File

@@ -17,16 +17,13 @@ servers:
variables: variables:
protocol: protocol:
default: http default: http
description: The protocol to use when connecting to your plex server.
enum: enum:
- http - http
- https - https
ip: ip:
default: 10.10.10.47 default: 10.10.10.47
description: The Local IP Address of your plex server.
port: port:
default: '32400' default: '32400'
description: The port to access your plex server.
x-speakeasy-globals: x-speakeasy-globals:
parameters: parameters:
- name: X-Plex-Client-Identifier - name: X-Plex-Client-Identifier
@@ -7312,10 +7309,14 @@ paths:
type: string type: string
required: false required: false
examples: examples:
- 'viewedAt:desc' viewed-at-descending:
- 'viewedAt:asc' value: 'viewedAt:desc'
- 'rating:desc' viewed-at-ascending:
- 'rating:asc' value: 'viewedAt:asc'
rating-descending:
value: 'rating:desc'
rating-ascending:
value: 'rating:asc'
- name: accountId - name: accountId
description: | description: |
Filter results by those that are related to a specific users id Filter results by those that are related to a specific users id
@@ -7323,9 +7324,7 @@ paths:
schema: schema:
type: integer type: integer
required: false required: false
examples: example: 1
- 1
- 35020085
- name: filter - name: filter
description: | description: |
Filters content by field and direction/equality Filters content by field and direction/equality
@@ -7333,16 +7332,18 @@ paths:
in: query in: query
schema: schema:
type: object type: object
patternProperties: pattern: '^[A-Za-z][A-Za-z0-9]*[>=<]{0,2}$'
'^[A-Za-z][A-Za-z0-9]*[>=<]{0,2}$': example:
type: string viewed-at-greater-than:
examples: value: viewedAt>
- viewedAt> viewed-at-greater-than-or-equal-to:
- viewedAt>= value: viewedAt>=>
- viewedAt< viewed-at-less-than:
value: viewedAt<
required: false required: false
examples: examples:
- viewedAt>=1704862818 ViewedAt:
value: viewedAt>=1704862818
- name: librarySectionID - name: librarySectionID
description: | description: |
Filters the results based on the id of a valid library section Filters the results based on the id of a valid library section
@@ -7350,9 +7351,7 @@ paths:
schema: schema:
type: integer type: integer
required: false required: false
examples: example: 12
- 12
- 31
responses: responses:
'200': '200':
description: List of Plex Sessions description: List of Plex Sessions