BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
83941ca2
Commit
83941ca2
authored
Mar 31, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pagination-link-header-doc' into 'master'
Pagination-link-header-doc
parents
9fdc6e97
24f64e65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
README.md
doc/api/README.md
+4
-0
No files found.
doc/api/README.md
View file @
83941ca2
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment