Invokes this operation to migrate resources such as media assets from one application to another. Application administrators can directly transfer resources. Resource Access Management (RAM) users or RAM roles must have write permissions on both the source and destination applications. Batch migration is supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:MoveAppResource |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TargetAppId |
string |
Yes |
The ID of the destination application. Default value: app-1000000. For more information, see Multi-application. |
app-**** |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
video |
| ResourceIds |
string |
Yes |
The resource IDs. Separate multiple IDs with commas (,). You can specify a maximum of 20 IDs at a time. |
9afb4****06de180880e,f7bba****caa546cfe2ba |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-**** |
| NonExistResourceIds |
array |
The IDs of resources that do not exist. |
|
|
string |
The IDs of resources that do not exist. |
9afb4****06de180880e |
|
| FailedResourceIds |
array |
The IDs of resources that failed to be migrated. |
|
|
string |
The IDs of resources that failed to be migrated. |
f7bba****caa546cfe2ba |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-****",
"NonExistResourceIds": [
"9afb4****06de180880e"
],
"FailedResourceIds": [
"f7bba****caa546cfe2ba"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.