API Methods

Login
login
Post
group
Request
group
student
timetable
search

Lab Remote Services

Search

For a search request, the user has to provide a valid authentication (user id and session key), the course name and a string as part of the student's name.

API call:
/search/“course”/“user_id”/“query_string“/"signature"/
Where signature is a md5 hash obtained from:
"searchcourseuser_idquery_stringsecret_code"

Response
status : query's status is either success or failed.
name : the groups's name.
students : a JSON list of students.
Each student has a name, avatar and id.

Sample

 { 
   "status" : "success",
   "students": [{"name": "BOJIN Andrei Florian ", "avatar": 
                 "http://cs09.curs.pub.ro/user/pix.php/748/f1.jpg", "id": 25}, 
                {"name": "BURGHELEA Alexandru-George ", 
                 "avatar": "http://cs09.curs.pub.ro/user/pix.php/338/f1.jpg", "id": 26}, 
                {"name": "ASAVOAEI Andrei-Stefan ", 
                 "avatar": "http://cs09.curs.pub.ro/user/pix.php/731/f1.jpg", "id": 190}, 
                {"name": "COSTEA Maria-Andrada ", 
                 "avatar": "http://cs09.curs.pub.ro/user/pix.php/2474/f1.jpg", "id": 194}, 
                {"name": "DASCALU Andi-Florin ", 
                 "avatar": "http://cs09.curs.pub.ro/user/pix.php/674/f1.jpg", "id": 195}]
 }