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
Authorizations
X-Plex-Token
string
headerrequiredPlex Authentication Token
Query Parameters
type
enum<integer>
requiredThe 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
includeGuids
integer
Adds the Guids object to the response
Response
200 - application/json
MediaContainer
object