Commit 9e3cca53 authored by Alexis Sánchez's avatar Alexis Sánchez Committed by Evan Read

Documentation: Api - Resources Gitlab_ci_yml templates

parent 102c1b63
......@@ -12,10 +12,12 @@ information on CI/CD pipeline configuration in GitLab, see the
Get all GitLab CI YML templates.
```
```plaintext
GET /templates/gitlab_ci_ymls
```
Example request:
```bash
curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls
```
......@@ -28,6 +30,10 @@ Example response:
"key": "Android",
"name": "Android"
},
{
"key": "Android-Fastlane",
"name": "Android-Fastlane"
},
{
"key": "Auto-DevOps",
"name": "Auto-DevOps"
......@@ -48,6 +54,10 @@ Example response:
"key": "Clojure",
"name": "Clojure"
},
{
"key": "Code-Quality",
"name": "Code-Quality"
},
{
"key": "Crystal",
"name": "Crystal"
......@@ -95,14 +105,6 @@ Example response:
{
"key": "Mono",
"name": "Mono"
},
{
"key": "Nodejs",
"name": "Nodejs"
},
{
"key": "OpenShift",
"name": "OpenShift"
}
]
```
......@@ -111,14 +113,16 @@ Example response:
Get a single GitLab CI YML template.
```
```plaintext
GET /templates/gitlab_ci_ymls/:key
```
| Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ----------- |
| ---------- | ------ | -------- | ------------------------------------- |
| `key` | string | yes | The key of the GitLab CI YML template |
Example request:
```bash
curl https://gitlab.example.com/api/v4/templates/gitlab_ci_ymls/Ruby
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment