Upload a JavaScript source mapping file to Dynatrace symbol file storage with the Deobfuscation API for a minified file, identified by its file type and URL.
| PUT | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/rum/deobfuscation/v1/symbol-files/js/{fileType} |
You use this operation to upload a JavaScript source mapping file to symbol file storage. The fileType path parameter and the required minifiedJsFileUrl query parameter identify the minified JavaScript file the mapping belongs to, and the file field of the request body carries the mapping. A 200 response confirms the upload.
To execute this request, you need a platform token or OAuth access token with deobfuscation:symbol-files:write scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| fileType | string | Type of the JavaScript file the mapping belongs to. The element can hold these values
| path | Required |
| minifiedJsFileUrl | string | URL of the minified JavaScript file this source mapping file belongs to. | query | Required |
| body | object | - | body | Required |
RequestBody object| Element | Type | Description | Required |
|---|---|---|---|
| file | string | The JavaScript source mapping file content. Maximum allowed size is 100 MB. | Required |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"file": "string"}
| Code | Description |
|---|---|
| 200 | Symbol file uploaded successfully. |
| 400 | - |
| 401 | - |
| 403 | - |
| 404 | - |
| 413 | - |
| 500 | - |
| 501 | - |
| 503 | - |