Education
Api Learning Progress Migrate
Import a user's localStorage mastery into PG with source='client_migrated'.
Request body: {"modules": {"mod-id": {score, passed, attempts, hintUsed?, timeSpent?}, ...}}
Writes each module via ON CONFLICT DO NOTHING (not UPDATE) — we never want to overwrite an existing server_graded row. Returns a count of {inserted, skipped} so the client can decide whether to suppress the legacy-local banner.
post/api/learning/progress/migrate
Request
- Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
- URL: https://www.oxfordledge.com/api/learning/progress/migrate
- Auth: none declared
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.