RegisterYikeAssetMediaInfo

Updated at:

Registers a content library resource.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.