Skip to content

Uploader callback controller

href requested to merge href/pleroma:uploader-controller into develop

Adds a way to get an http callback before finishing uploading a file in an uploader:

  • the uploader method put_file can return :wait_callback
  • once a request is received at POST /api/pleroma/uploader_callback/:uploader_path, the uploader's http_callback method is called and returns as put_file would do

It can be useful to use third party conversions APIs.

Merge request reports