The AddMediaTag API adds a media tag.

Request parameters

Parameters Type Required or not Description
Action String Yes API of the action, system required parameter. Value: AddMediaTag
MediaId String Yes Media ID.
Tag String Yes Media tags,

which consists of up to 32 UTF-8 encoded bytes.

Response parameters

None

Examples

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

Response example

XML
<AddMediaTagResponse>
           <RequestId>218A353B-A487-423F-9D74-26518650EEF7</RequestId>
   </AddMediaTagResponse>
JSON
{
    "RequestId":"218A353B-A487-423F-9D74-26518650EEF7"
    }