Skip to content

Commit

Permalink
Merge pull request #195 from tcet-opensource/170-update_update_apidoc…
Browse files Browse the repository at this point in the history
…_for_infrastructure

170 update update apidoc for infrastructure
  • Loading branch information
Hitansh159 authored Jul 9, 2023
2 parents ecc5e64 + c3f6acb commit 16af0f8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _apidoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,24 @@
*
* */

/**
* @api {post} /infrastructure/update Update infrastructure details
* @apiName UpdateInfrastructure
* @apiGroup Infrastructure
* @apiDescription update Existing Infrastructure details
*
* @apiBody {String} id Id of the infrastructure to be updated
* @apiBody {String} [name] The name of the infrastructure.
* @apiBody {String} [type] The type of the infrastructure.
* @apiBody {String} [wing] The wing where the infrastructure is located.
* @apiBody {Number} [floor] The floor where the infrastructure is located.
* @apiBody {Number} [capacity] The capacity of the infrastructure.
*
* @apiSuccess {String} res infrastructure updated.
* @apiError (Error 500) err Error in updating database
*
*/

// ------------------------------------------------------------------------------------------
// Accreditation.
// ------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 16af0f8

Please sign in to comment.