File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 212212 *
213213* */
214214
215+ /**
216+ * @api {post } /infrastructure/update Update infrastructure details
217+ * @apiName UpdateInfrastructure
218+ * @apiGroup Infrastructure
219+ * @apiDescription update Existing Infrastructure details
220+ *
221+ * @apiBody {String} id Id of the infrastructure to be updated
222+ * @apiBody {String} [name] The name of the infrastructure.
223+ * @apiBody {String} [type] The type of the infrastructure.
224+ * @apiBody {String} [wing] The wing where the infrastructure is located.
225+ * @apiBody {Number} [floor] The floor where the infrastructure is located.
226+ * @apiBody {Number} [capacity] The capacity of the infrastructure.
227+ *
228+ * @apiSuccess {String} res infrastructure updated.
229+ * @apiError (Error 500) err Error in updating database
230+ *
231+ */
232+
215233// ------------------------------------------------------------------------------------------
216234// Accreditation.
217235// ------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments