RegisterYikeAssetMediaInfo
Registers a content library resource.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InputURL |
string |
Yes |
The URL of the media asset. You can pass in the FileURL 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 project ID. If this parameter is not specified, the media asset is uploaded to the default project. |
ProductionId |
| FolderId |
string |
No |
The folder ID. |
fd-ABMFfAB2bA |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| MediaId |
string |
The media asset ID. |
****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.