Skip to main content

Module users_by_upstream_id

Module users_by_upstream_id 

Source
Expand description

Handlers for HTTP requests to /api/v0/tmc-server/users-by-upstream-id.

These endpoints are used by the TMC server so that it can integrate with this system.

Structs§

UserMigrationStatusResponse

Functions§

_add_routes
get_migration_status_by_upstream_id
GET /api/v0/tmc-server/users-by-upstream-id/:id/status Read-only status check for the TMC server’s admin UI: does a courses.mooc.fi shadow user exist for this upstream id, and does it already have a password set. Unlike get_user_by_upstream_id, this never calls tmc.mooc.fi and never creates a user – it’s a plain read, safe to call on every admin page view.
get_user_by_upstream_id
GET /api/v0/tmc-server/users-by-upstream-id/:id Endpoint that TMC server uses to get user information by using its own ids.