From 559eb716c781dfdae40def2adb2b5e13f17df3fa Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Tue, 21 Oct 2014 08:30:10 -0700 Subject: [PATCH] Add v1.2 documentation to the README. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f2028df..381fdf7e 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,19 @@ cAdvisor exposes its raw and processed stats via a versioned remote REST API: `http://:/api//` -The current version of the API is `v1.1`. +The current version of the API is `v1.2`. + +### Version 1.2 + +This version exposes the same endpoints as `v1.1` with one additional read-only endpoint. + +#### Docker Container Information + +The resource name for Docker container information is as follows: + +`/api/v1.1/docker/` + +The Docker name can be either the UUID or the short name of the container. It returns the information of the specified container(s). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](info/container.go)). ### Version 1.1