Repository navigation
The API has homework and event routes. Why can't the app add homework? #596
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
docs/api.md documents |
Answered by
lumenpearson
Oct 17, 2026
Replies: 1 comment
|
#466 is fixed in #539: the README now distinguishes the API's write routes from the screens the app actually has. The server accepts these writes, but the app has no screens for them yet; docs/architecture.md says only "The app does not make those calls yet" and records no decision against them.
More: https://github.com/lumenpearson/lessons/blob/main/docs/api.md#writing-class-data and https://github.com/lumenpearson/lessons/blob/main/docs/guide.md#linking-the-phone-to-telegram. Discussion #454 lists what a phone may do. |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#466 is fixed in #539: the README now distinguishes the API's write routes from the screens the app actually has.
The server accepts these writes, but the app has no screens for them yet; docs/architecture.md says only "The app does not make those calls yet" and records no decision against them.
PUT /api/v1/homework,/overrides,/eventsand/days; v2 hasHomeworkService,EventService,SubstitutionServiceandDayService. Both are open to a linked phone whose account is an editor or above, and the server checks the role on every request. Both run over the sameservices/as the bot: the same upsert rules, journal line and notices to subscribers.