Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
471d0575
Commit
471d0575
authored
Sep 03, 2020
by
Jonston Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the example ID
parent
ba2f6dbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/README.md
doc/api/README.md
+2
-2
No files found.
doc/api/README.md
View file @
471d0575
...
@@ -348,10 +348,10 @@ URL. Please use these links instead of generating your own URLs.
...
@@ -348,10 +348,10 @@ URL. Please use these links instead of generating your own URLs.
In the cURL example below, we limit the output to 3 items per page (
`per_page=3`
)
In the cURL example below, we limit the output to 3 items per page (
`per_page=3`
)
and we request the second page (
`page=2`
) of
[
comments
](
notes.md
)
of the issue
and we request the second page (
`page=2`
) of
[
comments
](
notes.md
)
of the issue
with ID
`8`
which belongs to the project with ID
`
8
`
:
with ID
`8`
which belongs to the project with ID
`
9
`
:
```
shell
```
shell
curl
--head
--header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/projects/
8
/issues/8/notes?per_page=3&page=2"
curl
--head
--header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/projects/
9
/issues/8/notes?per_page=3&page=2"
```
```
The response will then be:
The response will then be:
...
...
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