lesterchan / wp-downloadmanager

Adds a simple download manager to your WordPress blog.
https://wordpress.org/plugins/wp-downloadmanager/
17 stars 15 forks source link

feat: Upload files over API #33

Open neo773 opened 6 months ago

neo773 commented 6 months ago

This PR adds an option to upload files via API. It generates a secure random token for authenticating upload requests. This was primarily developed for automating file uploads in GitHub CI. reference PR

image

vadi2 commented 6 months ago

We've been using WP-Downloadmanager for Mudlet over the years and the ability to add files via an API would really help simplify our release process 👍

neo773 commented 5 months ago

@lesterchan Sorry to interrupt, just a gentle bump incase this got lost in your Inbox.

lesterchan commented 5 months ago

I would make use of WP-API to actually extend and upload via API. This MR feels very hackish.

vadi2 commented 12 hours ago

@lesterchan we handled this improvement via a bounty and the bounty has already been paid out. Would you be interested in taking on the work to make it work via REST API?