npm start
By default on localhost will listen on localhost:3030
Routes | Function | Params | Results (in json format) |
---|---|---|---|
[GET] /video/upload | Get signed URL to upload a video on GCP | Video file name | signedURL: The signed URL |
[GET] /video/subtitles | Get the link of the video and the link of the Subtitles file | Video file name | videoURL: URL of the video vttURL: URL of the VTT file generated |
[POST] /video/vtt | Get the subtitles and their timings | VTT file URL on GCP | subtitles: The subtitles timings: Timings of each sentences (in secs) |
[GET] /picture/upload | Get signed URL to upload a picture on GCP and Get its URL on the server | Picture name | signedURL: The signed URL pictureURL: The URL of picture once uploaded. |
Deployed on polyteach-video.igpolytech.fr:80