Updated on 2026-08-17 GMT+08:00

Querying Domain Name Configuration

Function

This API is used to query the domain name configuration. You can query the service type, service area, remarks, IPv6, origin protocol, origin URL rewriting, advanced origin, range request, redirect from origin, ETag verification, origin response timeout, origin request header, HTTPS, TLS version, force redirect, HSTS, HTTP/2, OCSP stapling, QUIC, cache rule, status code cache TTL, referer validation, IP ACL, User-Agent ACL, token authentication, remote authentication, IP access frequency, HTTP header, custom error page, smart compression, request rate limiting, WebSocket, video seek, origin SNI, access URL rewriting, browser cache TTL, geo-blocking settings, client certificate, TLS version and cipher suite settings, and usage cap settings.

  • A single tenant can call this API 300 times per minute.

Calling Method

For details, see Calling APIs.

URI

GET /v1.1/cdn/configuration/domains/{domain_name}/configs

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

domain_name

Yes

String

Definition

Acceleration domain name.

Constraints

N/A

Range

N/A

Default Value

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

enterprise_project_id

No

String

Definition

Enterprise project ID. Obtain the enterprise project ID by calling the ListEnterpriseProject API of EPS.

Constraints

This parameter indicates the ID of the enterprise project to which the resource to be queried belongs. It is valid only when the enterprise project function is enabled. The value all indicates all projects.

Range

N/A

Default Value

N/A

show_special_configs

No

String

Definition

Whether to display special configuration.

Constraints

N/A

Range

auth_key: used to query the values of the primary and secondary authentication keys.

Default Value

N/A

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition

User token, which can be obtained by calling the IAM API (value of X-Subject-Token in the response header).

Constraints

N/A

Range

N/A

Default Value

N/A

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

configs

ConfigsGetBody object

Configuration items.

Table 5 ConfigsGetBody

Parameter

Type

Description

business_type

String

Service type:

  • web: website acceleration.

  • download: file download acceleration.

  • video: on-demand service acceleration.

  • wholesite: whole site acceleration.

service_area

String

Service area.

  • mainland_china: Chinese mainland.

  • global: global.

  • outside_mainland_china: outside the Chinese mainland.

remark

String

Domain name remarks.

origin_request_header

Array of OriginRequestHeader objects

Origin request header settings.

http_response_header

Array of HttpResponseHeader objects

HTTP header settings.

url_auth

UrlAuthGetBody object

Response body for querying token authentication settings.

https

HttpGetBody object

Response body for querying certificate settings.

sources

Array of SourcesConfigResponseBody objects

Origin server settings.

origin_protocol

String

Origin protocol. Possible values: follow (same as user requests), http (HTTP, default value), and https (HTTPS).

origin_follow302_status

String

Redirect from origin. Possible values: on (enabled) and off (disabled).

cache_rules

Array of CacheRules objects

Cache rules.

ip_filter

IpFilter object

Definition

IP access control list (ACL), which blocks or allows access from specific IP addresses.

referer

RefererConfig object

Definition

Referrer whitelist or whitelist, which identifies and filters user identities to control access.

force_redirect

ForceRedirectConfig object

Definition

This parameter is used to force clients to use HTTPS or HTTP when accessing CDN PoPs.

compress

Compress object

Definition

Smart compression. CDN can compress static content on websites by reducing file size. This speeds up file transfer and saves a lot of bandwidth.

cache_url_parameter_filter

CacheUrlParameterFilterGetBody object

Response body for querying the settings of caching URL parameters.

NOTE:
This old parameter will be deprecated recently.

ipv6_accelerate

Integer

IPv6 settings. Possible values: 1 (enabled) and 0 (disabled).

error_code_cache

Array of ErrorCodeCache objects

Status code cache TTL.

origin_range_status

String

Range requests. Possible values: on (enabled) and off (disabled).

user_agent_filter

UserAgentFilter object

Definition

User-Agent ACL, which filters out requests from specific proxies.

origin_request_url_rewrite

Array of OriginRequestUrlRewrite objects

Origin request URL rewriting.

flexible_origin

Array of flexibleOrigins objects

Advanced origins.

slice_etag_status

String

Whether ETag is verified during origin pull. Possible values: on (yes) and off (no).

origin_receive_timeout

Integer

Origin response timeout, in seconds.

remote_auth

commonRemoteAuth object

Definition

Remote authentication. CDN can forward user requests to the authentication server you specify and determine whether to return requested content to users based on the server response.

websocket

webSocketSeek object

Definition

Whether to allow clients to access CDN PoPs using WebSocket.

NOTE:
WebSocket works only for resources whose TTL is set to 0, TTL source is set to CDN, and forcible cache is enabled.

video_seek

videoSeek object

Definition

Video seek settings. Users can seek to any position in a video without affecting the playback effect.

request_limit_rules

Array of RequestLimitRules objects

Definition

Request rate limiting settings.

ip_frequency_limit

IpFrequencyLimitQuery object

IP access frequency.

hsts

HstsQuery object

HSTS settings. HSTS forces clients (such as browsers) to use HTTPS to access your server, improving access security.

quic

Quic object

Definition

QUIC. Using QUIC to access CDN PoPs improves transmission security, reduces transmission and connection latency, and prevents network congestion.

error_code_redirect_rules

Array of ErrorCodeRedirectRules objects

Custom error page.

sni

Sni object

Definition

Origin SNI. If your origin server IP address is bound to multiple domain names and CDN visits the origin server using HTTPS, specify the domain name to be visited by CDN during handshake.

request_url_rewrite

Array of RequestUrlRewrite objects

Access URL rewriting.

browser_cache_rules

Array of BrowserCacheRules objects

Browser cache TTL.

access_area_filter

Array of AccessAreaFilter objects

Definition

Geo-blocking, which prevents users in certain geographical locations from accessing your content.

NOTE:
IP addresses belong to carriers and change irregularly. Although Huawei Cloud periodically updates the IP address library, the update may be delayed. As a result, some access control functions may occasionally block or allow requests, or client requests may not be scheduled to the optimal PoP.

client_cert

ClientCert object

Definition

Client certificate, which enforces mutual certificate authentication between clients and CDN PoPs, securing website communication.

https_tls_version

HttpsTlsVersion object

Definition

TLS version and cipher suite configuration.A TLS version must match compatible cipher suites. For details, see section "TLS Versions and Cipher Suites" in the CDN User Guide.

flow_limit_strategy

Array of FlowLimitStrategy objects

Definition

Usage cap. When the actual data exceeds the cap you set, CDN blocks the domain name to prevent excess billing caused by traffic theft or attacks.

NOTE:
Blocking may be delayed by about 10 minutes after the monitored data reaches the cap.
Table 6 OriginRequestHeader

Parameter

Type

Description

name

String

Definition

Name of an origin request header.

Range

  • Enter 1 to 100 characters.

  • Use only letters, digits, and hyphens (-).

  • Start with a letter.

value

String

Definition

Value of the origin request header.

Range

  • Enter 1 to 1,000 characters.

  • Use only letters, digits, and the following special characters: .-_*#!&+|^~'"/:;,=@?<>

  • This parameter is optional when the header is to be deleted.

  • Chinese characters are not allowed.

  • Variables, such as $client_ip and $remote_port, are not allowed.

action

String

Definition

Operation type of the origin request header.

action is set to set, if the header does not exist in the original origin request, it is added. If it exists, it is modified.

Range

  • delete

  • set

Table 7 HttpResponseHeader

Parameter

Type

Description

name

String

Definition

Name of an HTTP response header.

Range

  • Enter 1 to 100 characters.

  • Use only letters, digits, and hyphens (-). Start with a letter.

value

String

Definition

Value of the HTTP response header.

Range

  • Enter 1 to 1,000 characters.

  • Use only letters, digits, and the following special characters .-_*#!&+|^~'"/:;,=@?<>

  • This parameter is optional when the header is to be deleted.

action

String

Definition

Operation type of the HTTP response header.

action is set to set, if the header does not exist in the original HTTP response, it is added. If it exists, it is modified.

Range

  • set

  • delete

Table 8 UrlAuthGetBody

Parameter

Type

Description

status

String

Whether token authentication is enabled. Possible values: on (enabled) and off (disabled).

type

String

Signing method.

type_a: method A.

type_b: method B.

type_c1: method C1.

type_c2: method C2.

expire_time

Integer

Expiration time, in seconds.

sign_method

String

Encryption algorithm.

match_type

String

Authentication scope.

inherit_config

InheritConfigQuery object

Authentication inheritance. Authentication parameters are added to TS and MP4 files under M3U8/MPD index files, so that the files can be played after authentication succeeds.

key

String

Signing key.

backup_key

String

Secondary key.

sign_arg

String

Authentication parameters.

time_format

String

Time format.

dec: decimal.

hex: hexadecimal.

time_arg

String

Time parameter.

Table 9 InheritConfigQuery

Parameter

Type

Description

status

String

Whether authentication inheritance is enabled. The options are on (enabled) and off (disabled).

inherit_type

String

Definition

Adds the authentication parameter to TS and MP4 files under M3U8/MPD index files, so that the files can be played after authentication succeeds.

m3u8,mpd.

  • This parameter is mandatory when authentication inheritance is enabled.

  • m3u8

  • mpd

Range

inherit_time_type

String

Time type of the files that inherits authentication settings.

sys_time: current system time. parent_url_time: time when a user accesses the M3U8/MPD file.

Table 10 HttpGetBody

Parameter

Type

Description

https_status

String

Whether HTTPS is enabled. Possible values: on (enabled) and off (disabled).

certificate_type

String

Certificate type. server: international certificate. server_sm: Chinese (SM2) certificate.

certificate_source

Integer

Certificate source. 1: Huawei-managed certificate; 0: your own certificate. 2: SCM certificate.

scm_certificate_id

String

SCM certificate ID.

certificate_name

String

Certificate name.

certificate_value

String

Content of the certificate used by the HTTPS protocol. The value must be PEM encoded.

expire_time

Long

Certificate expiration time.

NOTE:
The value is in UTC format.

enc_certificate_value

String

Encryption Chinese (SM2) certificate. The value must be PEM encoded.

certificates

Array of CertificatesGetBody objects

Response body for querying dual-certificate settings.

http2_status

String

Whether HTTP/2 is used. Possible values: on (yes) and off (no).

tls_version

String

TLS.

ocsp_stapling_status

String

Whether OCSP stapling is enabled. Possible values: on (yes) and off (no).

Table 11 CertificatesGetBody

Parameter

Type

Description

certificate_source

Integer

Certificate source. 0: your own certificate. 2: SCM certificate.

scm_certificate_id

String

SCM certificate ID.

certificate_type

String

Certificate type. server: international certificate; server_sm: Chinese (SM2) certificate.

certificate_name

String

Certificate name.

certificate_value

String

Content of the certificate used by the HTTPS protocol. The value must be PEM encoded.

enc_certificate_value

String

Encryption Chinese (SM2) certificate. The value must be PEM encoded.

expire_time

Long

Certificate expiration time.

NOTE:
The value is in UTC format.
Table 12 SourcesConfigResponseBody

Parameter

Type

Description

origin_type

String

Origin server type.

  • ipaddr: IP address.

  • domain: origin server domain name.

  • obs_bucket: OBS bucket domain name.

  • third_bucket: third-party bucket. To use this type of origin servers, submit a service ticket.

origin_addr

String

IP address or domain name of the origin server.

priority

Integer

Origin server priority. Possible values: 70 (primary) and 30 (standby).

weight

Integer

Weight. The value ranges from 1 to 100.

obs_web_hosting_status

String

Whether static website hosting is enabled for the OBS bucket. This parameter is mandatory when the origin server type is obs_bucket. Possible values: off (disabled) and on (enabled).

http_port

Integer

HTTP port. Default value: 80. The port number ranges from 1 to 65535.

https_port

Integer

HTTPS port. Default value: 443. The port number ranges from 1 to 65535.

host_name

String

Host header. The default value is the acceleration domain name.

obs_bucket_type

String

OBS bucket type.

  • private: private bucket (Users except those authorized by the bucket ACL do not have the permission to access the bucket.)

  • public: public bucket (Any user can read objects in the bucket.)

bucket_access_key

String

Access key of the third-party bucket.

NOTE:
This parameter is mandatory when the origin server is a third-party bucket.

bucket_secret_key

String

Secret key of the third-party bucket.

NOTE:
This parameter is mandatory when the origin server is a third-party bucket.

bucket_region

String

Region of the third-party bucket.

NOTE:
This parameter is mandatory when the origin server is a third-party bucket.

bucket_name

String

Name of the third-party bucket.

NOTE:
This parameter is mandatory when the origin server is a third-party bucket.
Table 13 CacheRules

Parameter

Type

Description

match_type

String

Definition

Match type.

Range

  • all: all files.

  • file_extension: file name extension.

  • catalog: directory.

  • full_path: full path.

  • home_page: homepage.

match_value

String

Definition

Cache rule match content.

match_type is set to all, this parameter is left blank.

  • When match_type is set to file_extension, the value of this parameter is a list of up to 100 file types with up to 1,000 characters. A file type starts with a period (.). File types are separated by commas (,) or semicolons (;). Example: .jpg,.zip,.exe.

  • When match_type is set to catalog, the value of this parameter is a list of up to 20 directories with up to 255 characters. A directory starts with a slash (/). Directories are separated by commas (,) or semicolons (;). Example: /test/folder01,/test/folder02.

  • When match_type is set to full_path, the value of this parameter is a full path. A full path starts with a slash (/) and supports wildcard characters (*). A cache rule can contain only one full path, for example, /test/index.html or /test/*.jpg. /* is not allowed.

  • When match_type is set to home_page, this parameter is left blank.

Range

N/A

ttl

Integer

Definition

TTL of a resource cached on CDN PoPs.

Range

N/A

ttl_unit

String

Definition

Unit of the cache TTL.

Range

  • s: second.

  • m: minute.

  • h: hour.

  • d: day.

priority

Integer

Definition

Cache rule priority. A larger value indicates a higher priority.

Range

1 to 100.

follow_origin

String

Definition

Source of the cache TTL, that is, whether CDN PoPs use the cache TTL set on the origin server or that set in cache rules on CDN.

Range

  • on: CDN PoPs use the TTL set on the origin server.

  • off: CDN PoPs use the TTL set in cache rules.

  • min_ttl: CDN PoPs use the shorter TTL between the TTL set on the origin server and that in cache rules.

force_cache

String

Definition

Forcible cache. Specify whether CDN PoP cache ignores the no-cache, private, and no-store fields in the Cache-Control response header sent from the origin server.

Range

  • on: enabled.

  • off: disabled.

url_parameter_type

String

Definition

URL parameter filtering.

Range

  • del_params: Ignore specific URL parameters.

  • reserve_params: Retain specific URL parameters.

  • ignore_url_params: Ignore all URL parameters.

  • full_url: Retain all URL parameters.

url_parameter_value

String

Definition

URL parameters.

url_parameter_type is set to del_params or reserve_params.

Range

N/A

Table 14 IpFilter

Parameter

Type

Description

type

String

Definition

IP ACL type.

Range

  • off: The IP ACL is disabled.

  • black: IP address blacklist.

  • white: IP address whitelist.

value

String

Definition

IP ACL.

NOTE:
IPv6 is supported. IP addresses and CIDR blocks in the IP address/Subnet mask format are supported.

type is set to off.

  • Separate rules by commas (,).

  • Enter up to 500 rules.

  • Duplicate IP addresses and CIDR blocks will be removed.

  • Wildcards are not supported, for example, 192.168.0.*.

Range

N/A

Table 15 RefererConfig

Parameter

Type

Description

type

String

Definition

Type of the referer blacklist or whitelist.

Range

  • off: The referer blacklist/whitelist is disabled.

  • black: referer blacklist.

  • white: referer whitelist.

value

String

Definition

Domain names or IP addresses.

NOTE:
Domain name and IP address can be entered together. Wildcard domain names and domain names with port numbers are supported.

Range

N/A

include_empty

Boolean

Definition

Whether blank referers are included.

NOTE:
A referer blacklist including blank referers indicates that requests without any referers are not allowed to access.

A referer whitelist including blank referers indicates that requests without any referers are allowed to access.

Range

  • true: Blank referers are included.

  • false: Blank referers are not included.

Table 16 ForceRedirectConfig

Parameter

Type

Description

status

String

Definition

Force redirect status.

Range

  • on: enabled.

  • off: disabled.

type

String

Definition

Protocol to which requests are forcibly redirected.

Range

  • http: force redirect to HTTP.

  • https: force redirect to HTTPS.

redirect_code

Integer

Definition

Redirect status code.

Range

  • 301

  • 302

  • 307

Table 17 Compress

Parameter

Type

Description

status

String

Definition

Smart compression status.

Range

  • on: enabled.

  • off: disabled.

type

String

Definition

Smart compression type.

Range

Separate smart compression types by commas (,).

  • gzip: gzip compression.

  • br: Brotli compression.

file_type

String

Definition

Types of files to compress.

Range

  • Enter up to 2,000 characters.

  • Enter up to 50 characters for each type.

  • Separate types by commas (,).

.js,.html,.css,.xml,.json,.shtml,.htm,text/xml,text/plain,text/javascript,text/html,text/css,image/tiff,image/svg+xml,application/xml,application/x-javascript,application/rss+xml,application/json,application/javascript. When this function is used again and this value is left empty, the result of the previous setting is used.

compress_min_length

Integer

Definition

Minimum size of files to be compressed.

Range

  • 0 MB to 30 MB. The unit is byte.

compress_max_length

Integer

Definition

Maximum size of files to be compressed.

Range

  • 0 MB to 30 MB. The unit is byte.

Table 18 CacheUrlParameterFilterGetBody

Parameter

Type

Description

type

String

Operation type of caching URL parameters.

  • full_url: Cache all URL parameters.

  • ignore_url_params: Ignore all URL parameters.

  • del_params: Ignore specific URL parameters.

  • reserve_params: Retain specific URL parameters.

    NOTE:
    The following parameters of this API are adjusted:
    • Replaced del_args with del_params.

    • Replaced reserve_args with reserve_params.

value

String

Parameter value.

Table 19 ErrorCodeCache

Parameter

Type

Description

code

Integer

Definition

Error codes to cache.

Range

  • 3xx: 301 and 302.

  • 4xx: 400, 403, 404, 405, 407, 414, 416, and 451.

  • 5xx: 500, 501, 502, 503, 504, 509, and 514.

ttl

Integer

Definition

Error code cache TTL.

Range

0 to 31,536,000, in seconds.

NOTE:
The cache TTL of 3XX status codes ranges from 0s to 20s.
Table 20 UserAgentFilter

Parameter

Type

Description

type

String

Definition

User-Agent ACL type.

Range

  • off: The User-Agent ACL is disabled.

  • black: User-Agent blacklist.

  • white: User-Agent whitelist.

value

String

Definition

User-Agent ACL content.

NOTE:
This old parameter will be deprecated recently. Use ua_list to set a User-Agent ACL.

type is set to off.

  • Configure up to 50 rules.

  • Separate rules by commas (,).

Range

  • Enter up to 200 characters for each rule.

  • Use only letters, digits, spaces, and the following special characters: *.-_();,/'#!@$^&+=~?"[]{}:%

include_empty

Boolean

Definition

Whether blank user agents are included.

NOTE:
A blacklist including blank user agents indicates that requests without any user agents are not allowed to access.

A whitelist including blank user agents indicates that requests without any user agents are allowed to access.

Range

true: Blank user agents are included.

false: Blank user agents are not included.

false for blacklists.

  • true for whitelists.

ua_list

Array of strings

Definition

User-Agent ACL.

type is set to off.

  • Configure up to 50 rules.

  • Enter up to 200 characters for each rule.

  • When ua_list and value are both set, ua_list is used.

Table 21 OriginRequestUrlRewrite

Parameter

Type

Description

priority

Integer

Definition

Priority of a URL rewrite rule.

NOTE:
A larger value indicates a higher priority. CDN executes the URL rewrite rule with a higher priority.

Range

1 to 100.

match_type

String

Definition

Match type.

Range

  • all: all files.

  • file_path: URI path.

  • wildcard: wildcard.

  • full_path: full path.

source_url

String

Definition

URI to rewrite.

Range

  • Enter 1 to 512 characters.

  • Wildcards (*) are supported. Example, /test/*/*.mp4.

  • A URI starts with a slash (/) and does not contain http://, https://, or the domain name.

target_url

String

Definition

URI after rewrite.

Range

  • Enter 1 to 256 characters.

  • A URI starts with a slash (/) and does not contain http://, https://, or the domain name.

NOTE:
The nth wildcard (*) field can be captured by $n, where n = 1, 2, 3, .... Example: /newtest/$1/$2.jpg.
Table 22 flexibleOrigins

Parameter

Type

Description

match_type

String

Definition

URI match mode.

Range

  • file_extension: file name extension.

  • file_path: directory.

match_pattern

String

Definition

URI match rule.

match_type is set to file_extension:

  • All file types are supported.

  • Start a file type with a period (.). Separate file types by semicolons (;).

  • Enter up to 20 file types.

When match_type is set to file_path:

  • Start a directory with a slash (/).

  • Separate directories by semicolons (;).

    • Enter up to 20 directories.

NOTE:
File types are case-sensitive.

Range

1 to 512 characters.

priority

Integer

Definition

Priority.

NOTE:
A larger value indicates a higher priority.

Range

1 to 100.

back_sources

Array of backSources objects

Definition

Origin server accessed by CDN PoPs for origin pull when a client request matches this rule.

Range

N/A

Table 23 backSources

Parameter

Type

Description

sources_type

String

Definition

Origin server type.

Range

  • ipaddr: IP address.

  • domain: origin server domain name.

  • obs_bucket: OBS bucket domain name.

ip_or_domain

String

Definition

IP address or domain name of the origin server.

Range

N/A

obs_bucket_type

String

Definition

OBS bucket type.

Range

  • private: private bucket.

  • public: public bucket.

http_port

Integer

Definition

HTTP port.

Range

1 to 65,535.

https_port

Integer

Definition

HTTPS port.

Range

1 to 65,535.

Table 24 commonRemoteAuth

Parameter

Type

Description

remote_authentication

String

Definition

Whether to enable remote authentication.

Range

  • on: enabled.

  • off: disabled.

remote_auth_rules

RemoteAuthRule object

Definition

Remote authentication settings.

Table 25 RemoteAuthRule

Parameter

Type

Description

auth_server

String

Definition

Address of a reachable authentication server.

Range

N/A

request_method

String

Definition

Request method supported by the authentication server.

Range

  • GET

  • POST

  • HEAD

file_type_setting

String

Definition

Range of files to authenticate.

Range

  • all: all files.

  • specific_file: files of the specified types. Example: jpg|MP4.

NOTE:
File types are case-insensitive. For example, jpg and JPG indicate the same file type. File types are separated by vertical bars (|).

specified_file_type

String

Definition

Types of files to authenticate.

file_type_setting is set to specific_file. In other cases, it is left blank.

  • Separate file types by vertical bars (|). Example: jpg|mp4.

  • This parameter is verified only when it is mandatory.

Range

  • Enter 1 to 512 characters.

  • Use only letters and digits.

reserve_args_setting

String

Definition

Whether to retain or ignore URL parameters for authentication.

Range

  • reserve_all_args: Retain all URL parameters.

  • reserve_specific_args: Retain specific URL parameters.

  • ignore_all_args: Ignore all URL parameters.

reserve_args

String

Definition

Parameters.

reserve_args_setting is set to reserve_specific_args. In other cases, this parameter is left blank.

  • Separate parameters by vertical bars (|). Example: key1|key2.

Range

N/A

add_custom_args_rules

Array of customArgs objects

Definition

Parameters to be added when CDN PoPs forward user requests to the remote authentication server.

Range

N/A

reserve_headers_setting

String

Definition

Whether to retain or ignore request headers for authentication.

Range

  • reserve_all_headers: Retain all request headers.

  • reserve_specific_headers: Retain specific request headers.

  • ignore_all_headers: Ignore all request headers.

reserve_headers

String

Definition

Request headers to retain.

reserve_headers_setting is set to reserve_specific_headers. In other cases, this parameter is left blank.

  • Separate request headers by vertical bars (|). Example: key1|key2.

Range

N/A

add_custom_headers_rules

Array of customArgs objects

Definition

Whether to retain or ignore request headers when CDN PoPs forward user requests to the remote authentication server.

Range

N/A

auth_success_status

String

Definition

Status code returned by the remote authentication server to CDN PoPs when authentication is successful.

Range

  • 2xx

  • 3xx

auth_failed_status

String

Definition

Status code returned by the remote authentication server to CDN PoPs when authentication fails.

Range

  • 4xx

  • 5xx

response_status

String

Definition

Status code returned by CDN PoPs to users when authentication fails.

Range

  • 2xx

  • 3xx

  • 4xx

  • 5xx

timeout

Integer

Definition

Authentication timeout interval, that is, the interval from the time when a CDN PoP forwards an authentication request to the time when the CDN PoP receives the result returned by the remote authentication server.

Range

0 or 50 to 3,000, in milliseconds.

timeout_action

String

Definition

Method used by CDN PoPs to process a user request after authentication times out.

Range

  • pass: The user request will be accepted and the requested resource will be returned.

  • forbid: The user request will be rejected and the configured custom response status code will be returned.

Table 26 customArgs

Parameter

Type

Description

type

String

Definition

Parameter type.

Range

  • custom_var: custom.

  • nginx_preset_var: preset variable.

key

String

Definition

Parameter name.

Range

  • Enter 1 to 256 characters.

  • Use only letters, digits, and the following special characters: ._-*#%|+^@?=

value

String

Definition

Parameter value.

Range

  • When type is set to custom_var, enter 1 to 256 characters and use only letters, digits, and the following special characters: ._-*#%|+^@?=

  • When type is set to nginx_preset_var, the value can only be set to $http_host, $http_user_agent, $http_referer, $http_x_forwarded_for, $http_content_type, $remote_addr, $scheme, $server_protocol, $request_uri, $uri, $args, and $request_method.

Table 27 webSocketSeek

Parameter

Type

Description

status

String

Definition

Whether to enable the WebSocket protocol.

Range

  • on: enabled.

  • off: disabled.

timeout

Integer

Definition

Duration for keeping a connection open.

Range

1 to 300, in seconds. This parameter is mandatory when status is set to on.

Table 28 videoSeek

Parameter

Type

Description

enable_video_seek

Boolean

Definition

Video seek status.

false, the API for querying domain name configuration does not return the video seek settings.

Range

  • true: enabled.

  • false: disabled.

enable_flv_by_time_seek

Boolean

Definition

Time-based FLV seek status.

Range

  • true: enabled.

  • false: disabled.

start_parameter

String

Definition

Start parameter of video playback in URLs requested by users.

Range

  • Enter 1 to 64 characters.

  • Use only letters, digits, and underscores (_).

end_parameter

String

Definition

End parameter of video playback in URLs requested by users.

Range

  • Enter 1 to 64 characters.

  • Use only letters, digits, and underscores (_).

Table 29 RequestLimitRules

Parameter

Type

Description

status

String

Definition

Whether to enable request rate limiting.

NOTE:
  • This parameter is used in earlier APIs and will be deprecated.

  • The value can only be on. off is invalid.

request_limit_rules is left empty, request rate limiting is disabled.

Range

on

priority

Integer

Definition

Priority.

NOTE:
A larger value indicates a higher priority.

Range

1 to 100.

match_type

String

Definition

Match type.

Range

  • all: all files.

  • catalog: directory.

match_value

String

Definition

Match type value.

match_type is set to all, leave this parameter empty.

  • When match_type is set to catalog, the value is a directory address starting with a slash (/), for example, /test.

  • This parameter is mandatory when match_type is set to catalog.

Range

N/A

type

String

Definition

Rate limit mode.

size.

Range

N/A

limit_rate_after

Long

Definition

Rate limit condition.

NOTE:
For example, type=size,limit_rate_after=50 indicates that the speed is limited to the value of limit_rate_value after 50 bytes are transmitted.

Range

0 to 1,073,741,824, in bytes.

limit_rate_value

Integer

Definition

Rate limit, that is, the maximum access speed after the rate limit is reached.

Range

0 to 104,857,600, in bit/s.

limit_time

String

Definition

Periods when the rate is limited.

0100-0200,2200-2300.

  • Enter up to 10 periods.

Range

N/A

Table 30 IpFrequencyLimitQuery

Parameter

Type

Description

status

String

Status. The options are on (enabled) and off (disabled).

qps

Integer

Access threshold, in times/second.

Table 31 HstsQuery

Parameter

Type

Description

status

String

Status. The options are on (enabled) and off (disabled).

max_age

Integer

Expiration time, that is, the TTL of the response header Strict-Transport-Security on the client. Unit: second.

include_subdomains

String

Whether subdomain names are included. The options are on (included) and off (not included).

Table 32 Quic

Parameter

Type

Description

status

String

Definition

QUIC status.

Range

  • on: enabled.

  • off: disabled.

Table 33 ErrorCodeRedirectRules

Parameter

Type

Description

error_code

Integer

Definition

Redirection error code.

Range

  • 4xx: 400, 403, 404, 405, 414, 416, and 451.

  • 5xx: 500, 501, 502, 503, and 504.

execution_mode

String

Definition

Action.

Range

  • break: If the error code matches the current configuration, the request will be redirected to the destination URL. Once this rule is executed, any remaining configured rules will be skipped and will no longer be matched.

  • redirect: If the error code matches the current configuration, the request will be redirected to the destination URL. Once this rule is executed, the system will continue to match the remaining configured rules if they exist.

target_code

Integer

Definition

Redirection status code.

execution_mode is set to redirect.

Range

  • 301

  • 302

target_link

String

Definition

Destination URL.

execution_mode is set to Break, full path matching is used. You can enter a destination URL that starts with a slash (/) and contains a maximum of 512 characters, for example, /errorcode.html.

If execution_mode is set to Redirect, the URL must start with http:// or https:// and contain a maximum of 512 characters, including the complete domain name and path, for example, http://example.com/errorcode.html.

Range

N/A

Table 34 Sni

Parameter

Type

Description

status

String

Definition

Whether to enable origin SNI.

Range

  • on: enabled.

  • off: disabled.

server_name

String

Definition

SNI domain name used for HTTPS handshake during CDN PoP origin pull.

Range

  • Use only letters, digits, hyphens (-), and periods (.).

Table 35 RequestUrlRewrite

Parameter

Type

Description

condition

UrlRewriteCondition object

Definition

Match condition.

Range

N/A

redirect_status_code

Integer

Definition

Redirection status code.

Range

  • 301

  • 302

  • 303

  • 307

redirect_url

String

Definition

Redirection URL.

http://, https://, or the domain name. Example: /test/index.html.

  • When the match type is set to full path, the wildcard (*) can be captured by $1. For example, if the content is /test/*.jpg and the redirection URL is /newtest/$1.jpg, when a user requests /test/11.jpg, $1 is replaced by 11, so the requested URL after redirection is /newtest/11.jpg.

Range

N/A

redirect_host

String

Definition

Domain name to which client requests are redirected.

Range

  • Enter 1 to 255 characters.

  • Start with http:// or https://.

execution_mode

String

Definition

Action.

Range

  • redirect: If the requested URL matches this rule, the request is redirected to the target URL. After this rule is executed, if other rules exist, CDN continues to execute these rules.

  • break: If the requested URL matches this rule, the request is redirected to the target URL. After this rule is executed, CDN does not execute any other rules and returns status code 200. You cannot set the redirection host or status code.

Table 36 UrlRewriteCondition

Parameter

Type

Description

match_type

String

Definition

Match type.

Range

  • catalog: The rule is executed for files in the specified directory.

  • full_path: The rule is executed for the file under the specified path.

  • home_page: The rule is executed when the homepage of the domain name is visited.

  • regex: The rule is executed when the characters in the client request URL match the regular expression.

match_value

String

Definition

Match content.

match_type is set to catalog, the value of this parameter is a list of up to 20 directories. A directory starts with a slash (/). Directories are separated by commas (,). Example: /test/folder01,/test/folder02.

  • When match_type is set to full_path, the value of this parameter is a full path. A full path starts with a slash (/) and supports wildcard characters (*). A rule can contain only one full path. Example: /test/index.html or /test/*.jpg.

Range

N/A

priority

Integer

Definition

Priority of the access URL rewrite rule.

NOTE:
A larger value indicates a higher priority.

Range

1 to 100.

Table 37 BrowserCacheRules

Parameter

Type

Description

condition

BrowserCacheRulesCondition object

Definition

Match condition.

Range

N/A

cache_type

String

Definition

Cache effective type.

Range

  • follow_origin: The cache policy of the origin server, that is, the setting of the Cache-Control header, is used.

  • ttl: The TTL set in this rule is used.

  • never: Browsers do not cache the resources.

ttl

Integer

Definition

Cache TTL.

ttl.

Range

N/A

ttl_unit

String

Definition

Unit of the cache TTL.

ttl.

Range

  • s: second

  • m: minute

  • h: hour

  • d: day

Table 38 BrowserCacheRulesCondition

Parameter

Type

Description

match_type

String

Definition

Match type.

Range

  • all: all files.

  • file_extension: file name extension.

  • catalog: directory.

  • full_path: full path.

  • home_page: homepage.

match_value

String

Definition

Cache content based on the cache rule.

match_type is set to all, this parameter is left blank.

  • When match_type is set to file_extension, the value of this parameter is a list of up to 20 file types. A file type starts with a period (.). File types are separated by commas (,). Example: .jpg,.zip,.exe.

  • When match_type is set to catalog, the value of this parameter is a list of up to 20 directories. A directory starts with a slash (/). Directories are separated by commas (,). Example: /test/folder01,/test/folder02.

  • When match_type is set to full_path, the value of this parameter is a full path. A full path starts with a slash (/) and supports wildcard characters (*), but cannot end with a wildcard (*). A wildcard (*) can only follow the last slash (/). A rule can contain only one full path. Example: /test/index.html or /test/*.jpg.

  • When match_type is set to home_page, this parameter is left blank.

Range

N/A

priority

Integer

Definition

Priority of the browser cache rule. A larger value indicates a higher priority.

Range

N/A

Table 39 AccessAreaFilter

Parameter

Type

Description

type

String

Definition

Rule type.

Range

  • black: blacklist. Users in regions specified in the blacklist cannot access resources and status code 403 is returned.

  • white: whitelist. Only users in regions specified in the whitelist can access resources. Status code 403 is returned for other users.

content_type

String

Definition

Content type.

Range

  • all: The rule takes effect for all files.

  • file_directory: The rule takes effect for resources in the specified directory.

  • file_path: The rule takes effect for resources corresponding to the path.

content_value

String

Definition

Rule.

content_type is set to all, this parameter is empty or not passed.

  • When content_type is set to file_directory, the value is a list of up to 100 directories. A directory starts with a slash (/). Multiple directories are separated by commas (,). Example: /test/folder01,/test/folder02.

  • When content_type is set to file_path, the value is a list of up to 100 file paths. A path starts with a slash (/) or wildcard (*). Up to two wildcards (*) are allowed and they cannot be consecutive. Multiple paths are separated by commas (,). Example: /test/a.txt,/test/b.txt.

  • Each whitelist or blacklist rule must be unique.

  • You can configure only one rule for all files.

Range

N/A

area

String

Definition

Regions to which the rule applies.

CN_IN,AF,IE,EG,AU (Chinese mainland, Afghanistan, Ireland, Egypt, and Australia). For details about the location codes, see section "Appendix" > "Geographical Location Codes".

Range

N/A

exception_ip

String

Definition

Exception IP addresses excluded from this rule.

Range

N/A

Table 40 ClientCert

Parameter

Type

Description

status

String

Definition

Client certificate status.

Range

  • on: enabled.

  • off: disabled.

trusted_cert

String

Definition

Content of the client CA certificate.

Range

N/A

hosts

String

Definition

Domain names specified in the client CA certificate.

Range

N/A

Table 41 HttpsTlsVersion

Parameter

Type

Description

tls_version

String

Definition

Transport Layer Security (TLS) protocol, that is, TLS version settings.

TLSv1.1,TLSv1.2.

  • An international HTTPS certificate has been enabled before you configure TLS versions.

Range

Range: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3.

cipher_suite_group

String

Definition

Cipher suite groups.

Range

  • default: default cipher suites

  • general: moderate cipher suites

  • strict: strong cipher suites

  • custom: custom cipher suites

cipher_suite

String

Definition

Cipher suites.

Range

  • ECDHE-ECDSA-AES128-GCM-SHA256

  • ECDHE-ECDSA-AES256-GCM-SHA384

  • ECDHE-RSA-AES128-GCM-SHA256

  • ECDHE-RSA-AES256-GCM-SHA384

  • DHE-RSA-AES128-GCM-SHA256

  • DHE-RSA-AES256-GCM-SHA384

  • ECDHE-ECDSA-AES128-SHA256

  • ECDHE-ECDSA-AES256-SHA384

  • ECDHE-RSA-AES128-SHA

  • ECDHE-RSA-AES128-SHA256

  • ECDHE-RSA-AES256-SHA

  • ECDHE-RSA-AES256-SHA384

  • DHE-RSA-AES128-SHA

  • DHE-RSA-AES128-SHA256

  • DHE-RSA-AES256-SHA

  • DHE-RSA-AES256-SHA256

  • AES128-GCM-SHA256

  • AES256-GCM-SHA384

  • AES128-SHA256

  • AES256-SHA256

  • ECDHE-ECDSA-CHACHA20-POLY1305

  • ECDHE-RSA-CHACHA20-POLY1305

  • DHE-RSA-CHACHA20-POLY1305

  • ECDHE-ECDSA-AES128-SHA

  • ECDHE-ECDSA-AES256-SHA

  • AES128-SHA

  • AES256-SHA

  • DES-CBC3-SHA

  • RC4-SHA

Table 42 FlowLimitStrategy

Parameter

Type

Description

strategy_type

String

Definition

Measurement type.

Range

  • instant: instantaneous usage.

  • hour: hourly cumulative usage.

  • day: daily cumulative usage.

item_type

String

Definition

Usage cap type.

Range

  • bandwidth: bandwidth cap, in bit/s

  • traffic: traffic cap, in bytes

limit_value

Long

Definition

Usage cap. When the usage of a domain name reaches this cap, CDN will be disabled for it.

Range

The value must be a positive integer.

alarm_percent_threshold

Integer

Definition

Usage alarm threshold. When the domain name usage reaches this threshold, an alarm is sent.

Range

10-90

ban_time

Long

Definition

Capping period.

ban_time to 0 indicates that the domain name is not automatically unblocked. You need to manually unblock it.

Range

  • 0: Block the domain name until you manually unblock it.

  • 60: 60 minutes (1 hour)

  • 720: 720 minutes (12 hours)

  • 1440: 1,440 minutes (24 hours)

  • 4320: 4,320 minutes (3 days)

Example Requests

GET https://cdn.myhuaweicloud.com/v1.1/cdn/configuration/domains/www.example.com/configs

Example Responses

Status code: 200

Success response.

{
  "configs" : {
    "origin_request_header" : [ ],
    "http_response_header" : [ ],
    "https" : {
      "https_status" : "off"
    },
    "url_auth" : {
      "status" : "off"
    },
    "compress" : {
      "status" : "off"
    },
    "force_redirect" : {
      "status" : "on",
      "type" : "http"
    },
    "origin_protocol" : "follow",
    "referer" : {
      "type" : "black",
      "value" : "192.168.0.0",
      "include_empty" : true
    },
    "ip_filter" : {
      "type" : "black",
      "value" : "192.168.0.0"
    },
    "origin_follow302_status" : "off",
    "cache_rules" : [ {
      "match_type" : "file_extension",
      "match_value" : ".zip",
      "ttl" : 0,
      "ttl_unit" : "h",
      "priority" : 1,
      "follow_origin" : "off",
      "url_parameter_type" : "del_params",
      "url_parameter_value" : "test_param"
    } ],
    "sources" : [ {
      "origin_addr" : "www.example.com",
      "origin_type" : "domain",
      "priority" : 70,
      "http_port" : 80,
      "https_port" : 443
    } ],
    "cache_url_parameter_filter" : {
      "type" : "del_params",
      "value" : "key1;key2"
    },
    "flexible_origin" : [ {
      "priority" : 1,
      "match_type" : "file_path",
      "match_pattern" : "/test",
      "back_sources" : [ {
        "sources_type" : "domain",
        "ip_or_domain" : "www.example.com",
        "obs_bucket_type" : "public"
      } ]
    } ],
    "slice_etag_status" : "off",
    "ipv6_accelerate" : 1,
    "origin_receive_timeout" : 30,
    "remote_auth" : {
      "remote_authentication" : "on",
      "remote_auth_rules" : {
        "auth_server" : "https://1.1.1.1",
        "request_method" : "GET",
        "file_type_setting" : "all",
        "reserve_args_setting" : "reserve_all_args",
        "reserve_args" : "reserve_all_args",
        "specified_file_type" : "jpg",
        "reserve_headers_setting" : "reserve_specific_headers",
        "auth_success_status" : "200",
        "auth_failed_status" : "403",
        "response_status" : "403",
        "timeout" : 500,
        "timeout_action" : "pass",
        "reserve_headers" : "sf",
        "add_custom_args_rules" : [ {
          "type" : "nginx_preset_var",
          "key" : "http_host",
          "value" : "$http_host"
        } ],
        "add_custom_headers_rules" : [ {
          "type" : "nginx_preset_var",
          "key" : "http_host",
          "value" : "$http_host"
        } ]
      }
    },
    "websocket" : {
      "status" : "off",
      "timeout" : 60
    },
    "video_seek" : {
      "enable_video_seek" : true,
      "enable_flv_by_time_seek" : true,
      "start_parameter" : "start",
      "end_parameter" : "end"
    },
    "request_limit_rules" : [ {
      "status" : "on",
      "type" : "size",
      "limit_rate_after" : 1024,
      "limit_rate_value" : 50
    } ],
    "sni" : {
      "status" : "on",
      "server_name" : "test.example.com"
    },
    "request_url_rewrite" : [ {
      "condition" : {
        "match_type" : "full_path",
        "match_value" : "/test/*.jpg",
        "priority" : 10
      },
      "redirect_status_code" : 301,
      "redirect_url" : "/test/index.html",
      "execution_mode" : "redirect"
    } ],
    "error_code_redirect_rules" : [ {
      "error_code" : 400,
      "execution_mode" : "redirect",
      "target_code" : 301,
      "target_link" : "https://www.example.com/error.html"
    } ],
    "browser_cache_rules" : [ {
      "condition" : {
        "match_type" : "full_path",
        "match_value" : "/test/*.jpg",
        "priority" : 10
      },
      "cache_type" : "ttl",
      "ttl" : 20,
      "ttl_unit" : "h"
    } ],
    "access_area_filter" : [ {
      "type" : "black",
      "content_type" : "all",
      "area" : "CN_IN,AU",
      "exception_ip" : "0.0.0.0"
    } ],
    "client_cert" : {
      "status" : "on",
      "trusted_cert" : "certificate_example",
      "hosts" : "www.example.com"
    },
    "https_tls_version" : {
      "tls_version" : "TLSv1.2,TLSv1.3",
      "cipher_suite_group" : "strict"
    },
    "flow_limit_strategy" : [ {
      "strategy_type" : "instant",
      "item_type" : "bandwidth",
      "limit_value" : 10000000,
      "alarm_percent_threshold" : 80,
      "ban_time" : 1440
    } ]
  }
}

SDK Sample Code

The SDK sample code is as follows.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.huaweicloud.sdk.test;

import com.huaweicloud.sdk.core.auth.ICredential;
import com.huaweicloud.sdk.core.auth.GlobalCredentials;
import com.huaweicloud.sdk.core.exception.ConnectionException;
import com.huaweicloud.sdk.core.exception.RequestTimeoutException;
import com.huaweicloud.sdk.core.exception.ServiceResponseException;
import com.huaweicloud.sdk.cdn.v2.region.CdnRegion;
import com.huaweicloud.sdk.cdn.v2.*;
import com.huaweicloud.sdk.cdn.v2.model.*;


public class ShowDomainFullConfigSolution {

    public static void main(String[] args) {
        // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
        // In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
        String ak = System.getenv("CLOUD_SDK_AK");
        String sk = System.getenv("CLOUD_SDK_SK");

        ICredential auth = new GlobalCredentials()
                .withAk(ak)
                .withSk(sk);

        CdnClient client = CdnClient.newBuilder()
                .withCredential(auth)
                .withRegion(CdnRegion.valueOf("<YOUR REGION>"))
                .build();
        ShowDomainFullConfigRequest request = new ShowDomainFullConfigRequest();
        request.withDomainName("{domain_name}");
        try {
            ShowDomainFullConfigResponse response = client.showDomainFullConfig(request);
            System.out.println(response.toString());
        } catch (ConnectionException e) {
            e.printStackTrace();
        } catch (RequestTimeoutException e) {
            e.printStackTrace();
        } catch (ServiceResponseException e) {
            e.printStackTrace();
            System.out.println(e.getHttpStatusCode());
            System.out.println(e.getRequestId());
            System.out.println(e.getErrorCode());
            System.out.println(e.getErrorMsg());
        }
    }
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# coding: utf-8

import os
from huaweicloudsdkcore.auth.credentials import GlobalCredentials
from huaweicloudsdkcdn.v2.region.cdn_region import CdnRegion
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcdn.v2 import *

if __name__ == "__main__":
    # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
    # In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
    ak = os.environ["CLOUD_SDK_AK"]
    sk = os.environ["CLOUD_SDK_SK"]

    credentials = GlobalCredentials(ak, sk)

    client = CdnClient.new_builder() \
        .with_credentials(credentials) \
        .with_region(CdnRegion.value_of("<YOUR REGION>")) \
        .build()

    try:
        request = ShowDomainFullConfigRequest()
        request.domain_name = "{domain_name}"
        response = client.show_domain_full_config(request)
        print(response)
    except exceptions.ClientRequestException as e:
        print(e.status_code)
        print(e.request_id)
        print(e.error_code)
        print(e.error_msg)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package main

import (
	"fmt"
	"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/global"
    cdn "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cdn/v2"
	"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cdn/v2/model"
    region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cdn/v2/region"
)

func main() {
    // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
    // In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
    ak := os.Getenv("CLOUD_SDK_AK")
    sk := os.Getenv("CLOUD_SDK_SK")

    auth, err := global.NewCredentialsBuilder().
        WithAk(ak).
        WithSk(sk).
        SafeBuild()

    if err != nil {
        fmt.Println(err)
        return
    }

    hcClient, err := cdn.CdnClientBuilder().
         WithRegion(region.ValueOf("<YOUR REGION>")).
         WithCredential(auth).
         SafeBuild()


    if err != nil {
        fmt.Println(err)
        return
    }

    client := cdn.NewCdnClient(hcClient)

    request := &model.ShowDomainFullConfigRequest{}
	request.DomainName = "{domain_name}"
	response, err := client.ShowDomainFullConfig(request)
	if err == nil {
        fmt.Printf("%+v\n", response)
    } else {
        fmt.Println(err)
    }
}

For SDK sample code of more programming languages, see the Sample Code tab in API Explorer. SDK sample code can be automatically generated.

Status Codes

Status Code

Description

200

Success response.

Error Codes

See Error Codes.