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>2020-07-30 00:09:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-30 00:09:52 +0300
commitb86a07e9b7332bf5d2815716b2220299ffd7a223 (patch)
tree29206bd07a8af3885fe6c9d35f2e51daafadc38e /doc/api/notes.md
parent12a62cd94406f23fc3782e4914ca282196eb25f6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/notes.md')
-rw-r--r--doc/api/notes.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md
index 6b25494c577..3a68454507a 100644
--- a/doc/api/notes.md
+++ b/doc/api/notes.md
@@ -145,10 +145,11 @@ PUT /projects/:id/issues/:issue_iid/notes/:note_id
Parameters:
-- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding)
-- `issue_iid` (required) - The IID of an issue
-- `note_id` (required) - The ID of a note
-- `body` (required) - The content of a note. Limited to 1,000,000 characters.
+- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding).
+- `issue_iid` (required) - The IID of an issue.
+- `note_id` (required) - The ID of a note.
+- `body` (optional) - The content of a note. Limited to 1,000,000 characters.
+- `confidential` (optional) - The confidential flag of a note.
```shell
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/issues/11/notes?body=note"