Domain name for API request: vod.intl.tencentcloudapi.com.
Describe the information of the incremental migration strategy.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeIncrementalMigrationStrategyInfos. |
| Version | Yes | String | Common Params. The value used for this API: 2024-07-18. |
| Region | No | String | Common Params. This parameter is not required. |
| SubAppId | Yes | Integer | The ID of VOD Professional Application. |
| Filters.N | No | Array of Filter | Filter criteria. The maximum number of Filters.Values is 20. If this parameter is not input, all stategy information under the current SubAppId will be returned. The detailed filter criteria are as follows: |
| SortBy | No | SortBy | Sort the returned results according to this field. SortBy.Field Values include: |
| Offset | No | Integer | Offset for paginated queries. Default value: 0. |
| Limit | No | Integer | Limit on paginated queries. Default value: 20. Maximum value: 100. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total count of matched strategies. |
| StrategyInfoSet | Array of IncrementalMigrationStrategyInfo | Information of all matched strategies. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Describe the information of the incremental migration strategy for the application.
{
"SubAppId": 1020304056,
"SortBy": {
"Field": "UpdateTime",
"Order": "Asc"
},
"Offset": 0,
"Limit": 10
}{
"Response": {
"RequestId": "b6376a73-reqid-demo-b097-de6bb60b3976",
"StrategyInfoSet": [
{
"BucketId": "bucketid1",
"HttpOriginConfig": {
"Mode": "ASYNC",
"OriginCondition": {
"HttpStatusCode": 404,
"Prefix": "prefix/"
},
"OriginInfo": {
"EndpointInfo": {
"Endpoint": "example.com",
"StandbyEndpointSet": [
"standby.com",
"standby2.com"
]
},
"FileInfo": {
"PrefixConfig": {
"Prefix": "prefix"
},
"SuffixConfig": {
"Suffix": "suffix"
}
}
},
"OriginParameter": {
"HttpHeaderInfo": {
"FollowHttpHeaderKeySet": [
"Host"
],
"HeaderFollowMode": "FOLLOW_ALL",
"NewHttpHeaderSet": [
{
"Key": "Host",
"Value": "demo.com"
}
]
},
"HttpRedirectCode": 302,
"OriginRedirectionFollowMode": "FOLLOW",
"Protocol": "HTTP",
"QueryStringFollowMode": "FOLLOW"
}
},
"OriginType": "HTTP",
"StrategyId": "im-123-demoid",
"StrategyName": "my-strategy-1",
"SubAppId": 123456789
},
{
"BucketId": "bucketid2",
"HttpOriginConfig": {
"Mode": "SYNC",
"OriginCondition": {
"HttpStatusCode": 404
},
"OriginInfo": {
"EndpointInfo": {
"Endpoint": "example.com"
}
},
"OriginParameter": {
"HttpHeaderInfo": {
"HeaderFollowMode": "IGNORE_ALL",
"NewHttpHeaderSet": [
{
"Key": "host",
"Value": "demo.com"
}
]
},
"HttpRedirectCode": 301,
"OriginRedirectionFollowMode": "FOLLOW",
"Protocol": "HTTPS",
"QueryStringFollowMode": "FOLLOW"
}
},
"OriginType": "HTTP",
"StrategyId": "im-123-demoid2",
"StrategyName": "my-strategy-2",
"SubAppId": 123456789
}
],
"TotalCount": 2
}
}
Describe the information of the incremental migration strategy for the specified bucket of the application.
{
"SubAppId": 1020304056,
"Filters": [
{
"Name": "BucketId",
"Values": [
"bucketid2"
]
}
],
"SortBy": {
"Field": "UpdateTime",
"Order": "Asc"
},
"Offset": 0,
"Limit": 10
}{
"Response": {
"RequestId": "a70a4fb9-reqid-demo-aa39-3282aa745a26",
"StrategyInfoSet": [
{
"BucketId": "bucketid2",
"HttpOriginConfig": {
"Mode": "SYNC",
"OriginCondition": {
"HttpStatusCode": 404
},
"OriginInfo": {
"EndpointInfo": {
"Endpoint": "example2.com"
}
},
"OriginParameter": {
"HttpHeaderInfo": {
"HeaderFollowMode": "IGNORE_ALL",
"NewHttpHeaderSet": [
{
"Key": "host",
"Value": "demo.com"
}
]
},
"HttpRedirectCode": 301,
"OriginRedirectionFollowMode": "FOLLOW",
"Protocol": "HTTPS",
"QueryStringFollowMode": "FOLLOW"
}
},
"OriginType": "HTTP",
"StrategyId": "im-123-demoid2",
"StrategyName": "my-strategy-2",
"SubAppId": 123456789
}
],
"TotalCount": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | Incorrect parameter value. |
Feedback