From: kevan Date: Mon, 20 Jul 2009 03:44:47 +0000 (-0700) Subject: Update webapi docs to reference new PUT behavior. X-Git-Tag: allmydata-tahoe-1.5.0~33 X-Git-Url: https://git.rkrishnan.org/%5B/frontends/cyclelanguage?a=commitdiff_plain;h=3a9f1f2952a7b8900f71e7879bb2587da3866415;p=tahoe-lafs%2Ftahoe-lafs.git Update webapi docs to reference new PUT behavior. --- diff --git a/docs/frontends/webapi.txt b/docs/frontends/webapi.txt index 1353f233..6d196756 100644 --- a/docs/frontends/webapi.txt +++ b/docs/frontends/webapi.txt @@ -572,7 +572,10 @@ PUT /uri/$DIRCAP/[SUBDIRS../]CHILDNAME?t=uri there is already an object at the given location, rather than overwriting the existing object. Note that "true", "t", and "1" are all synonyms for "True", and "false", "f", and "0" are synonyms for "False". the parameter is - case-insensitive. + case-insensitive. If you want this behavior only if there is an existing + directory at the same location (that is, you want the operation to return an + error if there is a directory at the same name, but to succeed if there is a + file), add a "replace=only-files" argument, as "?t=uri&replace=only-files". === Deleting a File or Directory ===