tencent cloud

Service Registry and Governance

DescribeCloudNativeAPIGatewayCORS

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-05-08 14:40:24

1. API Description

Domain name for API request: tse.intl.tencentcloudapi.com.

Query cloud-native gateway cross-domain configuration

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeCloudNativeAPIGatewayCORS.
Version Yes String Common Params. The value used for this API: 2020-12-07.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
GatewayId Yes String gateway ID
SourceType Yes String Resource type bound by the cross-origin plug-in: route
SourceId Yes String id of the route or services

3. Output Parameters

Parameter Name Type Description
Result DescribeKongCORSResult Output parameters
Note: This field may return null, indicating that no valid values can be obtained.
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.

4. Example

Example1 Query Cache Configuration

Input Example

POST / HTTP/1.1
Host: tse.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCloudNativeAPIGatewayCORS
<Common request parameters>

{
    "GatewayId": "gateway-37bf89a6",
    "SourceType": "service",
    "SourceId": "b7acf724-f356-479c-90a1-0e0200f0da4c"
}

Output Example

{
    "Response": {
        "Result": {},
        "RequestId": "88e7aa4b-de0a-46b2-817c-435ddc736694"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed.
FailedOperation.FailedOperation Operation failed.
FailedOperation.InternalError Operation failed. Internal error.
FailedOperation.Role Failed to get temporary key
FailedOperation.Vpc Failed to call the VPC service
InternalError Internal error.
InternalError.QueryError Query internal error.
InternalError.UnknownError Unknown error.
InvalidParameterValue.BadRequestFormat Request format incorrect.
InvalidParameterValue.InvalidParameterValue Invalid parameter value.
InvalidParameterValue.OperationFailed Invalid request parameter caused operation failure.
InvalidParameterValue.Region Invalid Region.
InvalidParameterValue.ResourceAlreadyExist The resource already exists.
InvalidParameterValue.Specification Gateway specification parameter content error
InvalidParameterValue.Type Gateway type parameter content error
MissingParameter Parameters are missing.
MissingParameter.MissParameter Missing required parameters.
ResourceNotFound.InstanceNotFound The instance does not exist.
ResourceNotFound.ResourceNotFound The resource does not exist.
UnauthorizedOperation.CamNoAuth Authentication fail.
UnauthorizedOperation.CamPassRoleNotExist The sub-account lacks passRole permission.
UnauthorizedOperation.Uin Unauthorized Uin
UnauthorizedOperation.UnauthorizedOperation Unauthorized operation.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백