查询域名(20230518)
开发中
开发环境
http://39.100.59.112:8000
开发环境
http://39.100.59.112:8000
GET
http://39.100.59.112:8000
(结构同 单域名管理-添加域名的返回值)
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
uuid
string
域名uuid
示例值:
uuid1
Header 参数
Accept
string
必需
默认值:
application/json
Body 参数multipart/form-data
object {0}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://39.100.59.112:8000/domain?uuid=uuid1' \
--header 'Accept;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
成功/错误信息
data
object (域名信息(全量))
返回结果
id
integer
域名id
domain
string
加速域名
domain_uuid
string
域名uuid
primary_domain
string
加速主域名
config_list
array [object {10}]
七层配置列表
domain_status
boolean
域名状态
active
string
域名是否启用
domain_record
object
域名备案
nodes
array [object {6}]
节点列表
four_layers_config
array [object {9}]
必需
domain_config
object
域名相关配置
示例
{
"code": 0,
"message": "string",
"data": {
"id": 0,
"domain": "string",
"domain_uuid": "string",
"primary_domain": "string",
"config_list": [
{
"protocol": "string",
"port": 0,
"redirect": 0,
"overload_type": 0,
"overload_redirect_url": "string",
"overload_status_code": 0,
"load_balancing": 0,
"server": "string",
"source_addresses": [
{
"address": "string",
"protocol": "string",
"port": "string",
"concurrent": "string",
"weight": "string",
"sni": "string"
}
],
"uri_forward": "string"
}
],
"domain_status": true,
"active": "string",
"domain_record": {},
"nodes": [
{
"node_uuid": "string",
"node_ip": [
{
"ip": "string",
"isp": "string"
}
],
"cache_use_size": 0,
"priority": 0,
"node_type": "string",
"active": true
}
],
"four_layers_config": [
{
"protocol": "string",
"tcp_version": 0,
"port": 0,
"max_connection": 0,
"new_connection": 0,
"load_balancing": "string",
"health_check_active": true,
"source_address": [
{
"address": "string",
"port": 0,
"weight": 0
}
],
"proxy_protocol": 0
}
],
"domain_config": {
"cache_total_size_limit": 0,
"cache_file_size_limit": 0
}
}
}