Opened 10 years ago
Closed 7 years ago
#1011 closed enhancement (fixed)
WordCamp JSON API: Expose featured image / post thumbnails on posts
Reported by: | tareiking | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | |
Cc: |
Description
Is it possible to get featured image / post thumbnails image URL via the API added?
In particular, there are no sponsor
logos or images exposed via the API and was wondering whether we open up post_thumbnails for other post types which support theme.
Change History (7)
#1
@
10 years ago
- Keywords needs-patch removed
- Owner set to iandunn
- Status changed from new to accepted
#5
@
8 years ago
#wp17817 is fixed now, so we may be able to remove the workaround that disabled featured images. It'd probably be better to spend that time enabling the v2 endpoint instead, though.
#7
@
7 years ago
- Resolution set to fixed
- Status changed from assigned to closed
The v2 API is now available, and featured images are included.
e.g., https://2017.seattle.wordcamp.org/wp-json/wp/v2/sponsors?_embed
Note: See
TracTickets for help on using
tickets.
Featured images aren't included because of a bug in Core, but it looks like it'll be fixed in 4.3.