All Products
Search
Document Center

Application Real-Time Monitoring Service:CreateRumUploadFileUrl

Last Updated:Jul 16, 2025

Creates a file upload URL to upload SourceMap files, symbol table files, or dSYM files.

Operation description

This operation returns a URL. You can upload files to the URL. For more information, see Upload local files with signed URLs.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:CreateRumUploadFileUrlcreate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PidstringYes

The process ID (PID) of the application.

iioe7jcnuk@582846f37******
VersionIdstringNo

The version number of the file.

1.0.0
UuidstringNo

The file ID.

125bdb39-a415-4503-bd96-e293925fc64c
FileNamestringYes

The file name.

test.js.map
ContentTypestringNo

The type of the file. You can set this parameter to "application/zip", "text/plain", or an empty string.

text/plain
AppNamestringNo

The application name.

test-app
SourcemapTypestringNo

The file type. Valid values: source-map: SourceMap files. mapping: symbol table files for Android. dsym: dSYM files for iOS.

source-map
RegionIdstringYes

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

A5EC8221-08F2-4C95-9AF1-49FD998C****
Codeinteger

The response code. The status code 200 indicates that the request was successful.

200
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Messagestring

The error message.

success
HttpStatusCodeinteger

The HTTP status code.

200
Datastring

The file upload URL.

http://arms-rum-v2.oss-cn-hangzhou.aliyuncs.com/113197164xxxxx28/b590lhguqs%40f93xxxxxbf31d3/1.0.0-robots.txt?Expires=1713847079&OSSAccessKeyId=STS.NT6XvoxkyqA&Signature=6ptYX4OTjLMrsleTlA2t97

Examples

Sample success responses

JSONformat

{
  "RequestId": "A5EC8221-08F2-4C95-9AF1-49FD998C****",
  "Code": 200,
  "Success": true,
  "Message": "success",
  "HttpStatusCode": 200,
  "Data": "http://arms-rum-v2.oss-cn-hangzhou.aliyuncs.com/113197164xxxxx28/b590lhguqs%40f93xxxxxbf31d3/1.0.0-robots.txt?Expires=1713847079&OSSAccessKeyId=STS.NT6XvoxkyqA&Signature=6ptYX4OTjLMrsleTlA2t97"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-08-16The internal configuration of the API is changed, but the call is not affectedView Change Details