Public
Documentation Settings

4Subbers - API

Split subtitle

POSTSplit subtitle by cue

https://api-4subbers.herokuapp.com/api/subtitle-split/cue
HEADERS
Content-Type

application/x-www-form-urlencoded

Bodyformdata
name

Manifest S02E04

parts

8

subtitle
Example Request
curl
curl --location 'https://api-4subbers.herokuapp.com/api/subtitle-split/cue' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--form 'name="Manifest S02E04"' \
--form 'parts="8"' \
--form 'subtitle=@"/home/alexandre/Área de Trabalho/Manifest - 02x04 - Black Box.SVA-AVS.English.C.updated.Addic7ed.com.srt"'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTSplit subtitle by time

http://localhost:9001/api/subtitle-split/time
HEADERS
Content-Type

application/x-www-form-urlencoded

Bodyformdata
name

Manifest S02E04

parts

10

minutes

43

subtitle
Example Request
curl
curl --location 'http://localhost:9001/api/subtitle-split/time' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--form 'name="Manifest S02E04"' \
--form 'parts="10"' \
--form 'minutes="43"' \
--form 'subtitle=@"/home/alexandre/Área de Trabalho/Station.19.S03E04.480p.x264-mSD.srt"'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETDownload a splitted part of a subtitle

https://api-4subbers.herokuapp.com/api/subtitle-split/storage/:fileName
PATH VARIABLES
fileName

Manifest_S02E04_[Part1]_05891902.srt

Example Request
curl
curl --location -g 'https://api-4subbers.herokuapp.com/api/subtitle-split/storage/Manifest_S02E04_[Part1]_05891902.srt'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers