Copyright © 2021 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
m_get/3 | Fetch the status of an upload. |
m_post/3 | Start a file upload or upload a block to a file uploader. |
status/2 | |
upload/4 |
m_get(Rest::list(), Msg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()
Fetch the status of an upload
m_post(X1::[binary()], Msg::zotonic_model:opt_msg(), Context::z:context()) -> {ok, term()} | {error, term()}
Start a file upload or upload a block to a file uploader
status(Name::binary(), Context::z:context()) -> {ok, map()} | {error, term()}
upload(Name::binary(), Offset::non_neg_integer(), Payload::binary(), Context::z:context()) -> {ok, map()} | {error, term()}
Generated by EDoc