Opened 19 months ago
Last modified 19 months ago
#58034 new feature request
Post API can't get image URL on Endpoint
Reported by: | nodeweb | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.2 |
Component: | REST API | Keywords: | needs-patch 2nd-opinion |
Focuses: | Cc: |
Description
We need to add the featured image URL to the endpoint of the POST API
Instead of getting the featured_media id, we should get the attachment URL, which will be better for everyone
Change History (2)
Note: See
TracTickets for help on using
tickets.
@nodeweb Have you tried using the _embed functionality. So adding
_embed=wp:featuredmedia
to the request and getting the embedded featured media.