Skip to main content

Module

Query module list

Method: GET

http://${domain}/browser-api/module/list

Request parameters

FieldTypeRequiredDescriptionRemarks
timePeriodStringYesQuery time rangeUnit: minutes, value: 60
endTimeStringYesQuery end eventValue: 2020-07-23 17:18
langStringNoLanguageValue: zh_CN
randomStringYesRandom value

Return parameters

FieldTypeDescription
codeNumberInterface return status: 200: success; 401: no permission; 400: request parameter error; other: failure
msgStringSuccess return: success
dataObjectReturn list data

Request example

http://${domain}/browser-api/module/list?timePeriod=43200&endTime=2022-02-15%2017%3A01&random=16449157130009338&lang=zh_CN

Return example

{
"code": 200,
"data": { //Same as the above application list interface
"list": [
{ //With data module
"alarmStatus": -1, //Alarm status, 0: Release 1: Trigger 2: Manual release 3: No data release 4: Manual contact Pending -1: No alarm has been triggered, default value
"dns": 0.0, //dns
"domReady": 5220.0, //Interactive
"firstPacket": 19.0, //First packet
"firstPaint": 1199.0, //White screen
"firstScreen": 1143.0, //First screen
"htmlLoad": 20.0, //html loading
"jsErrorRate": 100.0, //js error rate
"moduleId": 26, //Module id
"name": "index**", //Module name
"noData": false,
"operationAvailability": 50.0, //Operation availability
"operationCount": 2.0, //Number of operations
"operationTime": 4026.0, //Operation time
"pageLoad": 1201.0, //Fully loaded
"pageRender": 5202.0, //Page rendering
"pv": 1, //pv
"remainPacket": 1.0, //Remaining packets
"serverTime": 0.0, //Server time consuming
"slowpageRatio": 100.0, //Slow page ratio
"ssl": 0.0, //ssl
"stalled": 4.0, //stalled
"status": 1, //Status 1: Normal, 0: Disabled -1: Delete
"tcp": 0.0, //Connection establishment
"uv": 1, //uv
"uxScore": 0 //ux score
},
{ //No data module
"alarmStatus": -1,
"moduleId": 27,
"name": "index2**",
"noData": true, //Whether there is data
"status": 1,
"type": "nodata"
}
],
"overview": {
"alarmNum": 0,
"badNum": 0,
"goodNum": 0,
"normalNum": 0
}
},
"msg": "success"
}