mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 12:37:44 +00:00
removed server variable descriptions, and adjusted examples
This commit is contained in:
@@ -2,11 +2,10 @@ speakeasyVersion: 1.313.0
|
||||
sources:
|
||||
Plex-API:
|
||||
sourceNamespace: plex-api
|
||||
sourceRevisionDigest: sha256:990516ef4141012f6bafcb24cb8606a4ac937a406766c4c1674c413b699d1088
|
||||
sourceBlobDigest: sha256:f675abd93ae85d196ad2c4625cf8f5b8a62374f23d24fd44b6a08d3fd2c91462
|
||||
sourceRevisionDigest: sha256:21fa61694fe7a98599a725d993748cfc346ad64c7d057532755dfd7a7fcff56f
|
||||
sourceBlobDigest: sha256:223b05478bc4df9cea4f15f8b5791b1db2b099106e827f1f87a4b3aff5c18226
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
targets: {}
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
|
||||
@@ -13,10 +13,14 @@ get:
|
||||
type: string
|
||||
required: false
|
||||
examples:
|
||||
- viewedAt:desc
|
||||
- viewedAt:asc
|
||||
- rating:desc
|
||||
- rating:asc
|
||||
viewed-at-descending:
|
||||
value: viewedAt:desc
|
||||
viewed-at-ascending:
|
||||
value: viewedAt:asc
|
||||
rating-descending:
|
||||
value: rating:desc
|
||||
rating-ascending:
|
||||
value: rating:asc
|
||||
- name: accountId
|
||||
description: |
|
||||
Filter results by those that are related to a specific users id
|
||||
@@ -24,9 +28,7 @@ get:
|
||||
schema:
|
||||
type: integer
|
||||
required: false
|
||||
examples:
|
||||
- 1
|
||||
- 35020085
|
||||
example: 1
|
||||
- name: filter
|
||||
description: |
|
||||
Filters content by field and direction/equality
|
||||
@@ -34,16 +36,18 @@ get:
|
||||
in: query
|
||||
schema:
|
||||
type: object
|
||||
patternProperties:
|
||||
'^[A-Za-z][A-Za-z0-9]*[>=<]{0,2}$':
|
||||
type: string
|
||||
examples:
|
||||
- viewedAt>
|
||||
- viewedAt>=
|
||||
- viewedAt<
|
||||
pattern: '^[A-Za-z][A-Za-z0-9]*[>=<]{0,2}$'
|
||||
example:
|
||||
viewed-at-greater-than:
|
||||
value: viewedAt>
|
||||
viewed-at-greater-than-or-equal-to:
|
||||
value: viewedAt>=>
|
||||
viewed-at-less-than:
|
||||
value: viewedAt<
|
||||
required: false
|
||||
examples:
|
||||
- viewedAt>=1704862818
|
||||
ViewedAt:
|
||||
value: viewedAt>=1704862818
|
||||
- name: librarySectionID
|
||||
description: |
|
||||
Filters the results based on the id of a valid library section
|
||||
@@ -51,9 +55,7 @@ get:
|
||||
schema:
|
||||
type: integer
|
||||
required: false
|
||||
examples:
|
||||
- 12
|
||||
- 31
|
||||
example: 12
|
||||
responses:
|
||||
"200":
|
||||
description: List of Plex Sessions
|
||||
|
||||
@@ -18,16 +18,13 @@ servers:
|
||||
variables:
|
||||
protocol:
|
||||
default: "http"
|
||||
description: The protocol to use when connecting to your plex server.
|
||||
enum:
|
||||
- "http"
|
||||
- "https"
|
||||
ip:
|
||||
default: "10.10.10.47"
|
||||
description: The Local IP Address of your plex server.
|
||||
port:
|
||||
default: "32400"
|
||||
description: The port to access your plex server.
|
||||
|
||||
x-speakeasy-globals:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user