From 9efd7d89f95efe7d9e1a42f75eb3e763bfa6d289 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 4 Mar 2011 01:05:47 +0000 Subject: [PATCH] UPdate teh numstudents API docs --- api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.php b/api.php index aa5e3e2..0d3720f 100644 --- a/api.php +++ b/api.php @@ -892,7 +892,7 @@ switch($request[0]) { /* APIDOC: registration/view 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(project: {id,projectnumber,title}) return(registration array) @@ -1064,7 +1064,7 @@ switch($request[0]) { /* APIDOC: project/view description(Displays the current project information) 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(specialaward: {id,name,criteria,self_nominate,selected}) */