Making WordPress.org

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's profile 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
10 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
10 years ago

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

#3 @valeriosza
10 years ago

  • Cc valeriosza@… added

#4 @valeriosza
10 years ago

Unfortunately :-(

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

#6 @iandunn
7 years ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

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