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>2021-02-18 15:09:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-18 15:09:34 +0300
commit213bd7e9d3d071e88f342511bdc48905b9d7e39c (patch)
tree5319e200d5f7916bb24502427af336d6d75bd5a6 /doc/api/project_templates.md
parent00c8da9174df559fa0153fdf410b76830d8f85a3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/project_templates.md')
-rw-r--r--doc/api/project_templates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/project_templates.md b/doc/api/project_templates.md
index 6251d31660c..ccaefbdcc96 100644
--- a/doc/api/project_templates.md
+++ b/doc/api/project_templates.md
@@ -100,7 +100,7 @@ GET /projects/:id/templates/:type/:name
| Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ----------- |
| `id` | integer / string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
-| `type` | string | yes| The type `(dockerfiles|gitignores|gitlab_ci_ymls|licenses|issues|merge_requests)` of the template |
+| `type` | string | yes| The type of the template. One of: `dockerfiles`, `gitignores`, `gitlab_ci_ymls`, `licenses`, `issues`, or `merge_requests`. |
| `name` | string | yes | The key of the template, as obtained from the collection endpoint |
| `source_template_project_id` | integer | no | The project ID where a given template is being stored. This is useful when multiple templates from different projects have the same name. If multiple templates have the same name, the match from `closest ancestor` is returned if `source_template_project_id` is not specified |
| `project` | string | no | The project name to use when expanding placeholders in the template. Only affects licenses |