GWM
This commit is contained in:
parent
471815a85d
commit
cada1873e3
@ -157,6 +157,22 @@ router.post("/auth/admin_login",[verifySignature], authController.login);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -190,6 +206,13 @@ router.get("/admin_users", [verifySignature, verifyToken], adminUserController.g
|
||||
* security:
|
||||
* - appSignature: []
|
||||
* - bearerAuth: []
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
* required: true
|
||||
* schema:
|
||||
* type: integer
|
||||
* description: User ID
|
||||
* responses:
|
||||
* 201:
|
||||
* description: Fetched successfully
|
||||
@ -209,6 +232,16 @@ router.get("/admin_users/:id", [verifySignature, verifyToken], adminUserControll
|
||||
* security:
|
||||
* - appSignature: []
|
||||
* - bearerAuth: []
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* properties:
|
||||
* name: { type: string }
|
||||
* email: { type: string }
|
||||
* password: { type: string }
|
||||
* responses:
|
||||
* 201:
|
||||
* description: created successfully
|
||||
@ -228,6 +261,23 @@ router.post("/admin_users",[verifySignature, verifyToken], adminUserController.c
|
||||
* security:
|
||||
* - appSignature: []
|
||||
* - bearerAuth: []
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
* required: true
|
||||
* schema:
|
||||
* type: integer
|
||||
* description: User ID
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* properties:
|
||||
* name: { type: string }
|
||||
* email: { type: string }
|
||||
* password: { type: string }
|
||||
* responses:
|
||||
* 201:
|
||||
* description: updated successfully
|
||||
@ -247,6 +297,13 @@ router.put("/admin_users/:id",[verifySignature, verifyToken], adminUserControlle
|
||||
* security:
|
||||
* - appSignature: []
|
||||
* - bearerAuth: []
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
* required: true
|
||||
* schema:
|
||||
* type: integer
|
||||
* description: User ID
|
||||
* responses:
|
||||
* 201:
|
||||
* description: deleted successfully
|
||||
@ -1487,7 +1544,6 @@ router.post("/submissions",[verifySignature, verifyToken], submissionController.
|
||||
* schema:
|
||||
* type: object
|
||||
* properties:
|
||||
* id: { type: integer }
|
||||
* establishment_id: { type: integer }
|
||||
* quarter: { type: string, enum: [Q1, Q2, Q3, Q4] }
|
||||
* year: { type: integer }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user