fix(routes): Mettre à jour les descriptions des statuts des projets et des vidéos pour plus de clarté
All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 11s
All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 11s
This commit is contained in:
@@ -51,7 +51,7 @@ router.get('/camera/status', CameraController.getCameraStatus);
|
||||
* example: 48
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: brouillon, 1: capturing, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* required:
|
||||
* - project_id
|
||||
* - interval
|
||||
@@ -104,7 +104,7 @@ router.post('/procedure/start', CameraController.startProcedure);
|
||||
* example: Procédure d'arrêt de la caméra initiée avec succès
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: brouillon, 1: capturing, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* 500:
|
||||
* $ref: '#/components/responses/ServerError'
|
||||
*/
|
||||
@@ -131,7 +131,7 @@ router.post('/procedure/stop', CameraController.stopProcedure);
|
||||
* example: Caméra arrêtée avec succès
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: brouillon, 1: capturing, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* 500:
|
||||
* $ref: '#/components/responses/ServerError'
|
||||
*/
|
||||
@@ -158,7 +158,7 @@ router.post('/camera/stop', CameraController.confirmStopProcedure);
|
||||
* example: Caméra en mode maintenance
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: brouillon, 1: capturing, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* 500:
|
||||
* $ref: '#/components/responses/ServerError'
|
||||
*/
|
||||
@@ -185,7 +185,7 @@ router.post('/camera/maintenance', CameraController.activateMaintenance);
|
||||
* example: Caméra sortie du mode maintenance
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: brouillon, 1: capturing, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* 500:
|
||||
* $ref: '#/components/responses/ServerError'
|
||||
*/
|
||||
|
||||
@@ -147,7 +147,7 @@ router.get('/projects/:id/measurements', ProjectController.getProjectMeasurement
|
||||
* description: Description détaillée du projet
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut du projet (0: draft, 1: capture, 2: idle, 3: stopping)
|
||||
* description: "Statut du projet: 0=brouillon, 1=capturing, 2=idle, 3=stopping"
|
||||
* required:
|
||||
* - name
|
||||
* - description
|
||||
|
||||
@@ -220,12 +220,9 @@ router.get('/videos/file/:video_id', VideoController.getVideoFile);
|
||||
* description: Temps estimé restant (secondes)
|
||||
* example: 150
|
||||
* status:
|
||||
* type: string
|
||||
* description: État actuel du rendu
|
||||
* example: En cours
|
||||
* status:
|
||||
* type: integer
|
||||
* description: Statut de la vidéo (0: waiting, 1: in_progress, 2: completed, 3: failed)
|
||||
* description: "Statut de la vidéo: 0=rendering, 1=completed, 2=error"
|
||||
* example: 1
|
||||
* 404:
|
||||
* $ref: '#/components/responses/NotFound'
|
||||
* 500:
|
||||
|
||||
Reference in New Issue
Block a user