Smartping Docs
搜索文档…
config
本接口将返回该节点的配置信息

接口方法

GET

接口地址

/api/config.json

接口入参

接口数据

1
{
2
"Ver": "0.8.0",
3
"Port": 8899,
4
"Name": "本机",
5
"Addr": "127.0.0.1",
6
"Mode": {
7
"Endpoint": "",
8
"LastSuccTime": "",
9
"Status": "true",
10
"Type": "local"
11
},
12
"Base": {
13
"Archive": 10,
14
"Refresh": 1,
15
"Timeout": 5
16
},
17
"Topology": {
18
"Tline": "1",
19
"Tsound": "/alert.mp3",
20
"Tsymbolsize": "70"
21
},
22
"Alert": {
23
"EmailHost": "",
24
"RevcEmailList": "",
25
"SendEmailAccount": "",
26
"SendEmailPassword": ""
27
},
28
"Network": {
29
"1.2.3.4": {
30
"Name": "OtherSP",
31
"Addr": "1.2.3.4",
32
"Smartping": true,
33
"Ping": [
34
"114.114.114.114",
35
"127.0.0.1",
36
"8.8.4.4"
37
],
38
"Topology": [
39
{
40
"Addr": "127.0.0.1",
41
"Name": "本机",
42
"Thdavgdelay": "200",
43
"Thdchecksec": "900",
44
"Thdloss": "30",
45
"Thdoccnum": "3"
46
},
47
{
48
"Addr": "114.114.114.114",
49
"Name": "114DNS",
50
"Thdavgdelay": "200",
51
"Thdchecksec": "900",
52
"Thdloss": "30",
53
"Thdoccnum": "3"
54
},
55
{
56
"Addr": "8.8.4.4",
57
"Name": "GoogleDNS",
58
"Thdavgdelay": "200",
59
"Thdchecksec": "900",
60
"Thdloss": "30",
61
"Thdoccnum": "3"
62
},
63
{
64
"Addr": "1.2.3.4",
65
"Name": "OtherSP",
66
"Thdavgdelay": "200",
67
"Thdchecksec": "900",
68
"Thdloss": "30",
69
"Thdoccnum": "3"
70
}
71
]
72
},
73
"114.114.114.114": {
74
"Name": "114DNS",
75
"Addr": "114.114.114.114",
76
"Smartping": false,
77
"Ping": [],
78
"Topology": []
79
},
80
"123.125.114.144": {
81
"Name": "百度",
82
"Addr": "123.125.114.144",
83
"Smartping": false,
84
"Ping": [],
85
"Topology": []
86
},
87
"127.0.0.1": {
88
"Name": "本机",
89
"Addr": "127.0.0.1",
90
"Smartping": true,
91
"Ping": [
92
"1.2.3.4",
93
"114.114.114.114",
94
"123.125.114.144",
95
"127.0.0.1",
96
"69.171.229.28",
97
"8.8.4.4"
98
],
99
"Topology": [
100
{
101
"Addr": "1.2.3.4",
102
"Name": "OtherSP",
103
"Thdavgdelay": "200",
104
"Thdchecksec": "900",
105
"Thdloss": "30",
106
"Thdoccnum": "3"
107
},
108
{
109
"Addr": "114.114.114.114",
110
"Name": "114DNS",
111
"Thdavgdelay": "200",
112
"Thdchecksec": "900",
113
"Thdloss": "30",
114
"Thdoccnum": "3"
115
},
116
{
117
"Addr": "8.8.4.4",
118
"Name": "GoogleDNS",
119
"Thdavgdelay": "200",
120
"Thdchecksec": "900",
121
"Thdloss": "10",
122
"Thdoccnum": "3"
123
},
124
{
125
"Addr": "69.171.229.28",
126
"Name": "Facebook",
127
"Thdavgdelay": "200",
128
"Thdchecksec": "900",
129
"Thdloss": "30",
130
"Thdoccnum": "3"
131
},
132
{
133
"Addr": "123.125.114.144",
134
"Name": "百度",
135
"Thdavgdelay": "200",
136
"Thdchecksec": "900",
137
"Thdloss": "30",
138
"Thdoccnum": "3"
139
}
140
]
141
},
142
"69.171.229.28": {
143
"Name": "Facebook",
144
"Addr": "69.171.229.28",
145
"Smartping": false,
146
"Ping": [],
147
"Topology": []
148
},
149
"8.8.4.4": {
150
"Name": "GoogleDNS",
151
"Addr": "8.8.4.4",
152
"Smartping": false,
153
"Ping": [],
154
"Topology": []
155
}
156
},
157
"Chinamap": {
158
"上海": {
159
"cmcc": [
160
"117.184.42.114"
161
],
162
"ctcc": [
163
"180.163.15.160"
164
],
165
"cucc": [
166
"223.167.104.117"
167
]
168
},
169
"北京": {
170
"cmcc": [
171
"111.13.217.125"
172
],
173
"ctcc": [
174
"120.92.180.135"
175
],
176
"cucc": [
177
"111.207.189.5"
178
]
179
},
180
"广东": {
181
"cmcc": [
182
"120.236.14.140"
183
],
184
"ctcc": [
185
"218.17.216.171"
186
],
187
"cucc": [
188
"58.252.2.194"
189
]
190
},
191
"浙江": {
192
"cmcc": [
193
"183.246.69.139"
194
],
195
"ctcc": [
196
"115.236.169.86"
197
],
198
"cucc": [
199
"60.12.214.156"
200
]
201
}
202
},
203
"Toollimit": 0,
204
"Authiplist": "",
205
"Password": ""
206
}
Copied!
最近更新 1yr ago