getNpmPackageTarball
Download a release of @buildr-custom/<org slug>.<repo slug>.<name> as an npm tarball: its source files, a package.json that Forge writes, and an npm-shrinkwrap.json of the npm packages its build resolved. Forge packs a release once, when it publishes, so every download gives the same bytes.
GET
/npm/@buildr-custom/{name}/-/{version}Path parameters
Returns
200
Success
400
InvalidRequest
403
ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
ExtensionVersionNotFound | OrgNotFound
JSON
One of the following:
- ExtensionVersionNotFoundEncoded
- OrgNotFoundEncoded
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded