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:
authorKia Mei Somabes <kia@aelogica.com>2018-07-12 12:26:09 +0300
committerRémy Coutable <remy@rymai.me>2018-07-12 12:26:09 +0300
commit37af75a2e024bf35f09e6f014626019e960ad9b9 (patch)
treef156e2fc0ced165327e9a48ce3ae153608ff2bb4 /doc/api/notes.md
parentd2c5ac61cd964e6c3ff22021734002b6e591a128 (diff)
Resolve "do not set updated_at when creating note"
Diffstat (limited to 'doc/api/notes.md')
-rw-r--r--doc/api/notes.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/notes.md b/doc/api/notes.md
index d29c5b94915..c271d46688f 100644
--- a/doc/api/notes.md
+++ b/doc/api/notes.md
@@ -218,6 +218,7 @@ Parameters:
- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding)
- `snippet_id` (required) - The ID of a snippet
- `body` (required) - The content of a note
+- `created_at` (optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
```bash
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/snippet/11/notes?body=note
@@ -340,6 +341,7 @@ Parameters:
- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding)
- `merge_request_iid` (required) - The IID of a merge request
- `body` (required) - The content of a note
+- `created_at` (optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
### Modify existing merge request note