Go to file
2021-06-09 12:44:14 +00:00
migrations Initial commit 2021-06-09 11:53:04 +02:00
src Initial commit 2021-06-09 11:53:04 +02:00
.gitignore Initial commit 2021-06-09 11:53:04 +02:00
.gitlab-ci.yml Update .gitlab-ci.yml file to fix mismatched tabulation causing bad parent: artifact child of cache 2021-06-09 12:31:13 +00:00
Cargo.lock Initial commit 2021-06-09 11:53:04 +02:00
Cargo.toml Initial commit 2021-06-09 11:53:04 +02:00
diesel.toml Initial commit 2021-06-09 11:53:04 +02:00
Dockerfile added Dockerfile to build project 2021-06-09 14:18:46 +02:00
LICENSE Add LICENSE 2021-06-09 12:32:44 +00:00
README.md Add README.md 2021-06-09 12:44:14 +00:00

MovieQuoteBot API

A simple API written in Rust for MovieQuoteBot that returns JSON data via HTTP.

This API is in an unstable state: it will surely change a lot.

Endpoints

V1

List subtitles

You can use /v1/subtitles/list to list subtitles stored in database:

Structure
  • subtitles: all subtitles stored in database
  • films: the films associated with these subtitles, linked by their id: subtitles.film_id -> films.id
  • languages: the languages associated with these subtitles, linked by their id: subtitles.language_id -> languages.id

The time is represented using the UTC Timezone.

The data Structures are like this image describing the data Structures in MoviesQuoteBot's database, except the user ids that have been redacted and removed from the API.