pulp_npm_client 0.1.0a1.dev01595856770 → 0.1.0a1.dev01596245316
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_npm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +32 -31
- data/docs/ContentPackagesApi.md +13 -10
- data/docs/DistributionsNpmApi.md +34 -28
- data/docs/NpmNpmRepository.md +3 -1
- data/docs/NpmNpmRepositoryResponse.md +3 -1
- data/docs/PatchednpmNpmRepository.md +3 -1
- data/docs/RemotesNpmApi.md +34 -28
- data/docs/RepositoriesNpmApi.md +44 -38
- data/docs/RepositoriesNpmVersionsApi.md +26 -23
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_npm_client/api/content_packages_api.rb +15 -9
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +48 -36
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +48 -36
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +66 -54
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +42 -36
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +15 -5
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +15 -5
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +15 -5
- data/lib/pulp_npm_client/models/repository_sync_url.rb +1 -6
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +4 -1
- data/spec/api/distributions_npm_api_spec.rb +10 -4
- data/spec/api/remotes_npm_api_spec.rb +10 -4
- data/spec/api/repositories_npm_api_spec.rb +12 -6
- data/spec/api/repositories_npm_versions_api_spec.rb +7 -4
- data/spec/models/npm_npm_repository_response_spec.rb +6 -0
- data/spec/models/npm_npm_repository_spec.rb +6 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +6 -0
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efc49c5e4f84c52ab548425b05a1547301c89f1466a6e83658745bdc6284b353
|
4
|
+
data.tar.gz: a4ab3558bd03543efbccbd050b743ef1fce0874f4367788011fb34007215a26d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dab48633626e1f293f5cc4d115c10005f7a05964b3d1da9a86ac6ca6373f09e0fa98e122d76cc7baf42cd7619cf0bd2cf1d332d26de1481c5ead34de5dfead4
|
7
|
+
data.tar.gz: 00fd856bd2401e67068fdb989732e7636dc00fc6055fad2213a127b6e5fcb739d7e9190460301510ee4450f9a627ade5272e539169ef0240ef03b7b6503feff2
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.1.0a1.
|
10
|
+
- Package version: 0.1.0a1.dev01596245316
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_npm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_npm_client-0.1.0a1.
|
27
|
+
gem install ./pulp_npm_client-0.1.0a1.dev01596245316.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.
|
30
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01596245316.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_npm_client', '~> 0.1.0a1.
|
36
|
+
gem 'pulp_npm_client', '~> 0.1.0a1.dev01596245316'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -75,6 +75,7 @@ opts = {
|
|
75
75
|
}
|
76
76
|
|
77
77
|
begin
|
78
|
+
#Create a package
|
78
79
|
result = api_instance.create(relative_path, name, version, opts)
|
79
80
|
p result
|
80
81
|
rescue PulpNpmClient::ApiError => e
|
@@ -89,33 +90,33 @@ All URIs are relative to *http://pulp*
|
|
89
90
|
|
90
91
|
Class | Method | HTTP request | Description
|
91
92
|
------------ | ------------- | ------------- | -------------
|
92
|
-
*PulpNpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ |
|
93
|
-
*PulpNpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ |
|
94
|
-
*PulpNpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {
|
95
|
-
*PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ |
|
96
|
-
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {
|
97
|
-
*PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ |
|
98
|
-
*PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {
|
99
|
-
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {
|
100
|
-
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {
|
101
|
-
*PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ |
|
102
|
-
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {
|
103
|
-
*PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ |
|
104
|
-
*PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {
|
105
|
-
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {
|
106
|
-
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {
|
107
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ |
|
108
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {
|
109
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ |
|
110
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {
|
111
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {
|
112
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {
|
113
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {
|
114
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {
|
115
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {
|
116
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {
|
117
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {
|
118
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {
|
93
|
+
*PulpNpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
94
|
+
*PulpNpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ | List packages
|
95
|
+
*PulpNpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
96
|
+
*PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
97
|
+
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
98
|
+
*PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
99
|
+
*PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
|
100
|
+
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
|
101
|
+
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
|
102
|
+
*PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
103
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
104
|
+
*PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
105
|
+
*PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
106
|
+
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
107
|
+
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
108
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
109
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
110
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
111
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
112
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_npm_repository_href} | Update a npm repository
|
113
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_npm_repository_href} | Inspect a npm repository
|
114
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
115
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
116
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_npm_repository_version_href} | Delete a repository version
|
117
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_npm_repository_href}versions/ | List repository versions
|
118
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_npm_repository_version_href} | Inspect a repository version
|
119
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_npm_repository_version_href}repair/ |
|
119
120
|
|
120
121
|
|
121
122
|
## Documentation for Models
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ |
|
8
|
-
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ |
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {
|
7
|
+
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
8
|
+
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ | List packages
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
> NpmPackageResponse create(relative_path, name, version, opts)
|
16
16
|
|
17
|
-
|
17
|
+
Create a package
|
18
18
|
|
19
19
|
Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
20
20
|
|
@@ -41,6 +41,7 @@ opts = {
|
|
41
41
|
}
|
42
42
|
|
43
43
|
begin
|
44
|
+
#Create a package
|
44
45
|
result = api_instance.create(relative_path, name, version, opts)
|
45
46
|
p result
|
46
47
|
rescue PulpNpmClient::ApiError => e
|
@@ -78,7 +79,7 @@ Name | Type | Description | Notes
|
|
78
79
|
|
79
80
|
> InlineResponse200 list(opts)
|
80
81
|
|
81
|
-
|
82
|
+
List packages
|
82
83
|
|
83
84
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
84
85
|
|
@@ -109,6 +110,7 @@ opts = {
|
|
109
110
|
}
|
110
111
|
|
111
112
|
begin
|
113
|
+
#List packages
|
112
114
|
result = api_instance.list(opts)
|
113
115
|
p result
|
114
116
|
rescue PulpNpmClient::ApiError => e
|
@@ -148,9 +150,9 @@ Name | Type | Description | Notes
|
|
148
150
|
|
149
151
|
## read
|
150
152
|
|
151
|
-
> NpmPackageResponse read(
|
152
|
-
|
153
|
+
> NpmPackageResponse read(npm_package_href, opts)
|
153
154
|
|
155
|
+
Inspect a package
|
154
156
|
|
155
157
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
156
158
|
|
@@ -167,14 +169,15 @@ PulpNpmClient.configure do |config|
|
|
167
169
|
end
|
168
170
|
|
169
171
|
api_instance = PulpNpmClient::ContentPackagesApi.new
|
170
|
-
|
172
|
+
npm_package_href = 'npm_package_href_example' # String |
|
171
173
|
opts = {
|
172
174
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
173
175
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
174
176
|
}
|
175
177
|
|
176
178
|
begin
|
177
|
-
|
179
|
+
#Inspect a package
|
180
|
+
result = api_instance.read(npm_package_href, opts)
|
178
181
|
p result
|
179
182
|
rescue PulpNpmClient::ApiError => e
|
180
183
|
puts "Exception when calling ContentPackagesApi->read: #{e}"
|
@@ -186,7 +189,7 @@ end
|
|
186
189
|
|
187
190
|
Name | Type | Description | Notes
|
188
191
|
------------- | ------------- | ------------- | -------------
|
189
|
-
**
|
192
|
+
**npm_package_href** | **String**| |
|
190
193
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
191
194
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
192
195
|
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -4,12 +4,12 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ |
|
8
|
-
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {
|
9
|
-
[**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ |
|
10
|
-
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](DistributionsNpmApi.md#read) | **GET** {
|
12
|
-
[**update**](DistributionsNpmApi.md#update) | **PUT** {
|
7
|
+
[**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
8
|
+
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
9
|
+
[**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
10
|
+
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
|
11
|
+
[**read**](DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
|
12
|
+
[**update**](DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
> AsyncOperationResponse create(npm_npm_distribution)
|
19
19
|
|
20
|
-
|
20
|
+
Create a npm distribution
|
21
21
|
|
22
22
|
Trigger an asynchronous create task
|
23
23
|
|
@@ -37,6 +37,7 @@ api_instance = PulpNpmClient::DistributionsNpmApi.new
|
|
37
37
|
npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
|
38
38
|
|
39
39
|
begin
|
40
|
+
#Create a npm distribution
|
40
41
|
result = api_instance.create(npm_npm_distribution)
|
41
42
|
p result
|
42
43
|
rescue PulpNpmClient::ApiError => e
|
@@ -67,9 +68,9 @@ Name | Type | Description | Notes
|
|
67
68
|
|
68
69
|
## delete
|
69
70
|
|
70
|
-
> AsyncOperationResponse delete(
|
71
|
-
|
71
|
+
> AsyncOperationResponse delete(npm_npm_distribution_href, opts)
|
72
72
|
|
73
|
+
Delete a npm distribution
|
73
74
|
|
74
75
|
Trigger an asynchronous delete task
|
75
76
|
|
@@ -86,7 +87,7 @@ PulpNpmClient.configure do |config|
|
|
86
87
|
end
|
87
88
|
|
88
89
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
89
|
-
|
90
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
90
91
|
opts = {
|
91
92
|
base_path: 'base_path_example', # String | base_path
|
92
93
|
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
@@ -98,7 +99,8 @@ opts = {
|
|
98
99
|
}
|
99
100
|
|
100
101
|
begin
|
101
|
-
|
102
|
+
#Delete a npm distribution
|
103
|
+
result = api_instance.delete(npm_npm_distribution_href, opts)
|
102
104
|
p result
|
103
105
|
rescue PulpNpmClient::ApiError => e
|
104
106
|
puts "Exception when calling DistributionsNpmApi->delete: #{e}"
|
@@ -110,7 +112,7 @@ end
|
|
110
112
|
|
111
113
|
Name | Type | Description | Notes
|
112
114
|
------------- | ------------- | ------------- | -------------
|
113
|
-
**
|
115
|
+
**npm_npm_distribution_href** | **String**| |
|
114
116
|
**base_path** | **String**| base_path | [optional]
|
115
117
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
116
118
|
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
@@ -137,7 +139,7 @@ Name | Type | Description | Notes
|
|
137
139
|
|
138
140
|
> InlineResponse2001 list(opts)
|
139
141
|
|
140
|
-
|
142
|
+
List npm distributions
|
141
143
|
|
142
144
|
ViewSet for NPM Distributions.
|
143
145
|
|
@@ -169,6 +171,7 @@ opts = {
|
|
169
171
|
}
|
170
172
|
|
171
173
|
begin
|
174
|
+
#List npm distributions
|
172
175
|
result = api_instance.list(opts)
|
173
176
|
p result
|
174
177
|
rescue PulpNpmClient::ApiError => e
|
@@ -209,9 +212,9 @@ Name | Type | Description | Notes
|
|
209
212
|
|
210
213
|
## partial_update
|
211
214
|
|
212
|
-
> AsyncOperationResponse partial_update(
|
213
|
-
|
215
|
+
> AsyncOperationResponse partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
|
214
216
|
|
217
|
+
Update a npm distribution
|
215
218
|
|
216
219
|
Trigger an asynchronous partial update task
|
217
220
|
|
@@ -228,7 +231,7 @@ PulpNpmClient.configure do |config|
|
|
228
231
|
end
|
229
232
|
|
230
233
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
231
|
-
|
234
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
232
235
|
patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
|
233
236
|
opts = {
|
234
237
|
base_path: 'base_path_example', # String | base_path
|
@@ -241,7 +244,8 @@ opts = {
|
|
241
244
|
}
|
242
245
|
|
243
246
|
begin
|
244
|
-
|
247
|
+
#Update a npm distribution
|
248
|
+
result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
|
245
249
|
p result
|
246
250
|
rescue PulpNpmClient::ApiError => e
|
247
251
|
puts "Exception when calling DistributionsNpmApi->partial_update: #{e}"
|
@@ -253,7 +257,7 @@ end
|
|
253
257
|
|
254
258
|
Name | Type | Description | Notes
|
255
259
|
------------- | ------------- | ------------- | -------------
|
256
|
-
**
|
260
|
+
**npm_npm_distribution_href** | **String**| |
|
257
261
|
**patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md)| |
|
258
262
|
**base_path** | **String**| base_path | [optional]
|
259
263
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
@@ -279,9 +283,9 @@ Name | Type | Description | Notes
|
|
279
283
|
|
280
284
|
## read
|
281
285
|
|
282
|
-
> NpmNpmDistributionResponse read(
|
283
|
-
|
286
|
+
> NpmNpmDistributionResponse read(npm_npm_distribution_href, opts)
|
284
287
|
|
288
|
+
Inspect a npm distribution
|
285
289
|
|
286
290
|
ViewSet for NPM Distributions.
|
287
291
|
|
@@ -298,14 +302,15 @@ PulpNpmClient.configure do |config|
|
|
298
302
|
end
|
299
303
|
|
300
304
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
301
|
-
|
305
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
302
306
|
opts = {
|
303
307
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
304
308
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
305
309
|
}
|
306
310
|
|
307
311
|
begin
|
308
|
-
|
312
|
+
#Inspect a npm distribution
|
313
|
+
result = api_instance.read(npm_npm_distribution_href, opts)
|
309
314
|
p result
|
310
315
|
rescue PulpNpmClient::ApiError => e
|
311
316
|
puts "Exception when calling DistributionsNpmApi->read: #{e}"
|
@@ -317,7 +322,7 @@ end
|
|
317
322
|
|
318
323
|
Name | Type | Description | Notes
|
319
324
|
------------- | ------------- | ------------- | -------------
|
320
|
-
**
|
325
|
+
**npm_npm_distribution_href** | **String**| |
|
321
326
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
322
327
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
323
328
|
|
@@ -337,9 +342,9 @@ Name | Type | Description | Notes
|
|
337
342
|
|
338
343
|
## update
|
339
344
|
|
340
|
-
> AsyncOperationResponse update(
|
341
|
-
|
345
|
+
> AsyncOperationResponse update(npm_npm_distribution_href, npm_npm_distribution, opts)
|
342
346
|
|
347
|
+
Update a npm distribution
|
343
348
|
|
344
349
|
Trigger an asynchronous update task
|
345
350
|
|
@@ -356,7 +361,7 @@ PulpNpmClient.configure do |config|
|
|
356
361
|
end
|
357
362
|
|
358
363
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
359
|
-
|
364
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
360
365
|
npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
|
361
366
|
opts = {
|
362
367
|
base_path: 'base_path_example', # String | base_path
|
@@ -369,7 +374,8 @@ opts = {
|
|
369
374
|
}
|
370
375
|
|
371
376
|
begin
|
372
|
-
|
377
|
+
#Update a npm distribution
|
378
|
+
result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution, opts)
|
373
379
|
p result
|
374
380
|
rescue PulpNpmClient::ApiError => e
|
375
381
|
puts "Exception when calling DistributionsNpmApi->update: #{e}"
|
@@ -381,7 +387,7 @@ end
|
|
381
387
|
|
382
388
|
Name | Type | Description | Notes
|
383
389
|
------------- | ------------- | ------------- | -------------
|
384
|
-
**
|
390
|
+
**npm_npm_distribution_href** | **String**| |
|
385
391
|
**npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
|
386
392
|
**base_path** | **String**| base_path | [optional]
|
387
393
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
data/docs/NpmNpmRepository.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | A unique name for this repository. |
|
8
8
|
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpNpmClient'
|
14
15
|
|
15
16
|
instance = PulpNpmClient::NpmNpmRepository.new(name: null,
|
16
|
-
description: null
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
12
12
|
**description** | **String** | An optional description. | [optional]
|
13
|
+
**remote** | **String** | | [optional]
|
13
14
|
|
14
15
|
## Code Sample
|
15
16
|
|
@@ -21,7 +22,8 @@ instance = PulpNpmClient::NpmNpmRepositoryResponse.new(pulp_href: null,
|
|
21
22
|
versions_href: null,
|
22
23
|
latest_version_href: null,
|
23
24
|
name: null,
|
24
|
-
description: null
|
25
|
+
description: null,
|
26
|
+
remote: null)
|
25
27
|
```
|
26
28
|
|
27
29
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
8
|
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpNpmClient'
|
14
15
|
|
15
16
|
instance = PulpNpmClient::PatchednpmNpmRepository.new(name: null,
|
16
|
-
description: null
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|