post https://{server}/seafhttp/upload-api/?ret-json=1
After getting the upload link, POST to this link for uploading files.
The request body must be in multipart/form-data format.
Upon successful upload, this API returns information about uploaded files in the response body.
- If ret-json parameter is set to 1, the returned information is encoded in JSON. For each uploaded file, a JSON object containing "name", "id", "size" fields will be returned.
- If ret-json parameter is set to 0, the returned information is a tab separated list of file IDs.