如何在 WP REST API 上查看多个帖子?

How do I view multiple posts on WP REST API?

我可以https://public-api.wordpress.com/rest/v1/sites/www.website.com/posts/查看 WP 站点上的最新 20 篇帖子。

如何查看超过 20 个?或查看所有帖子?

documentation for GET /sites/$site/posts/ 中所述,只需在查询字符串中包含适当的 numberpage 参数。

查看前 100 个:

https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=100&page=1

查看第二个100:

https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=100&page=2

等等