Crear Ejercicio
POST /exercisesEndpoint generico de creacion. Valida el content para el type dado y
devuelve una version saneada (segura para mostrar al usuario final). El
motor no persiste el ejercicio — ver ADR 0001.
Tipos soportados hoy: drag_and_drop, match, word_search, crossword,
listening_multiple_choice. Los demas tipos no tienen paso de creacion —
se evaluan directamente con answer + correctAnswer.
Request
{ "type": "listening_multiple_choice", "content": { "...shape depende del type, ver /exercises/listening..." }, "metadata": { "difficulty": "easy", "tags": ["daily-life"], "language": "en" }}Respuestas
// 201 Created{ "id": "...", "type": "listening_multiple_choice", "group": "LISTENING", "subgroup": "MULTIPLE_CHOICE", "content": { "...saneado..." }, "metadata": { "...": "..." } }
// 400 Bad Request{ "message": "Exercise type \"open_answer\" is not supported for creation.", "error": "Bad Request", "statusCode": 400 }