Uploads a new or updates an existing JavaScript mapping file using a multipart/form-data
payload.
PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/jsMappingFiles/content |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/jsMappingFiles/content |
To execute this request, you need an access token with javaScriptMappingFiles.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameter | Type | Description | In | Required |
---|---|---|---|---|
minifiedJsFileUrl | string | The URL of the minified JavaScript file. | query | required |
fileType | string | The type of the JavaScript mapping file.
| query | required |
body | object | - | body | optional |
RequestBody
objectElement | Type | Description | Required |
---|---|---|---|
file | string | JavaScript mapping file to upload. | 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 | Type | Description |
---|---|---|
200 | - | Success. The file has been uploaded and stored. Existing file replaced. |
201 | - | Success. The file has been uploaded and stored. |
413 | Error | Failed. The symbol file storage quota is exhausted. |
4XX | Error | Client side error. |
5XX | Error | Server side error. |