mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 04:20:46 +00:00
Apply automatic changes
This commit is contained in:
committed by
github-actions[bot]
parent
ed45bbf686
commit
3a605595dd
@@ -839,6 +839,40 @@ paths:
|
||||
description: The playlist contents are cleared
|
||||
'401':
|
||||
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
put:
|
||||
tags:
|
||||
- Playlists
|
||||
summary: Adding to a Playlist
|
||||
description: |
|
||||
Adds a generator to a playlist, same parameters as the POST above. With a dumb playlist, this adds the specified items to the playlist.
|
||||
With a smart playlist, passing a new `uri` parameter replaces the rules for the playlist. Returns the playlist.
|
||||
operationId: clearPlaylistContent
|
||||
parameters:
|
||||
- name: playlistID
|
||||
description: the ID of the playlist
|
||||
in: path
|
||||
schema:
|
||||
type: number
|
||||
required: true
|
||||
- name: uri
|
||||
description: the content URI for the playlist
|
||||
in: query
|
||||
schema:
|
||||
type: string
|
||||
example: 'library://..'
|
||||
required: true
|
||||
- name: playQueueID
|
||||
description: the play queue to add to a playlist
|
||||
in: query
|
||||
schema:
|
||||
type: number
|
||||
example: 123
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
description: Playlist Updated
|
||||
'401':
|
||||
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
/playlists/upload:
|
||||
post:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user