Skip to content
Zeyphros edited this page Jun 5, 2018 · 16 revisions

TV Show listings

GET /shows/list/:sorting/:order

TV Show info

GET /series/:id/info

GET /series/:id/index

GET /series/:id/episodes

GET /series/:id/poster

Movie Listings

GET /movies/list/:sorting/:order

Movie info

GET /movie/:id/poster

Get the poster for the movie with the specifed ID

PUT /movie/:id/poster

THIS HAS NOT YET BEEN IMPLEMENTED

Upload a poster for the movie with the specifed ID

GET /movie/:id/fanart

Get fanart for the movie with the specifed ID

PUT /movie/:id/fanart

THIS HAS NOT YET BEEN IMPLEMENTED

Upload fanart for the movie with the specifed ID

GET /movie/:id/info

GET /movie/:id/play

Episode listings

GET /episodes/list/:sorting/:order

Episode Info

GET /episode/:id/banner

Get the banner for the episode with the specified ID

PUT /episode/:id/banner

THIS HAS NOT YET BEEN IMPLEMENTED

Manually upload a custom banner for an episode

GET /episode/:id/play

Steam a video file of the episode with the specified ID

GET /episode/:id/next

Returns an episode object of the next episode from the episode with id :id

User management

USER MANAGEMENT IS NOT YET IMPLEMENTED

GET /users

Retrieve a list of usernames along with their ids, emails, names and creation dates

GET /user/:username

Retrieve information about a single user including their username, email, name and creation date

DELETE /user/:username

Delete user with a given username

PUT /user

Request body must include:

{
   username: "hunter",
   password: "hunter12" // Will be stored hashed in the database. Can also be left clear to allow passwordless login
   email:    "[email protected]" // Unused for now. Will be used in the future
   name:     "Hunter"
}

miscellaneous

GET /watching

Returns a list of episode objects which have a progress of less then 90% but have been actively tracked before.

Clone this wiki locally