From 17b9b96b33df47fd3166fd52f997913c9caceea1 Mon Sep 17 00:00:00 2001 From: jangelfdez Date: Fri, 3 Apr 2015 21:09:40 +0200 Subject: [PATCH] Doc changed to avoid errors with POST calls to Docker Hub Discovery Service API The data on the "Add new nodes to a cluster" request may be confusing. It's not a key=value pair as it can be understood with the current docs. Signed-off-by: jangelfdez --- discovery/token/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/token/README.md b/discovery/token/README.md index e76d4eeebf..78d6cc7f2c 100644 --- a/discovery/token/README.md +++ b/discovery/token/README.md @@ -10,11 +10,11 @@ The discovery service is still in alpha stage and currently hosted at `https://d `<- ` #####Add new nodes to a cluster -`-> POST https://discovery-stage.hub.docker.com/v1/clusters/ (data="")` +`-> POST https://discovery-stage.hub.docker.com/v1/clusters/ Request body: ":"` `<- OK` -`-> POST https://discovery-stage.hub.docker.com/v1/clusters/ (data="")` +`-> POST https://discovery-stage.hub.docker.com/v1/clusters/ Request body: ":")` `<- OK` @@ -22,7 +22,7 @@ The discovery service is still in alpha stage and currently hosted at `https://d #####List nodes in a cluster `-> GET https://discovery-stage.hub.docker.com/v1/clusters/` -`<- ["", ""]` +`<- [":", ":"]` #####Delete a cluster (all the nodes in a cluster)