npm_proxy

get specific file from npm package in private registry

get/w/{workspace}/npm_proxy/file/{package}/{version}/{filepath}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/npm_proxy/file/{package}/{version}/{filepath}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
packagestring required

npm package name

versionstring required

package version

filepathstring required

file path within package

Response

file content

Changes

No recorded changes to this operation across all 297 revisions of this API.