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-08-04 09:10:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-04 09:10:16 +0300
commit10fb317361b93a1a54b17444dec80f5758151a85 (patch)
treed62fcaa655f9b9796bfcbe75f5aacb3882c6f94b /doc/api/templates
parent5da864991125a56a48b005389f84ecedf46f09eb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/templates')
-rw-r--r--doc/api/templates/gitlab_ci_ymls.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/api/templates/gitlab_ci_ymls.md b/doc/api/templates/gitlab_ci_ymls.md
index 816061c6235..dfe22fc453e 100644
--- a/doc/api/templates/gitlab_ci_ymls.md
+++ b/doc/api/templates/gitlab_ci_ymls.md
@@ -1,4 +1,7 @@
---
+stage: Verify
+group: Continuous Integration
+info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
type: reference
---
@@ -8,9 +11,9 @@ In GitLab, there is an API endpoint available to work with GitLab CI/CD YMLs. Fo
information on CI/CD pipeline configuration in GitLab, see the
[configuration reference documentation](../../ci/yaml/README.md).
-## List GitLab CI YML templates
+## List GitLab CI YAML templates
-Get all GitLab CI/CD YML templates.
+Get all GitLab CI/CD YAML templates.
```plaintext
GET /templates/gitlab_ci_ymls
@@ -19,7 +22,7 @@ GET /templates/gitlab_ci_ymls
Example request:
```shell
-curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls
+curl "https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls"
```
Example response:
@@ -109,9 +112,9 @@ Example response:
]
```
-## Single GitLab CI YML template
+## Single GitLab CI YAML template
-Get a single GitLab CI/CD YML template.
+Get a single GitLab CI/CD YAML template.
```plaintext
GET /templates/gitlab_ci_ymls/:key
@@ -119,12 +122,12 @@ GET /templates/gitlab_ci_ymls/:key
| Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ------------------------------------- |
-| `key` | string | yes | The key of the GitLab CI/CD YML template |
+| `key` | string | yes | The key of the GitLab CI/CD YAML template |
Example request:
```shell
-curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls/Ruby
+curl "https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls/Ruby"
```
Example response: