You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Resources monitor
ResourceErrorList
Copy page
Download PDF
ResourceErrorList
Get the static resource error list.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=ResourceErrorList&Version=2022-10-12​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
ResourceErrorList​
The API name. The current API name is ResourceErrorList.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
common​
Object of CommonParams​
Yes​
-​
Common parameter.​
time_filter​
Object of TimeFilter​
Yes​
-​
Time range.​
filter_conditions​
Object of FilterCondition​
No​
-​
The filter condition.​
order_by​
String​
No​
count,user​
Sorting basis.​
​
CommonParams​
​
Parameters​
Type​
Required​
Sample value​
Description​
aid​
Long​
Yes​
12345​
Application ID.​
site_type​
String​
Yes​
web​
Site type.​
env​
String​
Yes​
online​
Environment. An empty string "" indicates all.​
os​
String​
No​
webpro​
Service type. Available values are webpro, app, and minipro.​
user​
String​
No​
test_user​
Username.​
​
TimeFilter​
​
Parameters​
Type​
Required​
Sample value​
Description​
start_time​
Integer​
Yes​
1665485413​
Start time, in seconds.​
end_time​
Integer​
Yes​
1665744613​
End time, in seconds.​
granularity​
Integer​
No​
3600​
Aggregation time granularity, in seconds.​
​
FilterCondition​
​
Parameters​
Type​
Required​
Sample value​
Description​
type​
String​
Yes​
and​
Filter condition type. Available values are and and rule. Only two levels are supported. The first level type must be "and", and the second level type must be "rule".​
field​
String​
No​
pid​
Condition field key. Available values can be obtained via the GetFieldKeys API.​
op​
String​
No​
in​
Condition operator. Available values: eq, neq, lt, lte, gt, gte, in, not_in, regex, not_regex.​
groupKey​
String​
No​
context​
Map type field key. Available values can be obtained via the GetFieldKeys API.​
values​
Array of String​
No​
[Data explore]​
Criterion values. Available values can be obtained via the GetFieldValues API.​
children​
Array of FilterCondition​
No​
-​
If there are conditions at the next level, put them here. This parameter is required when type is and. This level cannot coexist with field, op, groupkey, and values.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=ResourceErrorList&Version=2022-10-12​
{​
"common": {​
"aid": 12345,​
"site_type": "web",​
"env": "online",​
"os": "webpro",​
"user": "test_user"​
},​
"time_filter": {​
"start_time": 1665485413,​
"end_time": 1665744613,​
"granularity": 3600​
},​
"filter_conditions": {​
"type": "and",​
"children": [​
{​
"type": "and",​
"values": "[data explore]",​
"op": "in",​
"groupKey": "context",​
"children": [],​
"field": "pid"​
}​
],​
"op": "in",​
"groupKey": "context",​
"field": "pid",​
"values": "[data explore]"​
},​
"order_by": "count,user"​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
-​
Static resource error list.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
error_msg​
String​
-​
Error message. Empty indicates success.​
​
ResourceErrorListItem​
​
Parameters​
Type​
Sample value​
Description​
url​
String​
-​
Static resource error URL.​
path​
String​
path_test​
Static resource error path.​
type​
String​
resource​
Static resource error type.​
user​
Long​
10​
Number of users affected by static resource errors.​
count​
Long​
10​
Static resource error count.​
domain​
String​
www.test.com​
Static resource error domain.​
user_trend​
Object of ChartData​
-​
Trend of the number of users affected by static resource errors.​
count_trend​
Object of ChartData​
-​
Trend of static resource error count.​
​
ChartData​
​
Parameters​
Type​
Sample value​
Description​
fields​
Array of Field​
-​
Line chart/pie chart dimensions, len(fields)=len(source[i]).​
source​
Array of String​
[["1668355200","js_error","0","0"]]​
The set of specific points in the trend chart. len(source) is the number of points in the line chart or the number of blocks in the pie chart.​
​
Field​
​
Parameters​
Type​
Sample value​
Description​
id​
String​
date​
Dimension key.​
name​
String​
Date​
Dimension name.​
dataType​
String​
string​
Dimension type.​
aggregate​
String​
-​
Aggregation method.​
​
Sample response​
​
{​
"error_msg": "",​
"error_no": 0,​
"data": [​
{​
"path": "",​
"count": 554,​
"user": 689,​
"type": "drum",​
"count_trend": {​
"fields": [​
{​
"name": "date",​
"aggregate": "How",​
"id": "date",​
"dataType": "string"​
}​
],​
"source": [​
[​
"1668355200",​
"js_error",​
"0",​
"0"​
]​
]​
},​
"user_trend": {​
"source": [​
[​
"1668355200",​
"js_error",​
"0",​
"0"​
]​
],​
"fields": [​
{​
"name": "date",​
"dataType": "string",​
"id": "date",​
"aggregate": "sun"​
}​
]​
},​
"domain": "sets"​
}​
]​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.21 10:39:03