GetRumSymbolFileParams
Retrieves the signature parameters required for uploading RUM symbol files.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetRumSymbolFileParams |
none |
*All Resource
|
None | None |
Request syntax
POST /rum/symbolFile/upload/policies HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request information for retrieving symbol file upload parameters. |
|
| workspace |
string |
Yes |
The name of the workspace. |
default-cms-1234567890-cn-hangzhou |
| serviceId |
string |
Yes |
The ID of the RUM application service. |
a1b2c3d4e5@f67890 |
| version |
string |
Yes |
The version of the application. |
1.0.0 |
| fileKind |
string |
Yes |
The type of the file to upload. Valid values: sourcemap (.map), dsym (.dSYM.zip), proguard (.txt), native-symbol (.so), name-cache (.json/.txt), pdb (.pdb), sym (.sym), and symbol-zip (.zip). This parameter is used to apply for upload signature parameters. It differs from the artifactType filter parameter in the GetRumSymbolFiles query operation in terms of value dimensions. Specifically, dsym (.dSYM.zip) is classified as artifactType=dsym during queries. symbol-zip (.zip) is directly uploaded and archived using the original file name, and the current query operation does not support filtering by zip for artifactType. |
proguard |
| fileName |
string |
Yes |
The name of the symbol file to be uploaded. The file name extension must match the fileKind value. |
mapping.txt |
| debugId |
string |
No |
The debug identifier of the symbol file, such as a UUID or Debug ID. This parameter is required for all file types except dsym. |
123e4567-e89b-12d3-a456-426614174000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The ID of the request. |
request-1 |
| uploadUrl |
string |
The form upload URL for directly uploading the symbol file to OSS. |
https://bucket.oss-cn-hangzhou.aliyuncs.com |
| formData |
object |
The collection of signature parameters required for form upload, including key, policy, x-oss-signature-version, x-oss-credential, x-oss-date, and x-oss-signature. The signatures in the examples are for illustration purposes only and cannot be used for actual uploads. Use the complete parameters returned by the operation. |
{"key":"user/workspace/service-id/1.0.0/build-1/bundle.js.map","policy":"eyJleHBpcmF0aW9uIjoiMjAyNi0wNi0wM1QxMjozMDowMC4wMDBaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoiYnVja2V0In0seyJ4LW9zcy1zaWduYXR1cmUtdmVyc2lvbiI6Ik9TUzQtSE1BQy1TSEEyNTYifSx7Ingtb3NzLWNyZWRlbnRpYWwiOiJBS0lERVhBTVBMRS8yMDI2MDYwMy9jbi1oYW5nemhvdS9vc3MvYWxpeXVuX3Y0X3JlcXVlc3QifSx7Ingtb3NzLWRhdGUiOiIyMDI2MDYwM1QxMjAwMDBaIn0sWyJlcSIsIiRrZXkiLCJ1c2VyL3dvcmtzcGFjZS9zZXJ2aWNlLWlkLzEuMC4wL2J1aWxkLTEvYnVuZGxlLmpzLm1hcCJdLFsiY29udGVudC1sZW5ndGgtcmFuZ2UiLDEsNTI0Mjg4MDAwXV19","x-oss-signature-version":"OSS4-HMAC-SHA256","x-oss-credential":"AKIDEXAMPLE/20260603/cn-hangzhou/oss/aliyun_v4_request","x-oss-date":"20260603T120000Z","x-oss-signature":"0000000000000000000000000000000000000000000000000000000000000000"} |
|
string |
The string value corresponding to the OSS upload form field. The field names and values are subject to the operation response. |
user/workspace/service-id/1.0.0/build-1/bundle.js.map |
Examples
Success response
JSON format
{
"requestId": "request-1",
"uploadUrl": "https://bucket.oss-cn-hangzhou.aliyuncs.com",
"formData": {
"key": "user/workspace/service-id/1.0.0/build-1/bundle.js.map"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.