Commit 7c16b241 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-use-unique-ids' into 'master'

Docs: change the example ID

See merge request gitlab-org/gitlab!41534
parents 8c47fa08 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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment