方法列表
创建文件片段
admin
RPC
createFileChunk (CreateFileChunkRequest) returns (CreateFileChunkResponse)
HTTP
POST /FileChunkService/createFileChunk
输入对象:CreateFileChunkRequest:
{ // 文件ID int64 fileId; bytes data; }
输出对象:CreateFileChunkResponse:
获取的一个文件的所有片段IDs
dns
user
node
admin
RPC
findAllFileChunkIds (FindAllFileChunkIdsRequest) returns (FindAllFileChunkIdsResponse)
HTTP
POST /FileChunkService/findAllFileChunkIds
输入对象:FindAllFileChunkIdsRequest:
{ // 文件ID int64 fileId; }
输出对象:FindAllFileChunkIdsResponse:
下载文件片段
dns
user
node
admin
RPC
downloadFileChunk (DownloadFileChunkRequest) returns (DownloadFileChunkResponse)
HTTP
POST /FileChunkService/downloadFileChunk
输入对象:DownloadFileChunkRequest:
输出对象:DownloadFileChunkResponse: