Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#44405 new feature request

Updating/Cropping Images via Rest API

Reported by: apermo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: REST API Keywords:
Focuses: Cc:


At the current moment it is not possible to update an attachment via the rest API, so if using the WordPress Crop Image functionality, there is no way to update the existing media.

I discussed this at WCEU in Belgrade with Mike Schroder. This was obviously simply forgotten.

Change History (2)

This ticket was mentioned in Slack in #core-media by apermo. View the logs.

5 weeks ago

#2 @joemcgill
5 weeks ago

I'd like to see these actions be supported by the REST API. The functionality can mirror wp_ajax_image_editor(), generally and would allow us to build new interfaces on top of the REST API rather than AJAX callbacks, and extend that ability to other clients.

Note: See TracTickets for help on using tickets.