From: Brian Warner Date: Fri, 9 Nov 2007 11:05:07 +0000 (-0700) Subject: docs/webapi.txt: document the POST t=upload&mutable=on command used to create mutable... X-Git-Tag: allmydata-tahoe-0.7.0~234 X-Git-Url: https://git.rkrishnan.org/simplejson?a=commitdiff_plain;h=9de9346a66560ce35389172634ed5734cc303ea7;p=tahoe-lafs%2Ftahoe-lafs.git docs/webapi.txt: document the POST t=upload&mutable=on command used to create mutable files --- 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