forked from science-ation/science-ation
UPdate teh numstudents API docs
This commit is contained in:
parent
cbfd66bb28
commit
9efd7d89f9
4
api.php
4
api.php
@ -892,7 +892,7 @@ switch($request[0]) {
|
|||||||
|
|
||||||
/* APIDOC: registration/view
|
/* APIDOC: registration/view
|
||||||
description(registration information about the currently logged in users registration)
|
description(registration information about the currently logged in users registration)
|
||||||
object(registration: {id,num,status,end,nummentors,students array of student,status array,project array})
|
object(registration: {id,num,status,end,nummentors,numstudents,students array of student,status array,project array})
|
||||||
object(student: {id,accounts_id,username,firstname,lastname,complete})
|
object(student: {id,accounts_id,username,firstname,lastname,complete})
|
||||||
object(project: {id,projectnumber,title})
|
object(project: {id,projectnumber,title})
|
||||||
return(registration array)
|
return(registration array)
|
||||||
@ -1064,7 +1064,7 @@ switch($request[0]) {
|
|||||||
/* APIDOC: project/view
|
/* APIDOC: project/view
|
||||||
description(Displays the current project information)
|
description(Displays the current project information)
|
||||||
return(project array)
|
return(project array)
|
||||||
object(project: {project_id integer, projectdivisions_id integer, title varchar(255), language char(2), req_electricity enum('no', 'yes'), req_table enum('no', 'yes'), req_special varchar(128), summary text, nummentors integer, safetyquestions array of question, specialawards array of specialaward})
|
object(project: {project_id integer, projectdivisions_id integer, title varchar(255), language char(2), req_electricity enum('no', 'yes'), req_table enum('no', 'yes'), req_special varchar(128), summary text, nummentors integer, numstudents integer, safetyquestions array of question, specialawards array of specialaward})
|
||||||
object(question: {id,question,type,required,ord,answer})
|
object(question: {id,question,type,required,ord,answer})
|
||||||
object(specialaward: {id,name,criteria,self_nominate,selected})
|
object(specialaward: {id,name,criteria,self_nominate,selected})
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user