mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 04:20:52 +00:00
refactor: update includeGuids parameter and restructure MediaContainer properties in YAML files
This commit is contained in:
@@ -6,15 +6,8 @@ get:
|
||||
This endpoint will return the top watched content from libraries of a certain type
|
||||
operationId: getTopWatchedContent
|
||||
parameters:
|
||||
- name: includeGuids
|
||||
in: query
|
||||
description: |
|
||||
Adds the Guids object to the response
|
||||
schema:
|
||||
type: integer
|
||||
required: false
|
||||
example: 1
|
||||
- $ref: "../../parameters/type.yaml"
|
||||
- $ref: "../../parameters/include-guids.yaml"
|
||||
responses:
|
||||
"200":
|
||||
description: The metadata of the library item.
|
||||
@@ -24,25 +17,14 @@ get:
|
||||
type: object
|
||||
properties:
|
||||
MediaContainer:
|
||||
type: object
|
||||
allOf:
|
||||
- $ref: "../../models/media-container/size.yaml"
|
||||
- $ref: "../../models/media-container/allow-sync.yaml"
|
||||
- $ref: "../../models/media-container/identifier.yaml"
|
||||
- $ref: "../../models/media-container/media-tag-prefix.yaml"
|
||||
- $ref: "../../models/media-container/media-tag-version.yaml"
|
||||
- type: object
|
||||
properties:
|
||||
size:
|
||||
type: integer
|
||||
format: int32
|
||||
example: 1
|
||||
allowSync:
|
||||
type: boolean
|
||||
example: true
|
||||
identifier:
|
||||
type: string
|
||||
example: com.plexapp.plugins.library
|
||||
mediaTagPrefix:
|
||||
type: string
|
||||
example: /system/bundle/media/flags/
|
||||
mediaTagVersion:
|
||||
type: integer
|
||||
format: int32
|
||||
example: 1698860922
|
||||
Metadata:
|
||||
type: array
|
||||
items:
|
||||
|
||||
Reference in New Issue
Block a user