Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 18:11:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 18:11:17 +0300
commitdad48b4af20204db430a6c62c4641283e24dd89a (patch)
treec8b4644cf30e2babe572f20b89257bcd8fa4b6d6 /doc/api/discussions.md
parente2999d09ec050b12b6de9121d9aedc38c12477fd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/discussions.md')
-rw-r--r--doc/api/discussions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/discussions.md b/doc/api/discussions.md
index 6d0c5afa35d..828370c3386 100644
--- a/doc/api/discussions.md
+++ b/doc/api/discussions.md
@@ -860,8 +860,8 @@ Parameters for all comments:
| `position[line_range]` | hash | no | Line range for a multi-line diff note |
| `position[width]` | integer | no | Width of the image (for `image` diff notes) |
| `position[height]` | integer | no | Height of the image (for `image` diff notes) |
-| `position[x]` | integer | no | X coordinate (for `image` diff notes) |
-| `position[y]` | integer | no | Y coordinate (for `image` diff notes) |
+| `position[x]` | float | no | X coordinate (for `image` diff notes) |
+| `position[y]` | float | no | Y coordinate (for `image` diff notes) |
```shell
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/merge_requests/11/discussions?body=comment"