[wp-trac] [WordPress Trac] #47684: Embeddable 'self' links don't work on the REST API /search endpoint
WordPress Trac
noreply at wordpress.org
Thu Aug 1 18:39:42 UTC 2019
#47684: Embeddable 'self' links don't work on the REST API /search endpoint
----------------------------+------------------------------
Reporter: chrisvanpatten | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
----------------------------+------------------------------
Comment (by kadamwhite):
Sync'd with @rmccue on this and read through a bunch of RFCs to try to get
some clarity here. `self` is still the most ideal here, I believe;
referencing https://www.iana.org/assignments/link-relations/link-
relations.xml "An Original Resource is a resource that exists or used to
exist, and for which access to one of its prior states may be required."
and is more about versioning than about identity.
`describedby` would be for info about the post type, `via` is more for an
external source, and `related` is for another resource. If we don't want
to use `self`, we could conceivably use `item`. We should look at how hard
it would be to make self embeddable here and not elsewhere, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47684#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list