172172 * @apiBody {String} wing The wing where the infrastructure is located.
173173 * @apiBody {Number} floor The floor where the infrastructure is located.
174174 * @apiBody {Number} capacity The capacity of the infrastructure.
175+ * @apiBody {connector.Schema.Types.ObjectId} organization The organization which is associated.
175176 *
176177 * @apiSuccess {String} res Success message with the ID of the added infrastructure.
177178 *
198199 * @apiSuccess {String} infrastructure.wing Wing of Infrastructure. One of possible A,B,C.
199200 * @apiSuccess {Number} infrastructure.floor Floor of Infrastructure.
200201 * @apiSuccess {Number} infrastructure.capacity Capacity of Infrastructure.
202+ * @apiSuccess {connector.Schema.Types.ObjectId} department.organization associated Organization.
201203 */
202204
203205/**
226228 * @apiBody {String} [wing] The wing where the infrastructure is located.
227229 * @apiBody {Number} [floor] The floor where the infrastructure is located.
228230 * @apiBody {Number} [capacity] The capacity of the infrastructure.
231+ * @apiSuccess {connector.Schema.Types.ObjectId} department.organization associated Organization.
229232 *
230233 * @apiSuccess {String} res infrastructure updated.
231234 * @apiError (Error 500) err Error in updating database
432435 * @apiBody {Date} yearOfStarting The year of establishment of the Department.
433436 * @apiBody {connector.Schema.Types.ObjectId} accreditations The accreditation which is associated.
434437 * @apiBody {connector.Schema.Types.ObjectId} infrastructure The infrastructure which is associated.
438+ * @apiBody {connector.Schema.Types.ObjectId} organization The organization which is associated.
435439 *
436440 * @apiSuccess {String} res added Department successfully.
437441 *
450454 * @apiBody {Date} [yearOfStarting] The year of establishment of the Department.
451455 * @apiBody {connector.Schema.Types.ObjectId} [accreditations] Accreditation which is associated.
452456 * @apiBody {connector.Schema.Types.ObjectId} [infrastructure] Infrastructure which is associated.
457+ * @apiBody {connector.Schema.Types.ObjectId} organization The organization which is associated.
453458 *
454459 * @apiSuccess {Department[]} res Array of Filtered Department Doc .
455460 * @apiSuccess {String} department._id ID of document given by database.
458463 * @apiSuccess {Date} department.yearOfStarting The year of establishment of the Department.
459464 * @apiSuccess {connector.Schema.Types.ObjectId} department.accreditations associated Accreditation.
460465 * @apiSuccess {connector.Schema.Types.ObjectId} department.infrastructure associatedInfrastructure.
466+ * @apiSuccess {connector.Schema.Types.ObjectId} department.organization associated Organization.
461467 * @apiError (Error 500) err Error while fetching the data.
462468 */
463469
488494 * @apiSuccess {Date} department.yearOfStarting The year of establishment of the Department.
489495 * @apiSuccess {connector.Schema.Types.ObjectId} department.accreditations associated Accreditation.
490496 * @apiSuccess {connector.Schema.Types.ObjectId} department.infrastructure associatedInfrastructure.
497+ * @apiSuccess {connector.Schema.Types.ObjectId} department.organization associated Organization.
491498 *
492499 * @apiSuccess {String} res updated infrastructure with id.
493500 * @apiError (Error 500) err Error while inserting in DB
655662 *
656663 * @apiQuery {Number} [no] Module number.
657664 * @apiQuery {String} [name] Name of the module.
658- * @apiQuery {String} [outcome] Module outcome.
659665 * @apiQuery {String[]} [contents] Array of contents of the module.
666+ * @apiQuery {ObjectId} content ID of the Topics (ObjectId).
660667 * @apiQuery {Number} [hrsPerModule] Number of hours required per module.
661668 * @apiQuery {String[]} [cognitiveLevels] Array of cognitive levels
662669 * of attainment as per Bloom's Taxanomy (L1-L6).
665672 * @apiSuccess {String} module._id ID of document given by database.
666673 * @apiSuccess {String} module.no Module number.
667674 * @apiSuccess {String} module.name Name of the module.
668- * @apiSuccess {String} module.outcome Module outcome.
669675 * @apiSuccess {String[]} module.contents Array of contents of the module.
670676 * @apiSuccess {Number} module.hrsPerModule Number of hours required per module.
671677 * @apiSuccess {String[]} module.cognitiveLevels Array of cognitive levels of
741747 *
742748 * @apiBody {Number} [no] Module number.
743749 * @apiBody {String} [name] Name of the module.
744- * @apiBody {String} [outcome] Module outcome.
745750 * @apiBody {String[]} [contents] Array of contents of the module.
751+ * @apiBody {ObjectId} content ID of the Topics (ObjectId).
746752 * @apiBody {Number} [hrsPerModule] Number of hours required per module.
747753 * @apiBody {String[]} [cognitiveLevels] Array of cognitive levels
748754 * of attainment as per Bloom's Taxanomy (L1-L6).
772778 * @apiParam {String} moduleId The ID of the Module document to update.
773779 * @apiBody {Number} [no] Module number.
774780 * @apiBody {String} [name] Name of the module.
775- * @apiBody {String} [outcome] Module outcome.
776781 * @apiBody {String[]} [contents] Array of contents of the module.
782+ * @apiBody {ObjectId} content ID of the Topics (ObjectId).
777783 * @apiBody {Number} [hrsPerModule] Number of hours required per module.
778784 * @apiBody {String[]} [cognitiveLevels] Array of cognitive levels
779785 * of attainment as per Bloom's Taxanomy (L1-L6).
18751881 * @apiError (Error 500) err Error in updating database
18761882 *
18771883 */
1884+
1885+ // TODO ADD COURSE ENDPOINT APIDOCS
0 commit comments