#4672 closed defect (bug) (invalid)
WP.org Plugins api page parameter not working (api.wordpress.org)
| Reported by: | shramee | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| 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
@
7 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Parameters like page need to be part of the request, not on the top level. So the correct URL for your example would be: