mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
added more endpoints
This commit is contained in:
11
referenced/paths/clients.yaml
Normal file
11
referenced/paths/clients.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
tags:
|
||||
- Clients
|
||||
summary: Get Available Clients
|
||||
description: Get Available Clients
|
||||
operationId: getAvailableClients
|
||||
responses:
|
||||
"200":
|
||||
description: Available Clients
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
12
referenced/paths/library-ondeck.yaml
Normal file
12
referenced/paths/library-ondeck.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
get:
|
||||
tags:
|
||||
- Library
|
||||
summary: Get On Deck
|
||||
description: |
|
||||
This endpoint will return the on deck content.
|
||||
operationId: getOnDeck
|
||||
responses:
|
||||
"200":
|
||||
description: The on deck content
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
19
referenced/paths/library-refresh.yaml
Normal file
19
referenced/paths/library-refresh.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
get:
|
||||
tags:
|
||||
- Library
|
||||
summary: Refresh Library
|
||||
description: |
|
||||
This endpoint Refreshes the library.
|
||||
operationId: refreshLibrary
|
||||
parameters:
|
||||
- name: sectionId
|
||||
description: the Id of the library to refresh
|
||||
in: path
|
||||
schema:
|
||||
type: number
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: The library is refreshing
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
11
referenced/paths/server-preferences.yaml
Normal file
11
referenced/paths/server-preferences.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
tags:
|
||||
- Server
|
||||
summary: Get Server Preferences
|
||||
description: Get Server Preferences
|
||||
operationId: getServerPreferences
|
||||
responses:
|
||||
"200":
|
||||
description: Server Preferences
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
11
referenced/paths/session-history.yaml
Normal file
11
referenced/paths/session-history.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
tags:
|
||||
- Sessions
|
||||
summary: Get Session History
|
||||
description: This will Retrieve a listing of all history views.
|
||||
operationId: getSessionHistory
|
||||
responses:
|
||||
"200":
|
||||
description: List of Plex Sessions
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
@@ -2,7 +2,7 @@ get:
|
||||
tags:
|
||||
- Sessions
|
||||
summary: Get Active Sessions
|
||||
description: Get Active Sessions
|
||||
description: This will retrieve the "Now Playing" Information of the PMS.
|
||||
operationId: getSessions
|
||||
responses:
|
||||
"200":
|
||||
|
||||
@@ -37,6 +37,8 @@ components:
|
||||
name: X-Plex-Token # name of the header, query parameter or cookie
|
||||
|
||||
paths:
|
||||
/clients:
|
||||
$ref: "./paths/clients.yaml"
|
||||
/:
|
||||
$ref: "./paths/root.yaml"
|
||||
/activities:
|
||||
@@ -63,6 +65,8 @@ paths:
|
||||
$ref: "./paths/security-resources.yaml"
|
||||
/library/sections/{sectionId}/all:
|
||||
$ref: "./paths/library-content-all.yaml"
|
||||
/library/sections/{sectionId}/refresh:
|
||||
$ref: "./paths/library-refresh.yaml"
|
||||
/library/sections/{sectionId}/latest:
|
||||
$ref: "./paths/library-content-latest.yaml"
|
||||
/library/sections/{sectionId}/common:
|
||||
@@ -73,6 +77,8 @@ paths:
|
||||
$ref: "./paths/all-libraries.yaml"
|
||||
/library/hashes:
|
||||
$ref: "./paths/library-hashes.yaml"
|
||||
/library/onDeck:
|
||||
$ref: "./paths/library-ondeck.yaml"
|
||||
/hubs:
|
||||
$ref: "./paths/hubs.yaml"
|
||||
/hubs/sections/{sectionId}:
|
||||
@@ -97,6 +103,10 @@ paths:
|
||||
$ref: "./paths/resources.yaml"
|
||||
/status/sessions:
|
||||
$ref: "./paths/sessions.yaml"
|
||||
/status/sessions/history/all:
|
||||
$ref: "./paths/session-history.yaml"
|
||||
/:/prefs:
|
||||
$ref: "./paths/server-preferences.yaml"
|
||||
|
||||
tags:
|
||||
- name: Activities
|
||||
|
||||
Reference in New Issue
Block a user