From 6f18b4a86fb13eefe3330cf0e1aba8a036bb4842 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 5 Mar 2015 12:12:02 -0800 Subject: [PATCH] Mention version='auto' in docs --- docs/api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 9e550a96..8172b7b6 100644 --- a/docs/api.md +++ b/docs/api.md @@ -12,7 +12,8 @@ c = Client(base_url='unix://var/run/docker.sock') * base_url (str): Refers to the protocol+hostname+port where the Docker server is hosted. -* version (str): The version of the API the client will use +* version (str): The version of the API the client will use. Specify `'auto'` + to use the API version provided by the server. * timeout (int): The HTTP request timeout, in seconds. * tls (bool or [TLSConfig](tls.md#TLSConfig)): Equivalent CLI options: `docker --tls ...`