latestSwagger 2.0Apache 2.02026-08-19151166415.3 KB

5c90e58bf672

coursev2

submit lesson practice for linear

every flashcard and practice will be submitted to this api

post/v2/lesson/practice

Headers

Authorizationstring required

With the bearer started, optional for guest

Request body

codestring

course code

idinteger

lesson id

learn_wordinteger[]

only for role play

msg_countinteger

only for role play

practicesobject[]

example: [{'word_id':bool}],the array sequence is the practice sequence, the key is practice question word id, and the value is the practice result that answer is correct or not.

word_idinteger

flashcard word id, reserve field, ignore it

Response

success, code is 0

codeinteger

0=success,only parse data when code=0

messagestring

tip message

Example response

{
  "message": "success"
}