getNpmPackage
Read an extension's releases as npm's packument for @buildr-custom/<org slug>.<repo slug>.<name>, or the versions of @buildr/sdk that this Forge publishes, for npm to resolve. An org's previous slugs name its packages too. Point the @buildr-custom and @buildr scopes at /npm/ in .npmrc.
GET
/npm/{package}Path parameters
Returns
200
NpmPackument
400
InvalidRequest
403
ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
ExtensionNotFound | OrgNotFound
JSON
One of the following:
- ExtensionNotFoundEncoded
- OrgNotFoundEncoded
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded