edit-icon download-icon

UpdateMediaCover

Last Updated: May 04, 2018

Description

The UpdateMediaCover API updates the media cover.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to UpdateMediaCover.
MediaId String Yes Media ID
CoverURL String No Media cover. The URL format follows the RFC 2396 standard and is subject to UTF-8 encoding and URL encoding. A URL consists of up to 3,200 bytes.

Return parameters

Name Type Description
Media Media Media

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com?CoverURL=http%3A%2F%2Fzzyoutputbucket.oss-cn-hangzhou.aliyuncs.com%2F47b42486019c4f688bf144c1a6ba059a%252F0.jpg&MediaId=3e1cd21131a94525be55acf65888bf46&<public parameter>

Return example

XML

  1. <UpdateMediaCoverResponse>
  2. <RequestId>4BEB6635-FB40-4C26-B116-1CEE997FF99F</RequestId>
  3. </UpdateMediaCoverResponse>

JSON

  1. {
  2. "RequestId":"5428F518-F18E-440D-A000-5667C48599CF"
  3. }
Thank you! We've received your feedback.