|
185 | 185 | * @apiName GetInfrastructure |
186 | 186 | * @apiGroup Infrastructure |
187 | 187 | * |
188 | | - * @apiQuery {String} name Name of Infrastructure . |
189 | | - * @apiQuery {String} type Type of Infrastructure. One of possible Lab, Classroom. |
190 | | - * @apiQuery {String} wing Wing of Infrastructure. One of possible A,B,C. |
191 | | - * @apiQuery {Number} floor Floor of Infrastructure. |
192 | | - * @apiQuery {Number} capacity Capacity of Infrastructure. |
| 188 | + * @apiQuery {String} [name] Name of Infrastructure . |
| 189 | + * @apiQuery {String} [type] Type of Infrastructure. One of possible Lab, Classroom. |
| 190 | + * @apiQuery {String} [wing] Wing of Infrastructure. One of possible A,B,C. |
| 191 | + * @apiQuery {Number} [floor] Floor of Infrastructure. |
| 192 | + * @apiQuery {Number} [capacity] Capacity of Infrastructure. |
193 | 193 | * |
194 | 194 | * @apiSuccess {Infrastructure[]} res Array of Filtered Infrastructure Doc . |
| 195 | + * @apiSuccess {String} infrastructure._id ID of document given by database. |
195 | 196 | * @apiSuccess {String} infrastructure.name Name of Infrastructure |
196 | 197 | * @apiSuccess {String} infrastructure.type Type of Infrastructure. One of possible Lab, Classroom. |
197 | 198 | * @apiSuccess {String} infrastructure.wing Wing of Infrastructure. One of possible A,B,C. |
|
290 | 291 | * @apiError (Error 500) err Error in updating database |
291 | 292 | * |
292 | 293 | */ |
293 | | - |
| 294 | + |
294 | 295 | /** |
295 | 296 | * @api {get} accreditation/list Get Accreditation List |
296 | 297 | * @apiName GetAccreditation |
|
301 | 302 | * @apiQuery {Date} [dateofAccreditation] Date on which accreditation was issued. |
302 | 303 | * @apiQuery {Date} [dateofExpiry] Date till which accreditation is valid. |
303 | 304 | * |
304 | | - * @apiSuccess {accreditation[]} res Array of Filtered accreditation Doc . |
305 | | - * @apiSuccess {String} accreditation.name Name of accreditation |
| 305 | + * @apiSuccess {accreditation[]} res Array of Filtered accreditation Doc. |
| 306 | + * @apiSuccess {String} accreditation._id ID of document given by database. |
| 307 | + * @apiSuccess {String} accreditation.name Name of accreditation. |
306 | 308 | * @apiSuccess {String} accreditation.agencyName Name of agency that issued the accreditation. |
307 | 309 | * @apiSuccess {Date} accreditation.dateofAccreditation Date on which accreditation was issued. |
308 | 310 | * @apiSuccess {Date} accreditation.dateofExpiry Date till which accreditation is valid. |
309 | 311 | */ |
310 | | - |
|
0 commit comments