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
path: root/doc
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2018-12-05 06:40:35 +0300
committerEvan Read <eread@gitlab.com>2018-12-05 06:40:35 +0300
commitcae69a15c4cddde274d08c6d8b6ae815da08e3b7 (patch)
tree63e0d9bbfb4c4c956c54da3b1291c28521f28f09 /doc
parent23d921989b66881a647afaeafec357f15293790a (diff)
parent09d53d01db3f5f6b3a2a409628282b8dfc9e2e86 (diff)
Merge branch 'docs-fix-submodule-api-example' into 'master'
Docs - Fix repository submodule API example See merge request gitlab-org/gitlab-ce!23561
Diffstat (limited to 'doc')
-rw-r--r--doc/api/repository_submodules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repository_submodules.md b/doc/api/repository_submodules.md
index 2e6797f18f4..11b04c81172 100644
--- a/doc/api/repository_submodules.md
+++ b/doc/api/repository_submodules.md
@@ -22,7 +22,7 @@ PUT /projects/:id/repository/submodules/:submodule
| `commit_message` | string | no | Commit message. If no message is provided, a default one will be set |
```sh
-curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repositories/submodules/lib%2Fmodules%2Fexample"
+curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/submodules/lib%2Fmodules%2Fexample"
--data "branch=master&commit_sha=3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88&commit_message=Update submodule reference"
```