aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-10-23 09:55:05 -0700
committerChris Lu <chris.lu@gmail.com>2014-10-23 09:55:05 -0700
commitb85eb293feda0c4b2c322a3d07d17df566df02a4 (patch)
tree0a57c65ea273ccefef4b4f919f33c645bbb1a813 /docs
parentaf106fe961c100c5efd4aa06e353ac91b76c42c3 (diff)
downloadseaweedfs-b85eb293feda0c4b2c322a3d07d17df566df02a4.tar.xz
seaweedfs-b85eb293feda0c4b2c322a3d07d17df566df02a4.zip
fix doc about submit api
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/api.rst b/docs/api.rst
index f26408f5a..b67463960 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -187,10 +187,11 @@ Upload File Directly
.. code-block:: bash
- curl -F file=@/home/chris/myphoto.jpg http://localhost:8080/submit
+ curl -F file=@/home/chris/myphoto.jpg http://localhost:9333/submit
{"fid":"3,01fbe0dc6f1f38","fileName":"myphoto.jpg","fileUrl":"localhost:8080/3,01fbe0dc6f1f38","size":68231}
-This API is a little convenient. The volume server would contact the master to get an file id and store it to the right volume server(not necessarily itself).
+This API is just for convenience. The master server would get an file id and store the file to the right volume server.
+It is a convenient API and does not support different parameters when assigning file id. (or you can add the support and send a push request.)
Delete File
***********************************