diff options
author | Matijs <matijs@cell-0.com> | 2018-11-27 11:09:42 +0000 |
---|---|---|
committer | Matijs <matijs@cell-0.com> | 2018-11-27 11:09:42 +0000 |
commit | aeffa2a9669cd413d1df93f3b824d054d98e6a9c (patch) | |
tree | a6075bb116d7f9cd605ce0a4adeaff1de9eb38ef | |
parent | 3a3a767c4a4fa4ca7a2858d5c5940e557661187a (diff) | |
download | gitlab-ce-aeffa2a9669cd413d1df93f3b824d054d98e6a9c.tar.gz |
Fix wrong example url (`repositories` instead of `repository`)
-rw-r--r-- | doc/api/repository_submodules.md | 2 |
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" ``` |