Making WordPress.org

Opened 11 years ago

Closed 9 years ago

#1011 closed enhancement (fixed)

WordCamp JSON API: Expose featured image / post thumbnails on posts

Reported by: tareiking Owned by:
Priority: normal Milestone:
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
11 years ago

  • Keywords needs-patch removed
  • Owner set to iandunn
  • Status newaccepted

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

#2 @tareiking
11 years ago

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

#3 @valeriosza
11 years ago

  • Cc valeriosza@… added

#4 @valeriosza
11 years ago

Unfortunately :-(

#5 @iandunn
10 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
9 years ago

  • Owner iandunn removed
  • Status acceptedassigned

#7 @iandunn
9 years ago

  • Resolutionfixed
  • Status assignedclosed

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.