Updates the content of the cross-domain file crossdomain.xml for ApsaraVideo VOD.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SetCrossdomainContent |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Content |
string |
Yes |
The content of the cross-domain file. The content is in XML format and cannot exceed 2,048 characters. |
<cross-domain-policy><allow-access-from domain="*"/><allow-http-request-headers-from domain="*" headers="*" secure="false"/></cross-domain-policy> |
| StorageLocation |
string |
Yes |
The OSS storage address. |
outin-67870fd5b****1e98a3900163e1c35d5.oss-cn-shanghai.aliyuncs.com |
| ResourceRealOwnerId |
string |
No |
The ID of the resource owner. |
3461111 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-****-D7393642CA58 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-****-D7393642CA58"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.