Set the fields of the filtered items
This endpoint takes an large possible set of values. Here are some examples.
-
Parameters, extra documentation
- artist.title.value
- When used with track, both artist.title.value and album.title.value need to be specified
- title.value usage
- Summary
- Tracks always rename and never merge
- Albums and Artists
- if single item and item without title does not exist, it is renamed.
- if single item and item with title does exist they are merged.
- if multiple they are always merged.
- Tracks
- Works as expected will update the track’s title
- Single track:
/library/sections/{id}/all?type=10&id=42&title.value=NewName - Multiple tracks:
/library/sections/{id}/all?type=10&id=42,43,44&title.value=NewName - All tracks:
/library/sections/{id}/all?type=10&title.value=NewName
- Albums
- Functionality changes depending on the existence of an album with the same title
- Album exists
- Single album:
/library/sections/{id}/all?type=9&id=42&title.value=Album 2- Album with id 42 is merged into album titled “Album 2”
- Multiple/All albums:
/library/sections/{id}/all?type=9&title.value=Moo Album- All albums are merged into the existing album titled “Moo Album”
- Single album:
- Album does not exist
- Single album:
/library/sections/{id}/all?type=9&id=42&title.value=NewAlbumTitle- Album with id 42 has title modified to “NewAlbumTitle”
- Multiple/All albums:
/library/sections/{id}/all?type=9&title.value=NewAlbumTitle- All albums are merged into a new album with title=“NewAlbumTitle”
- Single album:
- Artists
- Functionaly changes depending on the existence of an artist with the same title.
- Artist exists
- Single artist:
/library/sections/{id}/all?type=8&id=42&title.value=Artist 2- Artist with id 42 is merged into existing artist titled “Artist 2”
- Multiple/All artists:
/library/sections/{id}/all?type=8&title.value=Artist 3- All artists are merged into the existing artist titled “Artist 3”
- Single artist:
- Artist does not exist
- Single artist:
/library/sections/{id}/all?type=8&id=42&title.value=NewArtistTitle- Artist with id 42 has title modified to “NewArtistTitle”
- Multiple/All artists:
/library/sections/{id}/all?type=8&title.value=NewArtistTitle- All artists are merged into a new artist with title=“NewArtistTitle”
- Single artist:
- Summary
- artist.title.value
-
Notes
- Technically square brackets are not allowed in an URI except the Internet Protocol Literal Address
- RFC3513: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets (”[” and ”]”). This is the only place where square bracket characters are allowed in the URI syntax.
- Escaped square brackets are allowed, but don’t render well
Documentation Index
Fetch the complete documentation index at: https://plexapi.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The token which identifies the user accessing the PMS. This can be either:
- A traditional access token obtained from plex.tv
- A JWT token obtained through the JWT authentication flow
JWT tokens provide better security with:
- Short-lived tokens (7 days expiration)
- Public-key cryptography (ED25519)
- Better clock synchronization
- Individual device revocation capability
Headers
Indicates the client accepts the indicated media types
application/json, application/xml An opaque identifier unique to the client
"abc123"
The name of the client product
"Plex for Roku"
The version of the client application
"2.4.1"
The platform of the client
"Roku"
The version of the platform
"4.3 build 1057"
A relatively friendly name for the client device
"Roku 3"
A potentially less friendly identifier for the device model
"4200X"
The device vendor
"Roku"
A friendly name for the client
"Living Room TV"
The marketplace on which the client application is distributed
"googlePlay"
Path Parameters
The id of the section
Query Parameters
The filters to apply to determine which items should be modified
Set the specified field to a new value
Set the specified field to locked (or unlocked if set to 0)
0, 1 1
This field is treated specially by albums or artists and may be used for implicit reparenting.
Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
Creates tag and associates it with each item in the set. - [idx] links this and the next parameters together
Here object may be text/thumb/art/theme - Optionally used in conjunction with tag.tag, to update association info across the set.
Remove comma separated tags from the set of items
Remove associations of this type (e.g. genre) from the set of items
Response
OK