mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
Adjusting tags, added Plex.tv endpoints
This commit is contained in:
33
referenced/paths/plex.tv/home.yaml
Normal file
33
referenced/paths/plex.tv/home.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
get:
|
||||
tags:
|
||||
- Plex.tv
|
||||
summary: Get Home Data
|
||||
description: Get Home Data
|
||||
operationId: getHomeData
|
||||
responses:
|
||||
"200":
|
||||
description: Home Data
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: number
|
||||
example: 1841489
|
||||
name:
|
||||
type: string
|
||||
example: Blindkitty38's home
|
||||
guestUserID:
|
||||
type: number
|
||||
example: 58815432
|
||||
guestUserUUID:
|
||||
type: string
|
||||
example: f3df4e01bfca0787
|
||||
guestEnabled:
|
||||
type: boolean
|
||||
subscription:
|
||||
type: boolean
|
||||
|
||||
"401":
|
||||
$ref: "../../responses/401.yaml"
|
||||
@@ -1,5 +1,6 @@
|
||||
get:
|
||||
tags:
|
||||
- Plex.tv
|
||||
- Authentication
|
||||
summary: Get Access Token
|
||||
operationId: getToken
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
post:
|
||||
tags:
|
||||
- Plex.tv
|
||||
- Authentication
|
||||
summary: Get a Pin
|
||||
operationId: getPin
|
||||
|
||||
39
referenced/paths/plex.tv/privacy.yaml
Normal file
39
referenced/paths/plex.tv/privacy.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
get:
|
||||
tags:
|
||||
- Plex.tv
|
||||
- Privacy
|
||||
summary: Get Privacy Data
|
||||
description: Get Privacy Data
|
||||
operationId: getPrivacyData
|
||||
responses:
|
||||
"200":
|
||||
description: Privacy Data
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
optOutPlayback:
|
||||
type: boolean
|
||||
optOutLibraryStats:
|
||||
type: boolean
|
||||
domain:
|
||||
type: string
|
||||
example: analytics.plex.tv
|
||||
baseUrl:
|
||||
type: string
|
||||
example: https://analytics.plex.tv
|
||||
metrics:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
event:
|
||||
type: string
|
||||
example: cameraupload:batch
|
||||
status:
|
||||
type: string
|
||||
example: identifiable
|
||||
|
||||
"401":
|
||||
$ref: "../../responses/401.yaml"
|
||||
@@ -1,5 +1,6 @@
|
||||
get:
|
||||
tags:
|
||||
- Plex.tv
|
||||
- Devices
|
||||
summary: Get Devices
|
||||
description: Get Devices
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
get:
|
||||
tags:
|
||||
- Plex.tv
|
||||
- User
|
||||
summary: Get Logged in User
|
||||
description: Get Logged in User
|
||||
|
||||
@@ -190,6 +190,10 @@ paths:
|
||||
$ref: "./paths/pms/updater-apply.yaml"
|
||||
|
||||
# Plex.tv API endpoints
|
||||
/home:
|
||||
servers:
|
||||
- url: https://plex.tv/api/v2
|
||||
$ref: "./paths/plex.tv/home.yaml"
|
||||
/pins:
|
||||
servers:
|
||||
- url: https://plex.tv/api/v2
|
||||
|
||||
Reference in New Issue
Block a user