Library
Get Top Watched Content
Library
Get Top Watched Content
This endpoint will return the top watched content from libraries of a certain type
GET
{protocol}://{ip}:{port}
/
library
/
all
/
top
protocol
enum<string>
protocol
enum<string>
ip
string
ip
string
port
string
port
string
X-Plex-Token
string
*
X-Plex-Token
Required
string
Plex Authentication Token
type
enum<integer>
*
type
Required
enum<integer>
The type of media to retrieve. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
Add Example Value
includeGuids
integer
includeGuids
integer
Adds the Guids object to the response
Authorizations
Plex Authentication Token
Query Parameters
The type of media to retrieve. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
Available options:
1
, 2
, 3
, 4
Adds the Guids object to the response
Response
200 - application/json