-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Readme, allowed headers for /media endpoint
Self-explainatory
- Loading branch information
Showing
2 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
# Stats.bundle | ||
|
||
Get stats...and stuff. IDK. | ||
Get stats...and stuff. IDK. | ||
|
||
# Endpoints: | ||
|
||
server/stats/ENDPOINT?X-Plex-Token=XXXXXX | ||
|
||
Where ENDPOINT is one of | ||
stats/user | ||
stats/director | ||
stats/writer | ||
stats/genre | ||
stats/actor | ||
stats/all | ||
|
||
Every endpoint accepts an X-Plex-Limit parameter in the query | ||
|
||
And stats/user accepts any one of these (as X-Plex-...) | ||
"Type", "Userid", "Username", "Limit", "Device", "Title" | ||
|
||
"Type" can be any of movie/show/album/track/episode | ||
|
||
This is under development, so refer to Contents\Code\__init__.py for | ||
the most up-to-date list of endpoints and accepted headers for each |