[wp-trac] [WordPress Trac] #58034: Post API can't get image URL on Endpoint

WordPress Trac noreply at wordpress.org
Fri Mar 31 11:47:06 UTC 2023


#58034: Post API can't get image URL on Endpoint
-------------------------------------+------------------------------
 Reporter:  nodeweb                  |       Owner:  (none)
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  REST API                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+------------------------------

Comment (by spacedmonkey):

 @nodeweb Have you tried using the _embed functionality. So adding
 `_embed=wp:featuredmedia` to the request and getting the embedded featured
 media.

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


More information about the wp-trac mailing list