[wp-trac] [WordPress Trac] #63928: Add additional fields to the `/wp-json/wp/v2/comments` endpoints
WordPress Trac
noreply at wordpress.org
Mon Sep 8 07:33:00 UTC 2025
#63928: Add additional fields to the `/wp-json/wp/v2/comments` endpoints
--------------------------------------+------------------------------
Reporter: hannahtinkler | Owner: hannahtinkler
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+------------------------------
Comment (by swissspidy):
I'm definitely also mindful of extra HTTP requests, which is why I
suggested to use [https://developer.wordpress.org/rest-api/using-the-rest-
api/linking-and-embedding/ linking and embedding]. `targetHints` are also
a new addition in 6.7 to avoid additional requests, see #61739.
Making additional information available is fine, but it needs to be done
in line with the REST API's design. The current PR does not do that.
Some input from component maintainers would be appreciated. cc @rmccue
@kadamwhite @spacedmonkey @TimothyBlynJacobs
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63928#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list