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-01-30 18:09:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 18:09:15 +0300
commit536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch)
tree88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/api/templates
parent50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/templates')
-rw-r--r--doc/api/templates/dockerfiles.md4
-rw-r--r--doc/api/templates/gitignores.md4
-rw-r--r--doc/api/templates/gitlab_ci_ymls.md4
-rw-r--r--doc/api/templates/licenses.md4
4 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/templates/dockerfiles.md b/doc/api/templates/dockerfiles.md
index ee271c31b49..4453d3692c7 100644
--- a/doc/api/templates/dockerfiles.md
+++ b/doc/api/templates/dockerfiles.md
@@ -16,7 +16,7 @@ Get all Dockerfile templates.
GET /templates/dockerfiles
```
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/dockerfiles
```
@@ -107,7 +107,7 @@ GET /templates/dockerfiles/:key
| ---------- | ------ | -------- | ----------- |
| `key` | string | yes | The key of the Dockerfile template |
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/dockerfiles/Binary
```
diff --git a/doc/api/templates/gitignores.md b/doc/api/templates/gitignores.md
index 45820b24f10..3acd666ad66 100644
--- a/doc/api/templates/gitignores.md
+++ b/doc/api/templates/gitignores.md
@@ -18,7 +18,7 @@ GET /templates/gitignores
Example request:
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/gitignores
```
@@ -123,7 +123,7 @@ GET /templates/gitignores/:key
Example request:
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/gitignores/Ruby
```
diff --git a/doc/api/templates/gitlab_ci_ymls.md b/doc/api/templates/gitlab_ci_ymls.md
index b8fdb9e233c..c88aee4d9a7 100644
--- a/doc/api/templates/gitlab_ci_ymls.md
+++ b/doc/api/templates/gitlab_ci_ymls.md
@@ -18,7 +18,7 @@ GET /templates/gitlab_ci_ymls
Example request:
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls
```
@@ -123,7 +123,7 @@ GET /templates/gitlab_ci_ymls/:key
Example request:
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls/Ruby
```
diff --git a/doc/api/templates/licenses.md b/doc/api/templates/licenses.md
index 92466c73bd3..0b95e4d8065 100644
--- a/doc/api/templates/licenses.md
+++ b/doc/api/templates/licenses.md
@@ -21,7 +21,7 @@ GET /templates/licenses
| --------- | ------- | -------- | --------------------- |
| `popular` | boolean | no | If passed, returns only popular licenses |
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/licenses?popular=1
```
@@ -124,7 +124,7 @@ GET /templates/licenses/:key
If you omit the `fullname` parameter but authenticate your request, the name of
the authenticated user will be used to replace the copyright holder placeholder.
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/templates/licenses/mit?project=My+Cool+Project
```