summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-13 08:18:16 +0000
committerRémy Coutable <remy@rymai.me>2017-06-13 08:18:16 +0000
commit578f460674e14b4c8ca71cda7ac5a0378b724712 (patch)
treeb141b69be6c1961a20e18eb9cf4e8db735921e58
parent6f5a68f528d6c11f3bfd013e30cc71845abe6ef8 (diff)
parenta4aa448c2d77c514931c36d2252a426fec53923d (diff)
downloadgitlab-ce-578f460674e14b4c8ca71cda7ac5a0378b724712.tar.gz
Merge branch 'fix_docs_commits_multiple_files' into 'master'
Documentation bugfix of invalid JSON payload example of Create a commit with multiple files and actions See merge request !12117
-rw-r--r--changelogs/unreleased/fix_docs_commits_multiple_files.yml5
-rw-r--r--doc/api/commits.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/changelogs/unreleased/fix_docs_commits_multiple_files.yml b/changelogs/unreleased/fix_docs_commits_multiple_files.yml
new file mode 100644
index 00000000000..36567354b28
--- /dev/null
+++ b/changelogs/unreleased/fix_docs_commits_multiple_files.yml
@@ -0,0 +1,5 @@
+---
+title: Documentation bugfix of invalid JSON payload example of Create a commit with
+ multiple files and actions
+merge_request: 12117
+author: @blackst0ne
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 9cb58dd3ae9..c91f9ecbdaf 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -97,7 +97,7 @@ PAYLOAD=$(cat << 'JSON'
},
{
"action": "delete",
- "file_path": "foo/bar2",
+ "file_path": "foo/bar2"
},
{
"action": "move",