元素数据导出

方法:GET

https://network.tingyun.com/network-report-data/rawdata/elerawdata-json-authkey

请求参数

字段名 类型 必填 选项 描述
authkey String -- 授权码
taskId Int -- 任务ID
beginTimeStr String 格式:yyyy-MM-dd HH:mm,例如:2021-08-01 01:00 开始时间
endTimeStr String 格式:yyyy-MM-dd HH:mm,例如:2021-08-01 02:00 结束时间
pageId Long -- 页面数据编号

返回参数

字段名 类型 描述
page_id long 页面编号
element_seq Int 元素加载顺序
url_id Int 元素编号
task_id Int 任务编号
city_id Int 城市编号
city_name String 城市名称
province_name String 省份名称
country_name String 国家名称
isp_id Int 运营商编号
isp_name String 运营商名称
net_speed_id Int 接入方式编号
net_speed_name String 接入方式名称
probe_ip_str String 节点IP
url_full String 元素URL全路径
tm_base Date 创建时间
record_type String 元素资源类型
url_protocol String 元素协议类型
url_host String 元素域名
url_port String 元素端口
url_path String 元素路径
url_ip String 元素IP
element_type String 元素类型
error_code Int 错误代码
redirect_total Int 重定向次数
byte_total Int 总下载字节数
ts_start_offset Int 开始加载时间
ts_element Int 元素下载总时间
ts_dns Int DNS时间
ts_connect Int 建立连接时间
ts_ssl Int SSL握手时间
ts_redirect Int 重定向时间
ts_request Int 发出请求时间
ts_first_packet Int 首包时间
ts_remain_packet Int 剩余包时间
ts_close Int 关闭连接时间
http_stat_code Int HTTP状态码
http_head_size Int HTTP头大小
http_body_comp String 是否支持HTTP压缩
http_server String HTTP Server
http_via String HTTP Via
http_req_header String HTTP请求头信息
http_resp_header String HTTP响应头信息
ts_block Int 阻塞时间
socket_id Int Socket连接ID
byte_sent Int 发送字节数
first_screen Int 出现首屏概率
lazy_load double 延迟加载概率
queue_time Int 排队时间(Server)
application_server_time Int 应用响应时间(Server)
application_id String 应用ID
application_instance_id String 实例ID
trace_guid String 跨应用追踪trace_guid
action_name String Web应用过程名称
protocol_version String HTTP协议版本
quic_version String QUIC协议版本
num_quic_handshake Int QUIC建连次数
ts_quic_first_100 Int QUIC前100K时间
quic_connection_id String QUIC Connection-ID
probe_ip_address String 监测点IP
status Int HTTP响应状态码
data String
message String 提示信息
request String 请求路径
time Date 当前请求时间

错误说明

字段说明 错误信息
authkey PermissionDeniedError

返回示例

{
    "status": 200,
    "data": [
        {
            "page_id": 98280699,
            "element_seq": 1,
            "url_id": 1735209482,
            "task_id": 3739991,
            "city_id": 481304,
            "city_name": "邯郸市",
            "province_name": "河北省",
            "country_name": "中国",
            "isp_id": 16,
            "isp_name": "中国联通",
            "net_speed_id": 6,
            "net_speed_name": "LastMile",
            "probe_ip": null,
            "probe_ip_str": "",
            "url": null,
            "url_full": "http://www.baidu.com/",
            "tm_base": "2022-02-22 11:30:17",
            "record_type": "B",
            "url_protocol": "http",
            "url_host": "www.baidu.com",
            "url_port": "80",
            "url_path": "/",
            "url_ip": "110.242.68.4",
            "element_type": "text/html",
            "error_code": 0,
            "redirect_total": 0,
            "byte_total": 1155,
            "ts_start_offset": 0,
            "ts_element": 110,
            "ts_dns": 78,
            "ts_connect": 15,
            "ts_ssl": 0,
            "ts_redirect": 0,
            "ts_request": 0,
            "ts_first_packet": 16,
            "ts_remain_packet": 1,
            "ts_close": 0,
            "http_stat_code": 302,
            "http_head_size": 1001,
            "http_body_comp": "0",
            "http_server": "BWS/1.1",
            "http_via": null,
            "http_req_header": null,
            "http_resp_header": null,
            "ts_block": 3,
            "socket_id": 1,
            "byte_sent": 492,
            "first_screen": 0,
            "lazy_load": 0,
            "queue_time": 0,
            "application_server_time": 0,
            "application_id": 0,
            "application_instance_id": 0,
            "trace_guid": null,
            "action_name": null,
            "protocol_version": "1.1",
            "quic_version": null,
            "num_quic_handshake": 0,
            "ts_quic_first_100": 0,
            "quic_connection_id": null,
            "probe_ip_address": "-"
        },
        {
            "page_id": 98280699,
            "element_seq": 2,
            "url_id": -1141332985,
            "task_id": 3739991,
            "city_id": 481304,
            "city_name": "邯郸市",
            "province_name": "河北省",
            "country_name": "中国",
            "isp_id": 16,
            "isp_name": "中国联通",
            "net_speed_id": 6,
            "net_speed_name": "LastMile",
            "probe_ip": null,
            "probe_ip_str": "",
            "url": null,
            "url_full": "https://www.baidu.com/",
            "tm_base": "2022-02-22 11:30:17",
            "record_type": "B",
            "url_protocol": "https",
            "url_host": "www.baidu.com",
            "url_port": "443",
            "url_path": "/",
            "url_ip": "110.242.68.4",
            "element_type": "text/html",
            "error_code": 0,
            "redirect_total": 0,
            "byte_total": 86066,
            "ts_start_offset": 113,
            "ts_element": 234,
            "ts_dns": 1,
            "ts_connect": 15,
            "ts_ssl": 173,
            "ts_redirect": 0,
            "ts_request": 0,
            "ts_first_packet": 18,
            "ts_remain_packet": 27,
            "ts_close": 0,
            "http_stat_code": 200,
            "http_head_size": 796,
            "http_body_comp": "1",
            "http_server": "BWS/1.1",
            "http_via": null,
            "http_req_header": null,
            "http_resp_header": null,
            "ts_block": 1,
            "socket_id": 3,
            "byte_sent": 693,
            "first_screen": 0,
            "lazy_load": 0,
            "queue_time": 0,
            "application_server_time": 0,
            "application_id": 0,
            "application_instance_id": 0,
            "trace_guid": null,
            "action_name": null,
            "protocol_version": "1.1",
            "quic_version": null,
            "num_quic_handshake": 0,
            "ts_quic_first_100": 0,
            "quic_connection_id": null,
            "probe_ip_address": "-"
        }
    ],
    "message": "",
    "error_code": 0,
    "request": "",
    "time": "2022-02-22 03:38:46"
}
© 2007-2023 北京基调网络股份有限公司 all right reserved,powered by Gitbook本文档更新于: 2023-05-04 16:52

results matching ""

    No results matching ""