Eine voting seite für falsch zugeordnete Zitate https://zitate.prapsschnalinen.de
Go to file
Gitea aca445bfdb rotate stamp 2022-10-18 19:50:04 +02:00
static/assets make card thinner, so it's easier to read 2021-03-06 12:48:48 +01:00
templates rotate stamp 2022-10-18 19:50:04 +02:00
.gitignore add pages that show individual quotes + link quotes from rss feed 2021-04-28 22:49:57 +02:00
README.md add min_score argument 2021-02-26 18:00:07 +01:00
addquotes.py add search parameter to /wrongquotes 2021-02-26 14:08:36 +01:00
api.py Merge branch 'master' of https://codeberg.org/ulpa/falsch-zugeordnete-zitate 2022-10-18 19:16:19 +02:00
check.py changes 2022-08-27 16:52:58 +02:00
db.py also pass args when overriding save method 2022-10-18 19:23:32 +02:00
dbmigration.py add witzig/nichtwitzig questions and score limit for a/b question. 2022-08-27 16:44:05 +02:00
filter_authors.py add witzig/nichtwitzig questions and score limit for a/b question. 2022-08-27 16:44:05 +02:00
init_important_files.py add python file to generate important files (to allow easy dev setup) 2021-04-30 21:27:36 +02:00
webvoting.py rotate stamp 2022-10-18 19:50:04 +02:00

README.md

Falschzugeordnete Zitate

https://zitate.prapsschnalinen.de

API

api/wrongquotes

Methode URI Parameter Beschreibung
GET /api/wrongquotes quote(id), author(id), simulate, no_text, sort[author, quote, score, random], search, count, min_score Falschzugeordnete Zitate bekommen
POST /api/wrongquotes quote(id), author(id) Ein neues Falschzugeordnetes Zitat erstellen
GET /api/wrongquotes/[id] Ein falschzugeordnetes Zitat bekommen
POST /api/wrongquotes/[id] vote Ein falschzugeordnetes Zitat bewerten
GET /api/wrongquotes/count Anzahl der falschzugeordneten Zitate bekommen
GET /api/wrongquotes/random min_rating, count Zufällige falschzugeordnete Zitate bekommen

api/quotes

Methode URI Parameter Beschreibung
GET /api/quotes author(id) Zitate bekommen
POST /api/quotes quote, author(id) Zitat erstellen
GET /api/quotes/[id] Ein Zitat bekoommen
GET /api/quotes/count Anzahl der Zitate bekommen

api/authors

Methode URI Parameter Beschreibung
GET /api/authors Alle Autoren bekommen
POST /api/authors author Autor erstellen
GET /api/authors/[id] Einen Autor bekommen
GET /api/authors/count Anzahl der Autoren bekommen