Elastic Package Manager (EPM)

Get a package file

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<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}

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

pkgNamestring required

Package name

pkgVersionstring required

Package version

filePathstring required

File path within the package

Response

Successful response — returns the file content

unknown required

Changes

No operation changes recorded.