Skip to content
代码片段 群组 项目
提交 83941ca2 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Merge branch 'pagination-link-header-doc' into 'master'

Pagination-link-header-doc
No related branches found
No related tags found
无相关合并请求
...@@ -130,6 +130,10 @@ When listing resources you can pass the following parameters: ...@@ -130,6 +130,10 @@ When listing resources you can pass the following parameters:
+ `page` (default: `1`) - page number + `page` (default: `1`) - page number
+ `per_page` (default: `20`, max: `100`) - number of items to list per page + `per_page` (default: `20`, max: `100`) - number of items to list per page
[Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response.
These have `rel` prev/next/first/last and contain the relevant url.
Please use these instead of generating your own urls.
## id vs iid ## id vs iid
When you work with API you may notice two similar fields in api entites: id and iid. When you work with API you may notice two similar fields in api entites: id and iid.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册