Get package version source
Retrieves the raw package archive (zip) uploaded at publish time for a specific version, defaulting to the package’s latest version.
Authorization: Requires update (edit) access to the package
(can_update_package) — this returns raw package source, gated the same
as editing/publishing, not mere read access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the organization Standard identifier pattern for resource names
^[a-zA-Z0-9_ -]+$The unique identifier of the environment Standard identifier pattern for resource names
^[a-zA-Z0-9_ -]+$The unique identifier of the package Standard identifier pattern for resource names
^[a-zA-Z0-9_ -]+$Query Parameters
The version to fetch the source for. Defaults to the package's latest version. Version identifier pattern supporting dots and dashes
^[a-zA-Z0-9_.-]+$Response
Package source retrieved successfully
The response is of type file.