Updating PMS Spec

This commit is contained in:
lukehagar
2024-08-24 11:39:33 +00:00
parent 4ef76fb43a
commit f9f9aa9a32

View File

@@ -8883,7 +8883,9 @@ paths:
description: Unknown description: Unknown
format: date-time format: date-time
anonymous: anonymous:
type: boolean type:
- boolean
- 'null'
description: Unknown description: Unknown
default: false default: false
authToken: authToken:
@@ -8970,7 +8972,7 @@ paths:
mailingListStatus: mailingListStatus:
description: Your current mailing list status description: Your current mailing list status
enum: enum:
- subscribed - active
- unsubscribed - unsubscribed
maxHomeSize: maxHomeSize:
type: integer type: integer
@@ -8982,10 +8984,11 @@ paths:
description: '[Might be removed] The hashed Plex Home PIN ' description: '[Might be removed] The hashed Plex Home PIN '
deprecated: true deprecated: true
profile: profile:
type: array
items:
title: UserProfile title: UserProfile
type: object type: object
required:
- defaultAudioLanguage
- defaultSubtitleLanguage
properties: properties:
autoSelectAudio: autoSelectAudio:
type: boolean type: boolean
@@ -8993,29 +8996,44 @@ paths:
default: true default: true
description: If the account has automatically select audio and subtitle tracks enabled description: If the account has automatically select audio and subtitle tracks enabled
defaultAudioLanguage: defaultAudioLanguage:
type: string type:
- string
- 'null'
example: ja example: ja
description: The preferred audio language for the account description: The preferred audio language for the account
defaultSubtitleLanguage: defaultSubtitleLanguage:
type: string type:
- string
- 'null'
example: en example: en
description: The preferred subtitle language for the account description: The preferred subtitle language for the account
autoSelectSubtitle: autoSelectSubtitle:
type: integer
example: 1 example: 1
description: 'The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)' description: 'The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)'
enum:
- 0
- 1
defaultSubtitleAccessibility: defaultSubtitleAccessibility:
type: integer enum:
- 0
- 1
example: 1 example: 1
description: 'The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)' description: 'The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)'
defaultSubtitleForced: defaultSubtitleForced:
type: integer enum:
- 0
- 1
example: 0 example: 0
description: 'The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)' description: 'The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)'
watchedIndicator: watchedIndicator:
type: integer enum:
- 0
- 1
example: 1 example: 1
mediaReviewsVisibility: mediaReviewsVisibility:
enum:
- 0
- 1
type: integer type: integer
example: 0 example: 0
protected: protected:
@@ -9146,9 +9164,10 @@ paths:
example: true example: true
subscribedAt: subscribedAt:
description: Date the account subscribed to Plex Pass description: Date the account subscribed to Plex Pass
type: string type:
- string
- 'null'
example: '2021-04-12T18:21:12Z' example: '2021-04-12T18:21:12Z'
format: date-time
status: status:
description: String representation of subscriptionActive description: String representation of subscriptionActive
example: Inactive example: Inactive
@@ -9246,9 +9265,10 @@ paths:
example: true example: true
subscribedAt: subscribedAt:
description: Date the account subscribed to Plex Pass description: Date the account subscribed to Plex Pass
type: string type:
- string
- 'null'
example: '2021-04-12T18:21:12Z' example: '2021-04-12T18:21:12Z'
format: date-time
status: status:
description: String representation of subscriptionActive description: String representation of subscriptionActive
example: Inactive example: Inactive
@@ -9318,7 +9338,7 @@ paths:
- User - User
summary: Get User SignIn Data summary: Get User SignIn Data
description: Sign in user with username and password and return user data with Plex authentication token description: Sign in user with username and password and return user data with Plex authentication token
operationId: post-users-signin-data operationId: post-sign-in
parameters: parameters:
- name: X-Plex-Client-Identifier - name: X-Plex-Client-Identifier
description: | description: |
@@ -9507,7 +9527,9 @@ paths:
description: Unknown description: Unknown
format: date-time format: date-time
anonymous: anonymous:
type: boolean type:
- boolean
- 'null'
description: Unknown description: Unknown
default: false default: false
authToken: authToken:
@@ -9594,7 +9616,7 @@ paths:
mailingListStatus: mailingListStatus:
description: Your current mailing list status description: Your current mailing list status
enum: enum:
- subscribed - active
- unsubscribed - unsubscribed
maxHomeSize: maxHomeSize:
type: integer type: integer
@@ -9606,10 +9628,11 @@ paths:
description: '[Might be removed] The hashed Plex Home PIN ' description: '[Might be removed] The hashed Plex Home PIN '
deprecated: true deprecated: true
profile: profile:
type: array
items:
title: UserProfile title: UserProfile
type: object type: object
required:
- defaultAudioLanguage
- defaultSubtitleLanguage
properties: properties:
autoSelectAudio: autoSelectAudio:
type: boolean type: boolean
@@ -9617,29 +9640,44 @@ paths:
default: true default: true
description: If the account has automatically select audio and subtitle tracks enabled description: If the account has automatically select audio and subtitle tracks enabled
defaultAudioLanguage: defaultAudioLanguage:
type: string type:
- string
- 'null'
example: ja example: ja
description: The preferred audio language for the account description: The preferred audio language for the account
defaultSubtitleLanguage: defaultSubtitleLanguage:
type: string type:
- string
- 'null'
example: en example: en
description: The preferred subtitle language for the account description: The preferred subtitle language for the account
autoSelectSubtitle: autoSelectSubtitle:
type: integer
example: 1 example: 1
description: 'The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)' description: 'The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)'
enum:
- 0
- 1
defaultSubtitleAccessibility: defaultSubtitleAccessibility:
type: integer enum:
- 0
- 1
example: 1 example: 1
description: 'The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)' description: 'The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)'
defaultSubtitleForced: defaultSubtitleForced:
type: integer enum:
- 0
- 1
example: 0 example: 0
description: 'The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)' description: 'The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)'
watchedIndicator: watchedIndicator:
type: integer enum:
- 0
- 1
example: 1 example: 1
mediaReviewsVisibility: mediaReviewsVisibility:
enum:
- 0
- 1
type: integer type: integer
example: 0 example: 0
protected: protected:
@@ -9770,9 +9808,10 @@ paths:
example: true example: true
subscribedAt: subscribedAt:
description: Date the account subscribed to Plex Pass description: Date the account subscribed to Plex Pass
type: string type:
- string
- 'null'
example: '2021-04-12T18:21:12Z' example: '2021-04-12T18:21:12Z'
format: date-time
status: status:
description: String representation of subscriptionActive description: String representation of subscriptionActive
example: Inactive example: Inactive
@@ -9870,9 +9909,10 @@ paths:
example: true example: true
subscribedAt: subscribedAt:
description: Date the account subscribed to Plex Pass description: Date the account subscribed to Plex Pass
type: string type:
- string
- 'null'
example: '2021-04-12T18:21:12Z' example: '2021-04-12T18:21:12Z'
format: date-time
status: status:
description: String representation of subscriptionActive description: String representation of subscriptionActive
example: Inactive example: Inactive
@@ -9998,8 +10038,6 @@ paths:
enum: enum:
- ended - ended
billing: billing:
type: array
items:
type: object type: object
required: required:
- internalPaymentMethod - internalPaymentMethod