[lxc-devel] [lxd/master] doc: Document that X-LXD-type is valid for POST
stgraber on Github
lxc-bot at linuxcontainers.org
Wed Mar 15 21:37:26 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170315/107c1e0b/attachment.bin>
-------------- next part --------------
From ffd578dcb087f09848c1d7a8705c70dec807e7a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Wed, 15 Mar 2017 21:35:39 +0000
Subject: [PATCH] doc: Document that X-LXD-type is valid for POST
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes #3075
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
doc/rest-api.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/rest-api.md b/doc/rest-api.md
index ba8a609..5e6f20f 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -835,6 +835,7 @@ The following headers may be set by the client:
* X-LXD-uid: 0
* X-LXD-gid: 0
* X-LXD-mode: 0700
+ * X-LXD-type: one of "directory" or "file"
* X-LXD-write: overwrite (or append, introduced with API extension "file\_append")
This is designed to be easily usable from the command line or even a web
More information about the lxc-devel
mailing list