Skip to content

Upload Single File Content



POST /api/v1/rum_sourcemap/upload_file_content

Overview

Used to upload the content of a single sourcemap source file (a single source file after SourceMap decompression)

Body Request Parameters

Parameter Name Type Required Description
appId string Y appId
Can be empty: False
version string Version
Can be empty: False
Can be an empty string: True
env string Environment
Can be empty: False
Can be an empty string: True
filename string Y Filename including full relative path
Can be empty: False
Can be an empty string: True
content string File content
Can be empty: False
Can be an empty string: True

Additional Parameter Notes

Note: Under the same application, only one sourcemap with the same version and env can exist. The uploaded file content will directly overwrite the target file.