Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd86ca59

Browse files
author
Gauvain Pocentek
committed
[docs] update pagination section
First page is page 1.Fixes#197
1 parent15d3362 commitd86ca59

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎docs/api-usage.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ listing methods support the ``page`` and ``per_page`` parameters:
111111

112112
..code-block::python
113113
114-
ten_first_groups= gl.groups.list(page=0,per_page=10)
114+
ten_first_groups= gl.groups.list(page=1,per_page=10)
115+
116+
..note::
117+
118+
The first page is page 1, not page 0.
119+
115120

116121
By default GitLab does not return the complete list of items. Use the ``all``
117122
parameter to get all the items when using listing methods:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp