Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/docs.5/user/
Upload File :
Current File : /home/infinitibizsol/.trash/docs.5/user/system.js

/**
 * @swagger
 * components:
 *   schemas:
 *     System:
 *       type: object
 *       required:
 *         - user_id
 *         - user_time_zone
 *       properties:
 *         guided_workflow:
 *           type: boolean
 *           description: Indicates if guided workflow is enabled
 *         default_file_view:
 *           type: string
 *           description: The default file view mode
 *         popup_important_notes:
 *           type: boolean
 *           description: Important notes to be shown in a popup
 *         user_time_zone:
 *           type: string
 *           description: The user's time zone
 *         user_id:
 *           type: string
 *           description: The unique identifier of the user
 *       example:
 *         guided_workflow: true
 *         default_file_view: "default_file_view"
 *         popup_important_notes: true
 *         user_time_zone: "USA"
 *         user_id: "6690538a8ec7ea9c6060e1f6"
 *     UpdateResponse:
 *       type: object
 *       properties:
 *         message:
 *           type: string
 *           example: "Data updated successfully"
 *     DeleteResponse:
 *       type: object
 *       properties:
 *         message:
 *           type: string
 *           example: "entry_name and related data deleted successfully"
 *   securitySchemes:
 *     bearerAuth:
 *       type: http
 *       scheme: bearer
 *       bearerFormat: JWT
 */

/**
 * @swagger
 * tags:
 *   - name: System
 *     description: System related operations
 */

/**
 * @swagger
 * /system/list:
 *   get:
 *     summary: Returns the system details
 *     tags: [System]
 *     security:
 *       - bearerAuth: []
 *     responses:
 *       200:
 *         description: The system details
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/System'
 */

/**
 * @swagger
 * /system/add:
 *   post:
 *     summary: Create a new system entry
 *     tags: [System]
 *     security:
 *       - bearerAuth: []
 *     requestBody:
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             $ref: '#/components/schemas/System'
 *     responses:
 *       201:
 *         description: The system entry was successfully created
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/System'
 */

/**
 * @swagger
 * /system/edit/{id}:
 *   put:
 *     summary: Update the system entry by ID
 *     tags: [System]
 *     security:
 *       - bearerAuth: []
 *     parameters:
 *       - in: path
 *         name: id
 *         schema:
 *           type: string
 *         required: true
 *         description: The system ID
 *     requestBody:
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             $ref: '#/components/schemas/System'
 *     responses:
 *       200:
 *         description: The system entry was successfully updated
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/UpdateResponse'
 */

/**
 * @swagger
 * /system/delete/{id}:
 *   delete:
 *     summary: Delete the system entry by ID
 *     tags: [System]
 *     security:
 *       - bearerAuth: []
 *     parameters:
 *       - in: path
 *         name: id
 *         schema:
 *           type: string
 *         required: true
 *         description: The system ID
 *     responses:
 *       200:
 *         description: The system entry was successfully deleted
 *         content:
 *           application/json:
 *             schema:
 *               $ref: '#/components/schemas/DeleteResponse'

 */
"use strict";

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists