Get source maps Beta
Returns an array of Fleet artifacts, including source map uploads.
Headers
-
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
.
Responses
-
200 application/json; Elastic-Api-Version=2023-10-31
Successful response
-
400 application/json; Elastic-Api-Version=2023-10-31
Bad Request response
-
401 application/json; Elastic-Api-Version=2023-10-31
Unauthorized response
-
500 application/json; Elastic-Api-Version=2023-10-31
Internal Server Error response
-
501 application/json; Elastic-Api-Version=2023-10-31
Not Implemented response
GET
/api/apm/sourcemaps
curl \
-X GET https://<KIBANA_URL>/api/apm/sourcemaps \
-H "elastic-api-version: 2023-10-31"
Response examples (200)
{
"artifacts": [
{
"body": {
"bundleFilepath": "string",
"serviceName": "string",
"serviceVersion": "string",
"sourceMap": {
"file": "string",
"mappings": "string",
"sourceRoot": "string",
"sources": [
"string"
],
"sourcesContent": [
"string"
],
"version": 42.0
}
},
"compressionAlgorithm": "string",
"created": "string",
"decodedSha256": "string",
"decodedSize": 42.0,
"encodedSha256": "string",
"encodedSize": 42.0,
"encryptionAlgorithm": "string",
"id": "string",
"identifier": "string",
"packageName": "string",
"relative_url": "string",
"type": "string"
}
]
}
Response examples (400)
{
"error": "Not Found",
"message": "Not Found",
"statusCode": 400
}
Response examples (401)
{
"error": "Unauthorized",
"message": "string",
"statusCode": 401
}
Response examples (500)
{
"error": "Internal Server Error",
"message": "string",
"statusCode": 500
}
Response examples (501)
{
"error": "Not Implemented",
"message": "Not Implemented",
"statusCode": 501
}