[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
Fri Oct 3 14:28:39 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: reopened
Priority: normal | Milestone: 6.9
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by TimothyBlynJacobs):
* status: closed => reopened
* resolution: fixed =>
Comment:
`post` is not a valid IANA link relation, the relation either needs to be
one of the registered relations or be an `api.w.org` URL.
https://www.iana.org/assignments/link-relations/link-relations.xhtml
There is an `up` link that points to the parent, but it is only included
when the post type is hierarchical right now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64034#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list