v1
latestOpenAPI 3.1.02026-07-2641930.0 KB策略组
测试策略组内节点延迟
对指定策略组内的节点/策略组进行测试,返回新的延迟信息,并清除自动策略组的 fixed 选择。必填 query:url、timeout;可选 expected(如 200-299)。
get/group/{name}/delay
Path parameters
namestring required
策略组名称。
Query parameters
urlstring required
Example:https://www.gstatic.com/generate_204
延迟测试目标 URL。
timeoutinteger required
Example:5000
超时时间(毫秒)。源码中该参数缺失或非整数会返回 400。
expectedstring
Example:200-299
期望的 HTTP 状态码,支持范围如 200-299。
Response
节点名 → 延迟(ms) 的映射。
DelayMap required
节点名 → 延迟(ms) 的映射。
Example response
{
"示例节点 A": 66,
"示例节点 B": 86
}