Downloads the request `type` of video `videoId`

GET /download/{videoId}/{type}

Downloads the request type of video videoId

Responses

  • OK - Follow redirect (response header Location) to download the requested file.


    The returned Content-Type and Content-Disposition may differ depending on what type you requested and when the stream was archived:

    • Type video archived before 2023-01-26:
      • Content-Type: binary/octet-stream
      • No Content-Disposition header
    • Type video archived between 2023-01-27 and 2023-02-04:
      • Content-Type: video/mp4
      • Content-Disposition: inline
    • Type video archived after 2023-02-05:
      • Content-Type: video/mp4
      • Content-Disposition: attachment
    • Type thumbnail archived before 2023-01-26:
      • Content-Type: binary/octet-stream
      • No Content-Disposition header
    • Type thumbnail archived after 2023-01-27:
      • Content-Type: image/jpeg
      • Content-Disposition: inline
    • Type ffmpeg archived before 2023-01-26:
      • Content-Type: binary/octet-stream
      • No Content-Disposition header
    • Type ffmpeg archived after 2023-01-27:
      • Content-Type: text/plain
      • Content-Disposition: inline
  • 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-Agent header definition in this file.
  • Not Found

GET /download/{videoId}/{type}
curl \
 -X GET https://pomu.app/api/download/{videoId}/{type}
Response examples (307)
"@file"
Response examples (307)
@file