Returns a list of metadata of all JavaScript mapping files. The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/jsMappingFiles |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/jsMappingFiles |
To execute this request, you need an access token with javaScriptMappingFiles.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameter | Type | Description | In | Required |
---|---|---|---|---|
nextPageKey | string | The cursor for the next page of results. You can find it in the nextPageKey field of the previous response. The first page is always returned if you don't specify the nextPageKey query parameter. When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters. | query | optional |
pageSize | integer | The amount of JavaScript mapping files in a single response payload. The maximal allowed page size is 100. If not set, 20 is used. | query | optional |
minifiedJsFileUrl | string | Filters the resulting set of JavaScript mapping files by the minified JavaScript file URL. Only equals are taken into account. | query | optional |
fileType | string | Filters the resulting set of JavaScript mapping files by file type.
| query | optional |
Code | Type | Description |
---|---|---|
200 | Java | Success. |
4XX | Error | Client side error. |
5XX | Error | Server side error. |
JavaScriptMappingFileListDto
objectElement | Type | Description |
---|---|---|
jsMappingFiles | Java | A list of JavaScript mapping files. |
nextPageKey | string | The cursor for the next page of results. Has the value of Use it in the nextPageKey query parameter to obtain subsequent pages of the result. |
pageSize | integer | The number of entries per page. |
totalCount | integer | The total number of entries in the result. |
JavaScriptMappingFileDto
objectElement | Type | Description |
---|---|---|
fileName | string | The name of the file. |
fileType | string | The type of the file.
|
minifiedJsFileUrl | string | The minified JavaScript file URL to which the mapping file belongs to. |
numberOfFiles | integer | The number of files. |
pinned | boolean | Whether the file is pinned and therefore not automatically deleted. |
size | integer | The size of the file, in KB. |
uploadTimestamp | integer | The timestamp of the file upload, in UTC milliseconds. |
zipped | boolean | Whether several files are zipped into one file. |
{"jsMappingFiles": [{"fileName": "string","fileType": "MINIFIED","minifiedJsFileUrl": "string","numberOfFiles": 1,"pinned": true,"size": 1,"uploadTimestamp": 1,"zipped": true}],"nextPageKey": "AQAAABQBAAAABQ==","pageSize": 1,"totalCount": 1}