POST api/Qiniu/CallBack

七牛上传回调

Request Information

URI Parameters

None.

Body Parameters

QiniuCallbackDto
NameDescriptionTypeAdditional information
key

文件key

string

None.

hash

文件hash

string

None.

bucket

空间名

string

None.

persistentId

持久化任务id

string

None.

duration

视频时长

decimal number

None.

UserId

用户id

integer

None.

UserState

半持久唯一码

string

None.

TableId

场景id

integer

None.

Cid

关联场景内容id

integer

None.

TimeStamp

关联场景内容id

string

None.

w

视频宽

integer

None.

h

视频高

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<QiniuCallbackDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Qiniu">
  <Cid>9</Cid>
  <TableId>8</TableId>
  <TimeStamp>sample string 10</TimeStamp>
  <UserId>6</UserId>
  <UserState>sample string 7</UserState>
  <bucket>sample string 3</bucket>
  <duration>5.1</duration>
  <h>12</h>
  <hash>sample string 2</hash>
  <key>sample string 1</key>
  <persistentId>sample string 4</persistentId>
  <w>11</w>
</QiniuCallbackDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'QiniuCallbackDto'.

Response Information

Resource Description

七牛上传回调

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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/" />