Skip to content

JLM Server requests

chmod0 edited this page Apr 25, 2012 · 24 revisions

Definition of the JLM Server different requests, sent in JSON

StudentServlet (/student)

The user executed an exercise:

  • username = username
  • course = course id
  • exoname = exo name
  • exolang = exo language
  • passedtests = number of passed tests
  • totaltests = total number of tests
  • action = executed

The user launched JLM

  • username = username
  • action = join

The user is still working in JLM (every 60 seconds)

  • username = username
  • action = heartbeat

The user exited JLM

  • username = username
  • action = leave

The user changed of exercise

  • username = username
  • course = course id
  • exoname = exo name
  • exolang = exo language
  • action = switched

TeacherServlet (/teacher)

AlertServlet (/alert)

CourseServlet (/course)

Clone this wiki locally