Downloads the request `type` of video `videoId`
Downloads the request type of video videoId
Responses
-
Not Found
-
OK - Follow redirect (response header
Location) to download the requested file.The returned
Content-TypeandContent-Dispositionmay differ depending on what type you requested and when the stream was archived:- Type
videoarchived before 2023-01-26:Content-Type: binary/octet-stream- No
Content-Dispositionheader
- Type
videoarchived between 2023-01-27 and 2023-02-04:Content-Type: video/mp4Content-Disposition: inline
- Type
videoarchived after 2023-02-05:Content-Type: video/mp4Content-Disposition: attachment
- Type
thumbnailarchived before 2023-01-26:Content-Type: binary/octet-stream- No
Content-Dispositionheader
- Type
thumbnailarchived after 2023-01-27:Content-Type: image/jpegContent-Disposition: inline
- Type
ffmpegarchived before 2023-01-26:Content-Type: binary/octet-stream- No
Content-Dispositionheader
- Type
ffmpegarchived after 2023-01-27:Content-Type: text/plainContent-Disposition: inline
- Type
-
Bad Request
One of these two things occurred:
- Video or ffmpeg log download has been requested but the video has not yet finished archiving.
- A bad user agent has been sent with the request. Please see the
User-Agentheader definition in this file.
GET
/download/{videoId}/{type}
curl \
-X GET https://pomu.app/api/download/{videoId}/{type}
Response examples (307)
"@file"
Response examples (307)
@file