Videos¶
List of Endpoints¶
/upload/video
: Handled byvideo_upload()
./upload/video/overlay
: Handled byvideo_upload_with_overlay()
.
API Reference¶
-
videos.
setup_routing
(app: flask.app.Flask)[source]¶ Basic routing function for flask.
Parameters: app (flask.Flask) – Your flask application object.
-
videos.
video_upload
()[source]¶ This requires “post_id”, “ext” and “content-type” as form data keys along with “video” file key (also form data technically).
Returns: - 204 - No content.
- 400 - Missing data field.
- 5XX - Request too large.
-
videos.
video_upload_with_overlay
()[source]¶ Video upload with an overlay image. This endpoint will schedule transcoding of the video (e.g. it won’t happen in this request call).
Requires an extra “overlay” form data field that must be a PNG.
Returns: - 204 - No content.
- 400 - Missing data field.
- 5XX - Request too large.