The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1776

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Jeff Shantz <j...@csd.uwo.ca>

I just added the `auto_update` parameter to the API documentation for `POST /1.0/images`.  I'm implementing an API client in Ruby and didn't realize it was allowed until I inspected the output of `lxc image copy ... --debug --verbose`.
From 94d900d81fbd17d6f5b6118e17b8612726441fa4 Mon Sep 17 00:00:00 2001
From: Jeff Shantz <j...@csd.uwo.ca>
Date: Fri, 18 Mar 2016 12:35:23 -0400
Subject: [PATCH] Document 'auto_update' parameter for 'POST /1.0/images'

Signed-off-by: Jeff Shantz <j...@csd.uwo.ca>
---
 doc/rest-api.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/rest-api.md b/doc/rest-api.md
index 96a3429..137455d 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -1080,7 +1080,8 @@ In the source image case, the following dict must be used:
 
     {
         "filename": filename,                   # Used for export (optional)
-        "public": true,                         # Whether the image can be 
downloaded by untrusted users (defaults to false
+        "public": true,                         # Whether the image can be 
downloaded by untrusted users (defaults to false)
+        "auto_update": true,                    # Whether the image should be 
auto-updated (optional; defaults to false)
         "properties": {                         # Image properties (optional, 
applied on top of source properties)
             "os": "Ubuntu"
         },
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to