GetRumSymbolFiles
Queries the symbol files uploaded by Real User Monitoring (RUM) users, and supports filtering by platform, file type, version, and keywords.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetRumSymbolFiles |
none |
*All Resource
|
None | None |
Request syntax
POST /rum/symbolFiles/query HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request parameters for querying symbol files. |
|
| workspace |
string |
Yes |
The name of the workspace to which the RUM application belongs. This parameter is required, cannot be an empty string, and must be used together with serviceId to locate the application. |
default-cms-1234567890-cn-hangzhou |
| serviceId |
string |
Yes |
The service ID of the RUM application. This parameter is required, cannot be an empty string, and must be used together with workspace to locate the application. |
a1b2c3d4e5@f67890 |
| artifactType |
string |
No |
The symbol file type filter. Valid values: map, dsym, txt, so, sym, pdb, and json. This parameter is used for query filtering and has a different value dimension from the fileKind parameter in the upload API GetRumSymbolFileParams. For example, uploading a dsym file (.dSYM.zip) corresponds to artifactType=dsym. Filtering by artifactType is not supported for standard symbol-zip files (.zip). |
txt |
| keywords |
array |
No |
The list of search keywords. You can specify up to 50 keywords to match file names, UUIDs, version numbers, and more. |
["new-app"] |
|
string |
No |
A single search keyword used to filter symbol files. |
new-app |
|
| nextToken |
string |
No |
The pagination token for a paged query. To query the next page, specify the nextToken value returned in the previous response. The example value is for illustration only and cannot be used for actual queries. |
next |
| pageSize |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 100. Default value: 20. |
20 |
| platform |
string |
No |
The platform type filter. Valid values: web, miniapp, minigame, uniapp, android, ios, harmonyos, windows, macos, and linux. |
android |
| version |
string |
No |
The application version filter. |
1.0.0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
request-1 |
| hasMore |
boolean |
Indicates whether more data is available. |
false |
| nextToken |
string |
The pagination token for the next page. The example value is for illustration only and cannot be used for actual queries. To query the next page, use the actual value returned in the response. |
next |
| pageSize |
integer |
The number of entries returned on the current page. |
20 |
| files |
array<object> |
The list of symbol files. |
|
|
object |
|||
| artifactPath |
string |
The object path of the symbol file. |
user/workspace/service-id/3.0.0/build-1/new-app.map |
| artifactType |
string |
The type of the symbol file. |
map |
| fileName |
string |
The name of the symbol file. |
new-app.map |
| matchedKeywords |
array |
The list of matched search keywords. |
["new-app"] |
|
string |
The keyword from the request that matches the object path, file name, UUID, or version number of the file. |
new-app |
|
| platform |
string |
The platform type to which the symbol file belongs. |
web |
| size |
integer |
The size of the file in bytes. |
512 |
| source |
string |
The source of the symbol file. The current query API returns only symbol files uploaded by users, which is fixed to user. The value system is reserved for platform internal system symbol sources. |
user |
| updateTime |
integer |
The timestamp when the file was last updated, in milliseconds. |
1778806923000 |
| uuid |
string |
The UUID or Debug ID of the symbol file. |
build-1 |
| version |
string |
The associated application version number. |
3.0.0 |
Examples
Success response
JSON format
{
"requestId": "request-1",
"hasMore": false,
"nextToken": "next",
"pageSize": 20,
"files": [
{
"artifactPath": "user/workspace/service-id/3.0.0/build-1/new-app.map",
"artifactType": "map",
"fileName": "new-app.map",
"matchedKeywords": [
"new-app"
],
"platform": "web",
"size": 512,
"source": "user",
"updateTime": 1778806923000,
"uuid": "build-1",
"version": "3.0.0"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.