# \NpmProxyApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_npm_package_file**](NpmProxyApi.md#get_npm_package_file) | **GET** /w/{workspace}/npm_proxy/file/{package}/{version}/{filepath} | get specific file from npm package in private registry
[**get_npm_package_filetree**](NpmProxyApi.md#get_npm_package_filetree) | **GET** /w/{workspace}/npm_proxy/filetree/{package}/{version} | get npm package file tree from private registry
[**get_npm_package_metadata**](NpmProxyApi.md#get_npm_package_metadata) | **GET** /w/{workspace}/npm_proxy/metadata/{package} | get npm package metadata from private registry
[**resolve_npm_package_version**](NpmProxyApi.md#resolve_npm_package_version) | **GET** /w/{workspace}/npm_proxy/resolve/{package} | resolve npm package version from private registry



## get_npm_package_file

> String get_npm_package_file(workspace, package, version, filepath)
get specific file from npm package in private registry

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**package** | **String** | npm package name | [required] |
**version** | **String** | package version | [required] |
**filepath** | **String** | file path within package | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_npm_package_filetree

> models::GetNpmPackageFiletree200Response get_npm_package_filetree(workspace, package, version)
get npm package file tree from private registry

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**package** | **String** | npm package name | [required] |
**version** | **String** | package version | [required] |

### Return type

[**models::GetNpmPackageFiletree200Response**](getNpmPackageFiletree_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_npm_package_metadata

> models::GetNpmPackageMetadata200Response get_npm_package_metadata(workspace, package)
get npm package metadata from private registry

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**package** | **String** | npm package name | [required] |

### Return type

[**models::GetNpmPackageMetadata200Response**](getNpmPackageMetadata_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## resolve_npm_package_version

> models::ResolveNpmPackageVersion200Response resolve_npm_package_version(workspace, package, tag)
resolve npm package version from private registry

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**package** | **String** | npm package name | [required] |
**tag** | Option<**String**> | version tag or reference |  |

### Return type

[**models::ResolveNpmPackageVersion200Response**](resolveNpmPackageVersion_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

