Signed-off-by: Misty Stanley-Jones <misty@docker.com>
| ... | ... |
@@ -4142,7 +4142,7 @@ Inspect swarm |
| 4142 | 4142 |
|
| 4143 | 4143 |
`POST /swarm/init` |
| 4144 | 4144 |
|
| 4145 |
-Initialize a new swarm |
|
| 4145 |
+Initialize a new swarm. The body of the HTTP response includes the node ID. |
|
| 4146 | 4146 |
|
| 4147 | 4147 |
**Example request**: |
| 4148 | 4148 |
|
| ... | ... |
@@ -4164,8 +4164,12 @@ Initialize a new swarm |
| 4164 | 4164 |
**Example response**: |
| 4165 | 4165 |
|
| 4166 | 4166 |
HTTP/1.1 200 OK |
| 4167 |
- Content-Length: 0 |
|
| 4168 |
- Content-Type: text/plain; charset=utf-8 |
|
| 4167 |
+ Content-Length: 28 |
|
| 4168 |
+ Content-Type: application/json |
|
| 4169 |
+ Date: Thu, 01 Sep 2016 21:49:13 GMT |
|
| 4170 |
+ Server: Docker/1.12.0 (linux) |
|
| 4171 |
+ |
|
| 4172 |
+ "7v2t30z9blmxuhnyo6s4cpenp" |
|
| 4169 | 4173 |
|
| 4170 | 4174 |
**Status codes**: |
| 4171 | 4175 |
|