Retrieves the content of a specific JavaScript source map file. Provide either
debug_id with a UUID, or all three of filename, service, and version.
When debug_id is provided, filename, service, and version are not required
and are ignored.
Examples: the following commands use the US1 API host. Replace the host
with the API host for your site, and the filename, service, version, and
debug ID with values from your organization. Use --get so curl sends the
parameters in the query string.
1. Retrieve a source map by debug ID
Provide debug_id with a UUID. No filename, service, or version is required.
The Base64 VLQ encoded string that maps positions in the minified
file to positions in the original source files.
minifiedLineLengths [required]
[integer]
List of character counts for each line in the minified file.
names [required]
[]
List of symbol names referenced in the mappings.
sourceRoot [required]
string
The root path prepended to source file paths.
sources [required]
[string]
List of original source file paths.
sourcesContent [required]
[string]
List of original source file contents corresponding to the paths in sources.
version [required]
int64
The version of the source map format (typically 3).
id [required]
string
The unique identifier of the source map file, typically the path to the file.
type [required]
enum
The resource type for source map file objects.
Allowed enum values: sourcemap_files
{"data":{"attributes":{"file":"bundle.js","mappings":"AAAA,OAAO,CAAC,GAAG","minifiedLineLengths":[50,30],"names":["console","log"],"sourceRoot":"/","sources":["src/index.js","src/utils.js"],"sourcesContent":["console.log('index');","export function util() {}"],"version":3},"id":"path/to/sourcemap.js.map","type":"sourcemap_files"}}