Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vytvorit endpoint (API) na ziskanie celkoveho hodnotenia predmetov #256

Open
Adman opened this issue Jan 30, 2019 · 2 comments · May be fixed by #283
Open

Vytvorit endpoint (API) na ziskanie celkoveho hodnotenia predmetov #256

Adman opened this issue Jan 30, 2019 · 2 comments · May be fixed by #283

Comments

@Adman
Copy link
Member

Adman commented Jan 30, 2019

Ludia chcu do svojich aplikacii ziskat celkove hodnotenie predmetov. Aby si nemuseli stale updatovat databazu na najnovsie data, stacilo by im poskytnut api, ktore by vracalo vysledky.
Query:

select code,name,slug,season_id,score from Subject,AnswerSummary,Question where AnswerSummary.subject_id=Subject.id and AnswerSummary.question_id=Question.id and isSubjectEvaluation=1;
@j-matus
Copy link

j-matus commented Jun 29, 2020

@Adman Skusal som to implementovat ale pri testovani bol nejaky problem s autorizaciou. Funguje existujuci endpoint /api/v1/results/ korektne? (CC @mrshu )

@Adman
Copy link
Member Author

Adman commented Jun 29, 2020

@j-matus Neviem, ci funguje korektne, ale vyzera, ze by mohol byt na /api/api/v1/results/. Ked prejdem na ten link, tak dostavam internal server error. Chce sa ti pozriet, preco tam nastava ten server error a potom dorobit tento endpoint?

j-matus pushed a commit to j-matus/anketa that referenced this issue Jun 30, 2020
Vytvor API endpoint, ktory vracia pre kazdy predmet za kazdy semester
jeho hodnotenie. Closes fmfi-svt#256
@j-matus j-matus linked a pull request Jun 30, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants