Registers a media asset in the asset library.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:RegisterYikeAssetMediaInfo |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InputURL |
string |
Yes |
The URL of the media asset. You can use the FileURL value that is returned by the CreateYikeAssetUpload operation. |
http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4 |
| MediaType |
string |
Yes |
The type of the media asset. |
video |
| ProductionId |
string |
No |
The ID of the production. If this parameter is omitted, the media asset is uploaded to the default production. |
ProductionId |
| FolderId |
string |
No |
The ID of the folder. |
fd-ABMFfAB2bA |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
******3B-0E1A-586A-AC29-742247****** |
| MediaId |
string |
The ID of the media asset. |
****c469e944b5a856828dc2**** |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"MediaId": "****c469e944b5a856828dc2****\n"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.