Browse code

add doc

Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)

Victor Vieux authored on 2014/05/03 06:51:20
Showing 2 changed files
... ...
@@ -36,6 +36,11 @@ You can still call an old version of the api using
36 36
 
37 37
 ### What's new
38 38
 
39
+`GET /_ping`
40
+
41
+**New!**
42
+You can now ping the server via the `_ping` endpoint.
43
+
39 44
 `GET /events`
40 45
 
41 46
 **New!**
... ...
@@ -1162,6 +1162,26 @@ Show the docker version information
1162 1162
     -   **200** – no error
1163 1163
     -   **500** – server error
1164 1164
 
1165
+### Ping the docker server
1166
+
1167
+`GET /_ping`
1168
+
1169
+Ping the docker server
1170
+
1171
+    **Example request**:
1172
+
1173
+        GET /_ping HTTP/1.1
1174
+
1175
+    **Example response**:
1176
+
1177
+        HTTP/1.1 200 OK
1178
+
1179
+        OK
1180
+
1181
+    Status Codes:
1182
+
1183
+    -   **200** - no error
1184
+
1165 1185
 ### Create a new image from a container's changes
1166 1186
 
1167 1187
 `POST /commit`