Skip to content

JLM Server requests

GreatWizard 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:

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

The user launched JLM

  • action = join
  • username = username

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

  • action = heartbeat
  • username = username

The user exited JLM

  • action = leave
  • username = username

The user changed of exercise

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

TeacherServlet (/teacher)

AlertServlet (/alert)

CourseServlet (/course)

Create a new course

  • action = new
Clone this wiki locally