[wp-trac] [WordPress Trac] #49096: Allow updating attachments with new files

WordPress Trac noreply at wordpress.org
Mon Dec 30 09:09:23 UTC 2019


#49096: Allow updating attachments with new files
-------------------------+-----------------------------
 Reporter:  joehoyle     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  rest-api     |
-------------------------+-----------------------------
 Currently the Media endpoint only allows setting the file on upload, it
 would be handy in some cases to allow replacing / updating the media file
 for an attachment.

 For example, maybe I have an image editing app that uses the rest api, and
 when a user makes edits, I'd want to post the updated image back and
 update the attachment with it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49096>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list