summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-12-08 01:09:18 +0000
committerNick Thomas <nick@gitlab.com>2016-12-15 13:57:03 +0000
commit93a03cd92f6418fbeaf126c30c161ab40d377e94 (patch)
tree0f49cd51558b97b8674e72b200e7d9150562e00e /doc/api
parent35a3e9183052bab847c30203f27fea9cf77901a4 (diff)
downloadgitlab-ce-93a03cd92f6418fbeaf126c30c161ab40d377e94.tar.gz
Add an environment slug
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/enviroments.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/enviroments.md b/doc/api/enviroments.md
index 87a5fa67124..1299aca8c45 100644
--- a/doc/api/enviroments.md
+++ b/doc/api/enviroments.md
@@ -22,8 +22,9 @@ Example response:
[
{
"id": 1,
- "name": "Env1",
- "external_url": "https://env1.example.gitlab.com"
+ "name": "review/fix-foo",
+ "slug": "review-fix-foo-dfjre3",
+ "external_url": "https://review-fix-foo-dfjre3.example.gitlab.com"
}
]
```
@@ -54,6 +55,7 @@ Example response:
{
"id": 1,
"name": "deploy",
+ "slug": "deploy",
"external_url": "https://deploy.example.gitlab.com"
}
```
@@ -85,6 +87,7 @@ Example response:
{
"id": 1,
"name": "staging",
+ "slug": "staging",
"external_url": "https://staging.example.gitlab.com"
}
```
@@ -112,6 +115,7 @@ Example response:
{
"id": 1,
"name": "deploy",
+ "slug": "deploy",
"external_url": "https://deploy.example.gitlab.com"
}
```