Upload source map
https://{kibana_url}
- POST /api/apm/sourcemaps
- POST /s/{space_id}/api/apm/sourcemaps
Refer to Spaces for more information.
Upload a source map for a specific service and version.
Request
-
bundle_filepathstringrequired -
The absolute path of the final bundle as used in the web application.
-
service_namestringrequired -
The name of the service that the service map should apply to.
-
service_versionstringrequired -
The version of the service that the service map should apply to.
-
sourcemapstringrequired -
The source map. String or file upload. It must follow the source map revision 3 proposal.
Responses
Successful response
-
bodystring -
compressionAlgorithmstring -
Compression Algorithm
-
createdstring -
Created date
-
decodedSha256string -
Decoded SHA-256
-
decodedSizenumber -
Decoded size
-
encodedSha256string -
Encoded SHA-256
-
encodedSizenumber -
Encoded size
-
encryptionAlgorithmstring -
Encryption Algorithm
-
idstring -
Identifier
-
identifierstring -
Identifier
-
packageNamestring -
Package name
-
relative_urlstring -
Relative URL
-
typestring -
Type
Bad Request response
-
errorstring -
Error type
-
messagestring -
Error message
-
statusCodenumber -
Error status code
Unauthorized response
-
errorstring -
Error type
-
messagestring -
Error message
-
statusCodenumber -
Error status code
Forbidden response
-
errorstring -
Error type
-
messagestring -
Error message
-
statusCodenumber -
Error status code
Internal Server Error response
-
errorstring -
Error type
-
messagestring -
Error message
-
statusCodenumber -
Error status code
Not Implemented response
-
errorstring -
Error type
-
messagestring -
Error message
-
statusCodenumber -
Error status code