Skip to content
Discussion options

You must be logged in to vote

You cannot add the lesson from the bot or the app. The server can, but only through its API.

  • Bot: «🔄 Замены» offers only lessons a day already has; an empty Saturday gets «В этот день уроков нет — заменять нечего.» Editing Saturday in «🧩 Расписание» changes every Saturday.

  • App: the app enters no substitutions. The README now states this too (#466, fixed in #539).

  • API: a replacement with a subject, at a number the timetable leaves empty, adds a lesson to that date. Send one request per lesson, using an editor's device token. Get a token by pressing «📱 Подключить телефон» in the bot and redeeming the code with POST /api/v1/join. The device token is a credential; never post it.

    PUT /ap…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:bot for:admin Whoever keeps a class in the bot: members, the timetable, bells, homework, the school year
1 participant