Headers
-
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
. -
A required header to protect against CSRF attacks
Body
Required
-
The absolute path of the final bundle as used in the web application.
-
The name of the service that the service map should apply to.
-
The version of the service that the service map should apply to.
-
The source map. String or file upload. It must follow the source map revision 3 proposal.
POST
/api/apm/sourcemaps
curl \
--request POST 'http://localhost:5601/api/apm/sourcemaps' \
--header "Authorization: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--header "elastic-api-version: 2023-10-31" \
--header "kbn-xsrf: true" \
--form "bundle_filepath=string" \
--form "service_name=string" \
--form "service_version=string" \
--form "sourcemap=@file"