Elastic Package Manager (EPM)
Get a package file
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}</span></div>Refer to Spaces for more information.
Get the contents of a specific file from a package.<br/><br/>[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.
get/api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}
Path parameters
pkgNamestring required
Package name
pkgVersionstring required
Package version
filePathstring required
File path within the package
Response
Successful response — returns the file content
{"stackTrail":"paths:/api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}