Améliorer la création de vidéos en démarrant le rendu immédiatement et en ajoutant une réponse immédiate avec l'état de traitement.
This commit is contained in:
@@ -737,46 +737,6 @@
|
||||
* 400:
|
||||
* description: Video not yet produced
|
||||
*/
|
||||
/**
|
||||
* @swagger
|
||||
* /videos/render/{video_id}:
|
||||
* post:
|
||||
* summary: Render a video by video ID
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: video_id
|
||||
* required: true
|
||||
* schema:
|
||||
* type: string
|
||||
* description: The video ID
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Render process started
|
||||
* 404:
|
||||
* description: Video not found
|
||||
* 500:
|
||||
* description: Server error
|
||||
*/
|
||||
/**
|
||||
* @swagger
|
||||
* /videos/reset/{video_id}:
|
||||
* get:
|
||||
* summary: Reset the status of a video by video ID
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: video_id
|
||||
* required: true
|
||||
* schema:
|
||||
* type: string
|
||||
* description: The video ID
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Video reset successfully
|
||||
* 404:
|
||||
* description: Video not found
|
||||
* 500:
|
||||
* description: Server error
|
||||
*/
|
||||
/**
|
||||
* @swagger
|
||||
* /cat:
|
||||
|
||||
Reference in New Issue
Block a user