UpdateMediaMarks
Updates media asset mark information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:UpdateMediaMarks |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
The media asset ID. |
53afdf003a******6a16b5feac6402 |
| MediaMarks |
string |
Yes |
The mark information. |
[ { "MarkStartTime": "12.1", "MarkEndTime": "12.2", "MarkTag": "tag-1", "MarkContent": "content-1", "MarkStatus": "a" }, { "MarkStartTime": "12.3", "MarkEndTime": "12.4", "MarkTag": "tag-2", "MarkContent": "content-2", "MarkStatus": "online" } ] |
MediaMark
| Name | Type | Required | Description |
| MarkId | String | No | The mark point ID. |
| MarkStartTime | Float | No | The mark-in point. |
| MarkEndTime | Float | No | The mark-out point. |
| MarkTag | String | No | The custom tag for classification. |
| MarkContent | String | No | The content of the mark point. |
| MarkStatus | String | No | The status of the mark point. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| MediaId |
string |
The media asset ID. |
53afdf003a******6a16b5feac6402 |
| MediaMarkIds |
string |
The IDs of the marks that were successfully updated. |
mark-f82d*****4994b0915948ef7e16,mark-3d56d*****4c8fa9ae2a1f9e5d2d60 |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"MediaId": "53afdf003a******6a16b5feac6402",
"MediaMarkIds": "mark-f82d*****4994b0915948ef7e16,mark-3d56d*****4c8fa9ae2a1f9e5d2d60"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UpdateMediaMarksFailed | The request processing has failed due to some unknown error. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.