[wp-meta] [Making WordPress.org] #2522: Extend the WP.org API's `query_themes` action to allow passing multiple theme slugs

Making WordPress.org noreply at wordpress.org
Tue Feb 21 23:26:16 UTC 2017


#2522: Extend the WP.org API's `query_themes` action to allow passing multiple
theme slugs
-----------------------------+-----------------
 Reporter:  Bernhard Reiter  |      Owner:
     Type:  defect           |     Status:  new
 Priority:  low              |  Milestone:
Component:  Theme Directory  |   Keywords:
-----------------------------+-----------------
 Right now, it's possible to pass a single theme slug to `query_themes` to
 obtain data for that theme, e.g. `GET`
 https://api.wordpress.org/themes/info/1.1/?action=query_themes&request%5Btheme%5D=twentyfourteen

 I propose extending the API so I can pass in multiple theme slugs and
 obtain the corresponding list of theme info objects.

 E.g. like this:
 https://api.wordpress.org/themes/info/1.1/?action=query_themes&request%5Btheme%5D=twentyfourteen&request%5Btheme%5D=twentyfifteen

 (Right now, that returns data for Twenty Fifteen only.)

 My use case is a scenario where I already have a list of themes (say,
 locally installed in a WP install) for which I'd like to fetch additional
 information from WP.org in one sweep.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2522>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list