Skip to content

Changelog

Games.

  • Games have endpoints of their own: GET /v1/games/library and /v1/games/library/{id}, PUT and DELETE /v1/games/library/{id} (status), PUT /v1/games/library/{id}/play (play time, progress, platforms, days), GET /v1/games/playthroughs, GET /v1/games/sessions (dated play history), GET /v1/ratings/games, PUT and DELETE /v1/ratings/games/{id}, GET /v1/lists/{id}/games, PUT and DELETE /v1/lists/{id}/games/{game_id}. See Games.
  • A playthrough’s platforms list each platform once, by catalogue key (PC once, whatever its ids), with the RMDB ids the play names.
  • GET /v1/search/{id_type}/{id} finds a game by its igdb, steam or rmdb id, with type=game.
  • GET /v1/changes?include=games adds game_library_item, game_playthrough, game_session and game_rating changes. Without include=games a game’s changes are skipped; before, some reached the feed as library_item or show_rewatch deletions of an id no other endpoint served.
  • GET /v1/stats adds a games block. watch_time is unchanged.
  • A game’s ids gains rmdb, the game’s id in Refract’s game catalogue, on the calendar’s games too.
  • No existing endpoint returns a game in data; the film and show endpoints answer 404 to a game’s id, as before.
  • Hiding games in the app’s display settings changes only the app: the API serves a member’s games either way. The calendar’s games array, empty until now while the member hid games, follows the same rule.

Planned games on the calendar.

  • GET /v1/calendar adds a games array: the games the member plans to play that come out in the window, each with its release day, to place as an all-day entry. data is unchanged and still holds only episodes.

Rewatches of episodes, seasons and shows.

  • GET /v1/history/rewatches: every time the member watched an episode, a season or a whole show again, with the day. The first watch of each episode stays in GET /v1/history/episodes.
  • POST /v1/history/rewatches: log an episode rewatch, with an Idempotency-Key. When the member is rewatching the show, the episode is ticked in that rewatch too. DELETE /v1/history/rewatches/{id} removes one.
  • show_rewatch changes in GET /v1/changes. See Writing data.

Finding titles by another service’s id.

  • GET /v1/search/{id_type}/{id}: the movie, show or episode a TMDB, TheTVDB or IMDb id names, with its ids.refract. Episodes by their own id, or by their show’s id with a season and a number in TMDB, TheTVDB or absolute numbering. See Finding titles.

Ratings, removals and lists.

  • PUT and DELETE /v1/ratings/shows/{id}, /v1/ratings/movies/{id}, /v1/ratings/episodes/{id}/{season}/{number}: rate and unrate.
  • DELETE /v1/watchlist/{id}, DELETE /v1/library/{id}: take a title off the watchlist, or remove it from the library with its history.
  • DELETE /v1/history/movies/{id}: remove a movie play.
  • POST /v1/lists, PATCH and DELETE /v1/lists/{id}: create, rename and delete lists.
  • PUT and DELETE /v1/lists/{id}/items/{item_id}, PUT /v1/lists/{id}/order: add, remove and reorder titles. See Writing data.

Up next, the calendar, stats, sync and the first writes.

  • GET /v1/up-next: the shows the member is watching, each with the episode they watch next.
  • GET /v1/calendar: episodes of the member’s shows by day, in their time zone, over up to 31 days.
  • GET /v1/stats: the numbers on the member’s profile: watch time, titles, episodes, streak.
  • GET /v1/changes/head and GET /v1/changes: a feed of changes to keep a copy in step, deletions included, and SYNC_RESET_REQUIRED when a full sync is needed. See Syncing and the reference client.
  • PUT /v1/library/{id}, PUT /v1/watchlist/{id}: set a title’s status, add to the watchlist.
  • PUT and DELETE /v1/history/episodes/{id}/{season}/{number}: mark an episode watched or not.
  • POST /v1/history/movies: log a movie play, with an Idempotency-Key. See Writing data.

v1, the first public reads.

  • GET /v1/me: the member, with avatar, locale, time zone and profile address.
  • GET /v1/library and GET /v1/library/{id}: the library, filtered by type, status, anime or rewatch, with episode progress and the rewatch in progress.
  • GET /v1/watchlist.
  • GET /v1/history/episodes and GET /v1/history/movies: watched episodes and movie plays, with the days they were watched.
  • GET /v1/ratings: ratings of shows, movies and episodes.
  • GET /v1/lists and GET /v1/lists/{id}/items: the member’s lists. Smart lists answer SMART_LIST_UNSUPPORTED for their titles.
  • Errors as RFC 9457 problem details, cursors, ETags, the IETF rate-limit headers, and the OpenAPI 3.1 document at /v1/openapi.json.