POST api/TeachingClassSchoolReport/CheckBlock

文件分片检查

Request Information

URI Parameters

None.

Body Parameters

分块信息

FileBlockCheckDto
NameDescriptionTypeAdditional 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

文件分片检查

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({});