查询域名列表(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 参数
page
string
必需
示例值:
1
size
string
必需
示例值:
10
Header 参数
Accept
string
必需
默认值:
application/json
示例代码
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/domains?page=1&size=10' \
--header 'Accept;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
成功/错误信息
data
object
返回结果
count
integer
结果个数
next
null
下一页
previous
null
上一页
results
array[object (域名信息(全量)) {11}]
必需
示例
{
"code": 0,
"message": "string",
"data": {
"count": 0,
"next": null,
"previous": null,
"results": [
{
"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
}
}
]
}
}