Queries the information about marks based on mark IDs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetMediaMarks |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
No |
The ID of the media asset. |
****20b48fb04483915d4f2cd8ac**** |
| MediaMarkIds |
string |
No |
The mark ID. You can specify multiple mark IDs separated with commas (,). |
mark-f82d*****4994b0915948ef7e16,mark-3d56d*****4c8fa9ae2a1f9e5d2d60 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| MediaId |
string |
The ID of the media asset. |
****20b48fb04483915d4f2cd8ac**** |
| MediaMarks |
string |
The queried marks.
|
[ { "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
| Field | Type | Required | Description |
| MarkId | String | No | The mark ID. |
| MarkStartTime | Float | No | The start time of the mark. |
| MarkEndTime | Float | No | The end time of the mark. |
| MarkTag | String | No | The custom tag for easy classification. |
| MarkContent | String | No | The mark content. |
| MarkStatus | String | No | The mark status. |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"MediaId": "****20b48fb04483915d4f2cd8ac****",
"MediaMarks": "[\n {\n \"MarkStartTime\": \"12.1\",\n \"MarkEndTime\": \"12.2\",\n \"MarkTag\": \"tag-1\",\n \"MarkContent\": \"content-1\",\n \"MarkStatus\": \"a\"\n },\n {\n \"MarkStartTime\": \"12.3\",\n \"MarkEndTime\": \"12.4\",\n \"MarkTag\": \"tag-2\",\n \"MarkContent\": \"content-2\",\n \"MarkStatus\": \"Online\"\n }\n]"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.