diff --git a/src/www/gf-cloud-api.html b/src/www/gf-cloud-api.html index 698bda510..2b98b0057 100644 --- a/src/www/gf-cloud-api.html +++ b/src/www/gf-cloud-api.html @@ -8,6 +8,7 @@ dl.api>dt, .request { background-color: #cef; } .response { background-color: #ffc; } dd { margin-top: 0.5ex; margin-bottom: 0.5ex; } +em { color: #36f; } @@ -107,22 +108,39 @@ For documentation of GF shell commands, see: The working directory is persistent, so clients are expected to remember and reuse it. Access to previously uploaded files requires that the same working directory is used. +
/parse?path=source
/cloud?dir=...&command=upload&path1=source1&path2=source2&...
/cloud?dir=...&command=make&path1=source1&path2=source2&...
- /cloud?dir=...&command=make&path1=source1&path2=source2&...
+
+ { "errorcode":"OK", // "OK" or "Error"
+
"command":"gf -s -make FoodsEng.gf FoodsSwe.gf FoodsChi.gf",
+
"output":"\n\n" // Warnings and errors from GF
+
}
+
+ /cloud?dir=...&command=remake&path1=source1&path2=source2&...
+ command=remake, except you can leave
+ the sourcei parts empty to reuse previously uploaded
+ files.
+
/cloud?dir=...&command=download&file=path
/cloud?dir=...&command=ls&ext=.pgf
["Foods.pgf","Letter.pgf"].
+
/cloud?dir=...&command=rm&file=path
/cloud?dir=...&command=link_directories&newdir=...