[wp-meta] [Making WordPress.org] #6061: Download stats API returning unexpected results

Making WordPress.org noreply at wordpress.org
Sun Jan 30 11:12:09 UTC 2022


#6061: Download stats API returning unexpected results
--------------------+---------------------
 Reporter:  pyves   |       Owner:  (none)
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:
Component:  API     |  Resolution:
 Keywords:          |
--------------------+---------------------
Description changed by SergeyBiryukov:

Old description:

> The download stats API endpoint documented
> [here](https://codex.wordpress.org/WordPress.org_API) is returning
> unexpected results.
>
> Consider the following API requests:
> https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=definitely-
> not-a-real-plugin
> https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=100
> https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=sadikovtdjoiybvjtdoivgrdjashc
>
> As you'll probably have guessed, none of the above plugins exist, yet the
> API is indicating up to several hundred daily downloads. This makes me
> wonder whether the API can be trusted at all, even for valid plugin
> slugs.

New description:

 Transferred from #WP54989.

 The download stats API endpoint documented
 [here](https://codex.wordpress.org/WordPress.org_API) is returning
 unexpected results.

 Consider the following API requests:
 https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=definitely-
 not-a-real-plugin
 https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=100
 https://api.wordpress.org/stats/plugin/1.0/downloads.php?slug=sadikovtdjoiybvjtdoivgrdjashc

 As you'll probably have guessed, none of the above plugins exist, yet the
 API is indicating up to several hundred daily downloads. This makes me
 wonder whether the API can be trusted at all, even for valid plugin slugs.

--

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


More information about the wp-meta mailing list