forked from pushingkarmaorg/python-plexapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Unofficial Plex API Documentation
Michael Shepanski edited this page Jun 9, 2015
·
49 revisions
Thought this would be a good place to document the various API features I have found when writing this API to help others out. So without further adieu lets, begin.
Some APIs require more parameters than others. Most all API calls require X-Plex-Token to be set in either the GET or POST arguments. You can get the token from the sign_in URL below.
- my.plexapp.com/users/sign_in.xml - Sign into Plex; Get an Auth Token.
- plex.tv/api/resources?includeHttps=1 - List Plex resources we can connect to.
- / - API Root, show details of the server, who is logged in, etc.
- /myplex/account - Display myPlex account details.
- /status/sessions - List currently playing items.
- /clients - List connected clients.
- /search - Search for a title in all libraries.
- /library - Root library API, not much going on here.
- /library/all - List items in all library sections.
- /library/onDeck - List on deck items in all library sections.
- /library/recentlyAdded - List recently added items in all library sections.
- /library/clean/bundles - Clean library bundles (maintenance task).
- /library/optimize - Optimize library items (maintenance task).
- /library/sections/all/refresh - Refresh all library items.
- /library/sections - List all library sections (note the section keys).
- /library/sections/<key>/all - List items in a section.
- /library/sections/<key>/newest - List newest items in a section.
- /library/sections/<key>/onDeck - List on deck items in a section.
- /library/sections/<key>/recentlyAdded - List recently added items in a section.
- /library/sections/<key>/recentlyViewed - List recently viewed items in a section.
- /library/sections/<key>/unwatched - List unwatched items in a section.
- /library/sections/<key>/contentRating - List items by content rating.
- /library/sections/<key>/firstCharacter - List items by first character.
- /library/sections/<key>/genre - List items by genre.
- /library/sections/<key>/year - List items by year.
- /library/sections/<key>/analyze - Analyze library section.
- /library/sections/<key>/emptyTrash - Empty Trash.
- /library/sections/<key>/refresh - Refresh items in section.
- /library/sections/<key>/actor - List items by actor.
- /library/sections/<key>/country - List items by country.
- /library/sections/<key>/decade - List items by decade.
- /library/sections/<key>/director - List items by director.
- /library/sections/<key>/rating - List items by rating.
- /library/sections/<key>/resolution - List items by resolution.
- /library/sections/<key>/recentlyViewedShows - List recently viewed shows.
- /<key>/analyze - Analyze a video.
- /video/:/transcode/universal/start - Start streaming video.
- /:/scrobble - Mark video watched.
- /:/unscrobble - Mark video unwatched.
- /library/metadata/<ratingKey>/children - List children.
- /library/metadata/<ratingKey>/allLeaves - List all episodes.
- /library/metadata/<ratingKey>/refresh - Refresh library.
- /system/players/navigation/moveUp/<path> - Nav Up
- /system/players/navigation/moveDown/<path> - Nav Down
- /system/players/navigation/moveLeft/<path> - Nav Left
- /system/players/navigation/moveRight/<path> - Nav Right
- /system/players/navigation/pageUp/<path> - Page Up
- /system/players/navigation/pageDown/<path> - Page Down
- /system/players/navigation/nextLetter/<path> - Next Letter
- /system/players/navigation/previousLetter/<path> - Prev Letter
- /system/players/navigation/select/<path> - Select
- /system/players/navigation/back/<path> - Back
- /system/players/navigation/contextMenu/<path> - Context Menu
- /system/players/navigation/toggleOSD/<path> - Toggle OSD
- /system/players/playback/play/<path> - Play
- /system/players/playback/pause/<path> - Pause
- /system/players/playback/stop/<path> - Stop
- /system/players/playback/stepForward/<path> - Step Forward
- /system/players/playback/bigStepForward/<path> - Big Step Forward
- /system/players/playback/stepBack/<path> - Step Back
- /system/players/playback/bigStepBack/<path> - Big Step Back
- /system/players/playback/skipNext/<path> - Skip Next
- /system/players/playback/skipPrevious/<path> - Skip Prev
- /system/players/playback/playMedia/<path> - Play Media
- /system/players/timeline/poll - ???