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§
Functions§
- _add_
routes - get_
migration_ status_ by_ upstream_ id - GET
/api/v0/tmc-server/users-by-upstream-id/:id/statusRead-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. Unlikeget_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/:idEndpoint that TMC server uses to get user information by using its own ids.