POST api/common/checkblock
文件分片检查
Request Information
URI Parameters
None.
Body Parameters
分块信息
FileBlockCheckDtoName | Description | Type | Additional information |
---|---|---|---|
name |
文件名 |
string |
None. |
chunks |
分片数量 |
integer |
None. |
type |
类型 |
string |
None. |
chunk |
分块索引 |
integer |
None. |
size |
分块大小 |
integer |
None. |
uniqueFileName |
唯一标识 |
string |
None. |
fileType |
文类型 |
string |
None. |
extend |
扩展 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "chunks": 2, "type": "sample string 3", "chunk": 4, "size": 5, "uniqueFileName": "sample string 6", "fileType": "sample string 7", "extend": "sample string 8" }
text/html
Sample:
{"name":"sample string 1","chunks":2,"type":"sample string 3","chunk":4,"size":5,"uniqueFileName":"sample string 6","fileType":"sample string 7","extend":"sample string 8"}
application/xml, text/xml
Sample:
<FileBlockCheckDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <chunk>4</chunk> <chunks>2</chunks> <extend>sample string 8</extend> <fileType>sample string 7</fileType> <name>sample string 1</name> <size>5</size> <type>sample string 3</type> <uniqueFileName>sample string 6</uniqueFileName> </FileBlockCheckDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
文件分片检查
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});