WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 22 months 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 @iandunn
4 years ago

  • Keywords needs-patch removed
  • Owner set to iandunn
  • Status changed from new to accepted

Featured images aren't included because of a bug in Core, but it looks like it'll be fixed in 4.3.

#2 @tareiking
4 years ago

Thats a pity - but completely understand. Thanks for the update @iandunn!

#3 @valeriosza
4 years ago

  • Cc valeriosza@… added

#4 @valeriosza
4 years ago

Unfortunately :-(

#5 @iandunn
3 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.

#6 @iandunn
22 months ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

#7 @iandunn
22 months 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.