Merge pull request #5569 from vieux/add__ping_to_the_API

Add  ping to the api
This commit is contained in:
Victor Vieux
2014-05-05 10:09:31 -07:00
3 changed files with 34 additions and 1 deletions
@@ -36,6 +36,11 @@ You can still call an old version of the api using
### What's new
`GET /_ping`
**New!**
You can now ping the server via the `_ping` endpoint.
`GET /events`
**New!**
@@ -1162,6 +1162,27 @@ Show the docker version information
- **200** – no error
- **500** – server error
### Ping the docker server
`GET /_ping`
Ping the docker server
**Example request**:
GET /_ping HTTP/1.1
**Example response**:
HTTP/1.1 200 OK
OK
Status Codes:
- **200** - no error
- **500** - server error
### Create a new image from a container's changes
`POST /commit`