[wp-meta] [Making WordPress.org] #4778: /plugins/info/1.2 failed to return all plugins

Making WordPress.org noreply at wordpress.org
Thu Oct 24 02:07:39 UTC 2019


#4778: /plugins/info/1.2 failed to return all plugins
---------------------------+---------------------
 Reporter:  shaharia.azam  |       Owner:  dd32
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  API            |  Resolution:  fixed
 Keywords:                 |
---------------------------+---------------------

Comment (by dd32):

 The query API was retuning plugins with a status in `[publish, closed,
 disabled]` but the information endpoint only returned `publish` which
 caused some results to get stripped from the response.

 The API response now looks like this:
 {{{
 GET
 https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[page]=1&&request[per_page]=250
 {
   "info": {
     "page": 1,
     "pages": 195,
     "results": 48609
   },
   "plugins": [...]
 }
 }}}

 Due to caching you'll probably see the 68k and higher page numbers in the
 API response for the next few hours until they naturally refresh.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4778#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list