GetRumSymbolFileParams

Updated at:

Retrieves the signature parameters required for uploading RUM symbol files.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.