summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlessio Caiazza <nolith@abisso.org>2017-06-13 22:03:34 +0200
committerAlessio Caiazza <acaiazza@gitlab.com>2018-01-05 11:10:28 +0100
commit3514b7248cf00bcee8a6b3133e4e157f656d30c6 (patch)
treec59e911b4155aa02120e7d5b39375a12693594be /doc
parent5e0143a84bca7fd8b2dccd175e0f50c87dea4b98 (diff)
downloadgitlab-ce-3514b7248cf00bcee8a6b3133e4e157f656d30c6.tar.gz
Add status attribute to runner api entity
Diffstat (limited to 'doc')
-rw-r--r--doc/api/runners.md23
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index 50981ed96bc..7495c6cdedb 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -31,7 +31,8 @@ Example response:
"id": 6,
"is_shared": false,
"name": null,
- "online": true
+ "online": true,
+ "status": "online"
},
{
"active": true,
@@ -39,7 +40,8 @@ Example response:
"id": 8,
"is_shared": false,
"name": null,
- "online": false
+ "online": false,
+ "status": "offline"
}
]
```
@@ -72,7 +74,8 @@ Example response:
"id": 1,
"is_shared": true,
"name": null,
- "online": true
+ "online": true,
+ "status": "online"
},
{
"active": true,
@@ -81,6 +84,7 @@ Example response:
"is_shared": true,
"name": null,
"online": false
+ "status": "offline"
},
{
"active": true,
@@ -89,6 +93,7 @@ Example response:
"is_shared": false,
"name": null,
"online": true
+ "status": "paused"
},
{
"active": true,
@@ -96,7 +101,8 @@ Example response:
"id": 8,
"is_shared": false,
"name": null,
- "online": false
+ "online": false,
+ "status": "offline"
}
]
```
@@ -129,6 +135,7 @@ Example response:
"contacted_at": "2016-01-25T16:39:48.066Z",
"name": null,
"online": true,
+ "status": "online",
"platform": null,
"projects": [
{
@@ -184,6 +191,7 @@ Example response:
"contacted_at": "2016-01-25T16:39:48.066Z",
"name": null,
"online": true,
+ "status": "online",
"platform": null,
"projects": [
{
@@ -336,7 +344,8 @@ Example response:
"id": 8,
"is_shared": false,
"name": null,
- "online": false
+ "online": false,
+ "status": "offline"
},
{
"active": true,
@@ -345,6 +354,7 @@ Example response:
"is_shared": true,
"name": null,
"online": true
+ "status": "paused"
}
]
```
@@ -375,7 +385,8 @@ Example response:
"id": 9,
"is_shared": false,
"name": null,
- "online": true
+ "online": true,
+ "status": "online"
}
```