POST api/RemoteFile/Update

后台更新视频上传配置

Request Information

URI Parameters

None.

Body Parameters

mh163k_file_config
NameDescriptionTypeAdditional information
Id

主键

integer

None.

IsOpen

是否开启七牛上传

boolean

None.

ManageUserPwd

私有队列名称

string

None.

FileSpace

空间名称

string

None.

HttpScheme

远程附件访问域名协议头

string

None.

HttpHost

远程附件访问域名

string

None.

AccessKey

序列号

string

None.

SecretKey

加密秘钥(前端不需要管这个字段)

string

None.

UploadUrl

上传域名

string

None.

IsVideoWatermark

是否加水印 IsVideoWatermark tinyint null,

boolean

None.

VideoWatermarkPic

水印图片

string

None.

VideoWatermarkPosition

水印位置

WatermarkPosition

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:
<mh163k_file_config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
  <AccessKey>sample string 7</AccessKey>
  <FileSpace>sample string 4</FileSpace>
  <HttpHost>sample string 6</HttpHost>
  <HttpScheme>sample string 5</HttpScheme>
  <Id>1</Id>
  <IsOpen>true</IsOpen>
  <IsVideoWatermark>true</IsVideoWatermark>
  <ManageUserPwd>sample string 3</ManageUserPwd>
  <SecretKey>sample string 8</SecretKey>
  <UploadUrl>sample string 9</UploadUrl>
  <VideoWatermarkPic>sample string 11</VideoWatermarkPic>
  <VideoWatermarkPosition>Tile</VideoWatermarkPosition>
</mh163k_file_config>

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 'mh163k_file_config'.

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