Multilple File Ids to reserve

28 views
Skip to first unread message

Srikanth Seshadri

unread,
Jul 27, 2018, 9:21:36 PM7/27/18
to Seaweed File System
The following API reserves multiple file Ids. But it does not return them. 
How do I use the API to upload multiple files to the volume server?

Request

#
To specify how many file ids to reserve
curl "http://localhost:9333/dir/assign?count=5"

Response
{"fid":"8,5a0230d7e4","url":"localhost:8333","publicUrl":"localhost:8333","count":5}

regards
Srikanth
Reply all
Reply to author
Forward
0 new messages