edit-icon download-icon

AddMediaTag

Last Updated: Feb 08, 2018

Description

The AddMediaTag API adds a media tag.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to AddMediaTag.
MediaId String Yes Media ID.
Tag String Yes Media tag, which consists of up to 32 UTF-8 encoded bytes.

Return parameters

None

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com/?Tag=tag1&MediaId=3e6149d5a8c944c09b1a8d2dc3e4ac65&<public parameter>

Return example

None

XML

  1. <AddMediaTagResponse>
  2. <RequestId>218A353B-A487-423F-9D74-26518650EEF7</RequestId>
  3. </AddMediaTagResponse>

JSON

  1. {
  2. "RequestId":"218A353B-A487-423F-9D74-26518650EEF7"
  3. }
Thank you! We've received your feedback.