REST API:排序与分页
🌐 REST API: Sort & Pagination
通过对 REST API 的查询返回的条目可以进行排序和分页。
🌐 Entries that are returned by queries to the REST API can be sorted and paginated.
Tip
Strapi 利用 `qs` 库 解析嵌套对象的能力来创建更复杂的查询。
🌐 Strapi takes advantage of the ability of the `qs` library to parse nested objects to create more complex queries.
直接使用 qs 来生成复杂查询,而不是手动创建它们。本说明文档中的示例展示了如何使用 qs。
🌐 Use qs directly to generate complex queries instead of creating them manually. Examples in this documentation showcase how you can use qs.
如果你更喜欢使用我们的在线工具,而不是在你的机器上使用 qs 生成查询,你也可以使用 交互式查询构建器。
🌐 You can also use the interactive query builder if you prefer playing with our online tool instead of generating queries with qs on your machine.