#4672 closed defect (bug) (invalid)
WP.org Plugins api page parameter not working (api.wordpress.org)
Reported by: | shramee | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | |
Cc: |
Description
After going through the docs, I would expect the URL below to return next 24 popular plugins (25 - 48)...
However, page
param below doesn't seem to work.
https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&browse=popular&page=2
--------------------------------------------------------- Expecting Second page here ^
And it just repeats the first 24 results.
Am I doing something wrong or is this a bug?
Change History (3)
#3
@
5 years ago
Also, I just noticed, but "browse" shouldn't be top level either. You're getting popular here because that's the default, not because you're specifying it. So the really correct URL would be:
https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[browse]=popular&request[page]=2
Note: See
TracTickets for help on using
tickets.
Parameters like page need to be part of the request, not on the top level. So the correct URL for your example would be: