[wp-trac] [WordPress Trac] #64034: Media / Attachments REST API endpoint: Include post (i.e. attached parent) as an embeddable link in the response

WordPress Trac noreply at wordpress.org
Wed Oct 8 22:49:38 UTC 2025


#64034: Media / Attachments REST API endpoint: Include post (i.e. attached parent)
as an embeddable link in the response
--------------------------------------+---------------------------
 Reporter:  andrewserong              |       Owner:  andrewserong
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------
Changes (by andrewserong):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60916" 60916]:
 {{{
 #!CommitTicketReference repository="" revision="60916"
 REST API: Rename post link relation in media endpoint to wp:attached-to

 By adding the https://api.w.org/ prefix and using a more descriptive name
 for the link relation, this change creates greater clarity for this part
 of the API. Note that the renaming of this property is safe, as the API
 change has not yet made it into a final release.

 Follow-up to [60893].

 Props andrewserong, mukesh27, ramonopoly, timothyblynjacobs.
 Fixes #64034.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64034#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list