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

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: St├ęphane Graber <stgra...@ubuntu.com>
From 140ad4cbe85f618219d59df7d6970c966a2245b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Thu, 22 Sep 2016 17:27:22 -0400
Subject: [PATCH] doc: Fix rest-api for PATCH addition
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: St├ęphane Graber <stgra...@ubuntu.com>
---
 doc/rest-api.md | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/doc/rest-api.md b/doc/rest-api.md
index a49ea94..307729a 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -273,6 +273,7 @@ Input (replaces any existing config with the provided one):
 
 ### PATCH (ETag supported)
  * Description: Updates the server configuration or other properties
+ * Introduced: with API extension "patch"
  * Authentication: trusted
  * Operation: sync
  * Return: standard return value or standard error
@@ -605,8 +606,9 @@ Input (restore snapshot):
         "restore": "snapshot-name"
     }
 
-### PATCH
+### PATCH (ETag supported)
  * Description: update container configuration
+ * Introduced: with API extension "patch"
  * Authentication: trusted
  * Operation: sync
  * Return: standard return value or standard error
@@ -1283,8 +1285,9 @@ Input:
         "public": true,
     }
 
-### PATCH
+### PATCH (ETag supported)
  * Description: Updates the image properties, update information and visibility
+ * Introduced: with API extension "patch"
  * Authentication: trusted
  * Operation: sync
  * Return: standard return value or standard error
@@ -1396,8 +1399,9 @@ Input:
         "target": 
"54c8caac1f61901ed86c68f24af5f5d3672bdc62c71d04f06df3a59e95684473"
     }
 
-### PATCH
+### PATCH (ETag supported)
  * Description: Updates the alias target or description
+ * Introduced: with API extension "patch"
  * Authentication: trusted
  * Operation: sync
  * Return: standard return value or standard error
@@ -1620,8 +1624,9 @@ Input:
 Same dict as used for initial creation and coming from GET. The name
 property can't be changed (see POST for that).
 
-### PATCH
+### PATCH (ETag supported)
  * Description: update the profile information
+ * Introduced: with API extension "patch"
  * Authentication: trusted
  * Operation: sync
  * Return: standard return value or standard error
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to