diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-08-11 07:41:00 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-08-11 07:41:00 -0700 |
| commit | aac5fa49de28504f12e283f5fb22f22a1044c676 (patch) | |
| tree | c32e7ce769707eddb7bf15effc2b7932310c7a01 | |
| parent | df78466a12d9eea524cb31d32f17b127bcc76b0b (diff) | |
| download | seaweedfs-aac5fa49de28504f12e283f5fb22f22a1044c676.tar.xz seaweedfs-aac5fa49de28504f12e283f5fb22f22a1044c676.zip | |
remove the submit via volume server api.
| -rw-r--r-- | docs/api.rst | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/api.rst b/docs/api.rst index 4f3806be9..cb66d5627 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -69,17 +69,6 @@ One volume servers one write a time. If you need to increase concurrency, you ca This generates 4 empty volumes. -Upload File Directly -*********************************** - -.. code-block:: bash - - 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 master server would contact itself via HTTP to get an file id and store it to the right volume server. It is a convenient API and does not support different parameters when assigning file id. - Check System Status *********************************** |
