Skip to main content

Module controllers

Module controllers 

Source
Expand description

Handlers for HTTP requests to /api/v0.

This documents all endpoints. Select a module below for a namespace.

Modules§

auth
Handlers for HTTP requests to /api/v0/auth.
cms
Handlers for HTTP requests to /api/v0/cms.
course_material
Handlers for HTTP requests to /api/v0/course-material.
errors
exercise_services
files
Handlers for HTTP requests to /api/v0/files.
health
Handlers for HTTP requests to /api/v0/health.
helpers
main_frontend
Handlers for HTTP requests to /api/v0/main_frontend.
mock_azure
mock_document_storage
mock_sisu
mock_suotar
Mock Suotar: a stand-in for the University of Helsinki Suotar API, and the test/dev control surface around it.
other_domain_redirects
Handlers for HTTP requests to /api/v0/other-domain-redirects.
study_registry
Handlers for HTTP requests to /api/v0/study-registry.
tmc_server
Handlers for HTTP requests to /api/v0/tmc-server.
well_known
Handlers for /.well-known at the server root, where OAuth clients look for metadata.

Structs§

UploadResult
Result of a image upload. Tells where the uploaded image can be retrieved from.

Functions§

configure_controllers
Add controllers from all the submodules.
mcp_rate_limits 🔒
The MCP server’s limits, per grant and per user. A user’s grants together get twice what one grant does, so one runaway agent cannot use up the quota of the user’s other agent.
not_found 🔒