From a2a0a03e2b801545b2e3fb9e8476c76370da9175 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Thu, 1 Sep 2016 14:52:26 -0700 Subject: [PATCH] Add response to swarm/init example (fixes #25625 Signed-off-by: Misty Stanley-Jones --- docs/reference/api/docker_remote_api_v1.24.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/reference/api/docker_remote_api_v1.24.md b/docs/reference/api/docker_remote_api_v1.24.md index db88c3da3e..64f3725f82 100644 --- a/docs/reference/api/docker_remote_api_v1.24.md +++ b/docs/reference/api/docker_remote_api_v1.24.md @@ -4142,7 +4142,7 @@ Inspect swarm `POST /swarm/init` -Initialize a new swarm +Initialize a new swarm. The body of the HTTP response includes the node ID. **Example request**: @@ -4164,8 +4164,12 @@ Initialize a new swarm **Example response**: HTTP/1.1 200 OK - Content-Length: 0 - Content-Type: text/plain; charset=utf-8 + Content-Length: 28 + Content-Type: application/json + Date: Thu, 01 Sep 2016 21:49:13 GMT + Server: Docker/1.12.0 (linux) + + "7v2t30z9blmxuhnyo6s4cpenp" **Status codes**: