From 9de9346a66560ce35389172634ed5734cc303ea7 Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@lothar.com> Date: Fri, 9 Nov 2007 04:05:07 -0700 Subject: [PATCH] docs/webapi.txt: document the POST t=upload&mutable=on command used to create mutable files --- docs/webapi.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/webapi.txt b/docs/webapi.txt index 84c1472a..b90e6d96 100644 --- a/docs/webapi.txt +++ b/docs/webapi.txt @@ -331,6 +331,14 @@ c. POST forms used to upload a single file at a time. To avoid confusion, name= is not allowed to contain a slash (a 400 Bad Request error will result). + POST $URL + t=upload + name=childname (optional) + mutable="on" + file=newfile + This instructs the node to upload a file into the given directory, using a + mutable file (SSK) rather than the usual immutable file (CHK). + POST $URL t=mkdir name=childname -- 2.45.2