Download

List of Endpoints

API Reference

download.download_image()[source]

This function expects a post_id URL parameter. Post ID corresponds to the filename w/o extension in Storage. This endpoint should redirect to the file’s location in Storage.

Returns:Redirects to the file’s location in Storage.
download.download_video()[source]

This function expects a post_id URL parameter. Post ID corresponds to the filename w/o extension in Storage. This endpoint should redirect to the file’s location in Storage.

Returns:Redirects to the file’s location in Storage.
download.setup_routing(app: flask.app.Flask)[source]

Basic routing function for flask.

Parameters:app (flask.Flask) – Your flask application object.