Skip to content

Ensure REST API endpoint for side-loaded media covers all requirements #74360

@adamsilverstein

Description

@adamsilverstein

What problem does this address?

The media experiment in Gutenberg already adds a new REST API endpoint (wp/v2/media//sideload) that accepts pre-processed images with their sub-sizes, bypassing server-side processing. The purpose of this ticket is to ensure the endpoints supports all current requirements.

Acceptance Criteria:

  • New POST endpoint at wp/v2/media/<id>/sideload
  • Validates uploaded sizes match expected dimensions
  • Updates attachment metadata appropriately, populating image meta
  • Proper permission checks

Metadata

Metadata

Labels

[Feature] Client Side MediaMedia processing in the browser with WASM[Type] TaskIssues or PRs that have been broken down into an individual action to take

Type

Projects

Status

🔎 Needs Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions