Покрытие (10 сценариев): - pronunciation_pool_stress — утечка пула - hints_db_increment — списание подсказок - game_complete_level_full_flow — идемпотентность + score - wordquiz_correct_answer — total_score растёт - wordquiz_wrong_answer — current_mistakes растёт - bubblewords_complete_flow — levels + score - sentences_check_wrong — неверный ответ не начисляет - typing_progress_flow — typing_progress записан - users_set_language — app_language меняется - achievements_track_login — daily_logins растёт Результат: 10/10 PASSED за 0.79s. Робот подтверждает: большинство находок AI-ревью по этим разделам — галлюцинации. Инвентаризация: - scripts/dump_inventory.py — собирает эндпоинты + схему - endpoints_inventory.md — 105 эндпоинтов - database_schema.md — 40 таблиц
4.2 KiB
4.2 KiB
🛣 Все эндпоинты проекта
achievements.py
Префикс: /achievements
GET /achievements/userPOST /achievements/track-loginPOST /achievements/track-teacher-menuPOST /achievements/track-progressPOST /achievements/track-cheatsheetsPOST /achievements/track-pronunciationPOST /achievements/track-ai-assistantPOST /achievements/track-alphabetPOST /achievements/track-rules
admin.py
Префикс: /admin
GET /admin/dashboardGET /admin/sentry-errors
admin_content.py
Префикс: /admin/content
GET /admin/content/summaryGET /admin/content/words/levelsGET /admin/content/words/level/{level}GET /admin/content/words/word/{word_id}PUT /admin/content/words/word/{word_id}POST /admin/content/words/level/{level}GET /admin/content/texts/levelsGET /admin/content/texts/level/{level}GET /admin/content/texts/text/{text_id}PUT /admin/content/texts/text/{text_id}POST /admin/content/texts/level/{level}GET /admin/content/lessons/levelsGET /admin/content/lessons/level/{level}/topicsGET /admin/content/lessons/topic/{topic_id}GET /admin/content/lessons/lesson/{lesson_id}PUT /admin/content/lessons/lesson/{lesson_id}GET /admin/content/wrong-because
assistant.py
Префикс: /assistant
POST /assistant/chatPOST /assistant/save-analyticsGET /assistant/stats/personalGET /assistant/stats/adminGET /assistant/limitGET /assistant/historyPOST /assistant/history/clear
bubblewords.py
Префикс: /bubblewords
GET /bubblewords/nextPOST /bubblewords/completeGET /bubblewords/progress
feed.py
Префикс: ``
GET /feed/{section}GET /feed/post/{post_id}POST /admin/feed/postPUT /admin/feed/post/{post_id}POST /admin/feed/post/{post_id}/deletePOST /admin/feed/upload-imagePOST /admin/feed/translate
game.py
Префикс: /game
GET /game/progressGET /game/level/{level_number}POST /game/check-wordPOST /game/complete-level
hints.py
Префикс: /hints
GET /hints/first-letter/{level_id}GET /hints/word-list/{level_id}GET /hints/remaining/{level_id}
leaderboard.py
Префикс: /leaderboard
GET /leaderboard/admin/statsGET /leaderboard/top
learning.py
Префикс: /learning
GET /learning/levelsGET /learning/topicsGET /learning/topics/{topic_id}GET /learning/lessons/{lesson_id}GET /learning/test/{topic_id}POST /learning/session/startPOST /learning/answerPOST /learning/session/completeGET /learning/progressPOST /learning/analyticsGET /learning/ai/contextPOST /learning/practice/start
pronunciation.py
Префикс: /pronunciation
GET /pronunciation/next
sentences.py
Префикс: /sentences
GET /sentences/{sentence_id}/hintGET /sentences/nextPOST /sentences/checkGET /sentences/stats
support.py
Префикс: /support
POST /support/sendGET /support/user-ticketsGET /support/user-messages/{ticket_id}GET /support/user-unread-countPOST /support/delete-ticket/{ticket_id}GET /support/admin-ticketsGET /support/admin-messages/{ticket_id}POST /support/admin-replyGET /support/unread-countPOST /support/translate
teacher.py
Префикс: /teacher
GET /teacher/phrase-of-dayPOST /teacher/resumePOST /teacher/startPOST /teacher/answerPOST /teacher/explainPOST /teacher/examplesPOST /teacher/free-messagePOST /teacher/diagnostic-testPOST /teacher/translate-to-polishGET /teacher/progressPOST /teacher/history/saveGET /teacher/history/loadPOST /teacher/history/clear
typing.py
Префикс: /typing
GET /typing/nextPOST /typing/checkGET /typing/hint/{sentence_id}GET /typing/progress
users.py
Префикс: /users
POST /users/registerGET /users/me/is-adminPOST /users/set-languagePOST /users/set-level
wordquiz.py
Префикс: /wordquiz
GET /wordquiz/nextPOST /wordquiz/checkGET /wordquiz/progress