Skip to content

Commit 16af0f8

Browse files
authored
Merge pull request #195 from tcet-opensource/170-update_update_apidoc_for_infrastructure
170 update update apidoc for infrastructure
2 parents ecc5e64 + c3f6acb commit 16af0f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

_apidoc.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,24 @@
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
// ------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)