Skip to content

Releases: beeequeue/arm-server

2024-06-18: Removing TheMovieDB and IMDB from `/api/v2/ids`, and more

18 Jun 00:44
2024-06-18
efe51f9
Compare
Choose a tag to compare
  • Removed the themoviedb and imdb query parameters and JSON body options from /api/v2/ids
  • Added two new endpoints: /api/v2/imdb, and /api/v2/themoviedb
    • These work the same way as TheTVDB querying, check out the docs for more details

Option removals and new endpoints

These endpoints exist for the same reason that the TheTVDB does: they store entire shows as entries instead of the usual seasons that all anime sites use.

This means that many of their IDs map to multiple IDs for other services, for example imdb:tt5370118 (Konosuba) has 5 entries in other sites.

These one-to-many relations would break the API endpoint and did cause issues with inserting entries into the database. This is why this breaking change is applied to the existing endpoint and not to a new major version.

2023-01-04 - `v2` API

04 Jan 18:16
Compare
Choose a tag to compare

/api/v2/*

All endpoints under /v2 have a new query parameter: include

It's a comma-separated list of Sources to return from the database, if you want to save a teeny amount of bandwidth.

e.g. include=anilist,anidb,kitsu

GET/POST /api/v2/ids

Works just like before, except:

  • Can query with and get back the new Sources
  • Except for querying with thetvdb - see below for more details

GET /api/v2/thetvdb?id={number}

This endpoint exists for one reason: TheTVDB stores entire shows as entries instead of the usual seasons that all anime sites use.

This means that many TheTVDB ID maps to multiple IDs in for other services, for example thetvdb:70799 (Beyblade) has 8(!) entries in other sites.

The one-to-many relation would break the old API endpoint, so you'll have to use this one if you want to query by thetvdb.

The new sources are:

  • Anime-Planet (anime-planet)
  • aniSearch (anisearch)
  • IMDB (imdb)
  • LiveChart (livechart)
  • notify.moe (notify-moe)
  • TheMovieDB (themoviedb)
  • TheTVDB (thetvdb)

2021-06-09 - Refactor To Fastify

09 Jun 14:44
2a76a6e
Compare
Choose a tag to compare

Refactored the server to use Fastify rather than Koa.

There should have been no breaking changes if you're using the service as the API describes it.

Let me know if anything is bonkers!

2021-06-02 - Deprecations

07 Jun 17:36
5ef3caa
Compare
Choose a tag to compare

Invalid HTTP requests have been deprecated.

They will have a 33% chance to respond with a 400, with a message detailing this deprecation.

i.e:

  • Sending JSON bodies in GET requests
  • Sending query parameters in POST requests