pulp_npm_client 0.1.0a1.dev01596158992 → 0.1.0a1.dev01596591099
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 +24 -23
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsNpmApi.md +20 -20
- data/docs/PulpNpmPackagesApi.md +60 -0
- data/docs/RemotesNpmApi.md +20 -20
- data/docs/RepositoriesNpmApi.md +30 -30
- data/docs/RepositoriesNpmVersionsApi.md +20 -20
- data/lib/pulp_npm_client.rb +1 -0
- data/lib/pulp_npm_client/api/content_packages_api.rb +9 -9
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +36 -36
- data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +86 -0
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +36 -36
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +54 -54
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +36 -36
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_npm_api_spec.rb +4 -4
- data/spec/api/pulp_npm_packages_api_spec.rb +48 -0
- data/spec/api/remotes_npm_api_spec.rb +4 -4
- data/spec/api/repositories_npm_api_spec.rb +6 -6
- data/spec/api/repositories_npm_versions_api_spec.rb +4 -4
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ab9b2de5cf083591de8981120895959742f4db48674366547c49f611fad159e
|
4
|
+
data.tar.gz: 82efcba31a8f07b9cc71db1742fde7e64c3ea4e209e00fbe1d7870141a114ec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d204efe451d98650e3013330b9c193dcc4e24dd594d94917e969fbfc30ce8a6dadc6fcef903cbff6f933f5bb67f9dc76f9641055e760cbafbb18dcc70dd8aa
|
7
|
+
data.tar.gz: acaaff121fb047a96120528fb12b973b7d274fc48bd1da9cc2a5425e89547e6ece4343a44b2b06ec98cc433dd327e6008fdecdb8d8e435bda1f3ba47273ef0fd
|
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.dev01596591099
|
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.dev01596591099.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.dev01596591099.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.dev01596591099'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -92,31 +92,32 @@ Class | Method | HTTP request | Description
|
|
92
92
|
------------ | ------------- | ------------- | -------------
|
93
93
|
*PulpNpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
94
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** {
|
95
|
+
*PulpNpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
96
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** {
|
97
|
+
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
98
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** {
|
100
|
-
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {
|
101
|
-
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {
|
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::PulpNpmPackagesApi* | [**read**](docs/PulpNpmPackagesApi.md#read) | **GET** /pulp_npm/packages/{name}/ |
|
102
103
|
*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** {
|
104
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
104
105
|
*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** {
|
106
|
-
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {
|
107
|
-
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {
|
106
|
+
*PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
107
|
+
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
108
|
+
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
108
109
|
*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** {
|
110
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
110
111
|
*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** {
|
112
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {
|
113
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {
|
114
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {
|
115
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {
|
116
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {
|
117
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {
|
118
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {
|
119
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {
|
112
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
113
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_npm_repository_href} | Update a npm repository
|
114
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_npm_repository_href} | Inspect a npm repository
|
115
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
116
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
117
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_npm_repository_version_href} | Delete a repository version
|
118
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_npm_repository_href}versions/ | List repository versions
|
119
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_npm_repository_version_href} | Inspect a repository version
|
120
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_npm_repository_version_href}repair/ |
|
120
121
|
|
121
122
|
|
122
123
|
## Documentation for Models
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -6,7 +6,7 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
8
8
|
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ | List packages
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -150,7 +150,7 @@ Name | Type | Description | Notes
|
|
150
150
|
|
151
151
|
## read
|
152
152
|
|
153
|
-
> NpmPackageResponse read(
|
153
|
+
> NpmPackageResponse read(npm_package_href, opts)
|
154
154
|
|
155
155
|
Inspect a package
|
156
156
|
|
@@ -169,7 +169,7 @@ PulpNpmClient.configure do |config|
|
|
169
169
|
end
|
170
170
|
|
171
171
|
api_instance = PulpNpmClient::ContentPackagesApi.new
|
172
|
-
|
172
|
+
npm_package_href = 'npm_package_href_example' # String |
|
173
173
|
opts = {
|
174
174
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
175
175
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -177,7 +177,7 @@ opts = {
|
|
177
177
|
|
178
178
|
begin
|
179
179
|
#Inspect a package
|
180
|
-
result = api_instance.read(
|
180
|
+
result = api_instance.read(npm_package_href, opts)
|
181
181
|
p result
|
182
182
|
rescue PulpNpmClient::ApiError => e
|
183
183
|
puts "Exception when calling ContentPackagesApi->read: #{e}"
|
@@ -189,7 +189,7 @@ end
|
|
189
189
|
|
190
190
|
Name | Type | Description | Notes
|
191
191
|
------------- | ------------- | ------------- | -------------
|
192
|
-
**
|
192
|
+
**npm_package_href** | **String**| |
|
193
193
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
194
194
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
195
195
|
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -5,11 +5,11 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
8
|
-
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
9
9
|
[**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
10
|
-
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](DistributionsNpmApi.md#read) | **GET** {
|
12
|
-
[**update**](DistributionsNpmApi.md#update) | **PUT** {
|
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
|
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(
|
71
|
+
> AsyncOperationResponse delete(npm_npm_distribution_href, opts)
|
72
72
|
|
73
73
|
Delete a npm distribution
|
74
74
|
|
@@ -87,7 +87,7 @@ PulpNpmClient.configure do |config|
|
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
90
|
-
|
90
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
91
91
|
opts = {
|
92
92
|
base_path: 'base_path_example', # String | base_path
|
93
93
|
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
@@ -100,7 +100,7 @@ opts = {
|
|
100
100
|
|
101
101
|
begin
|
102
102
|
#Delete a npm distribution
|
103
|
-
result = api_instance.delete(
|
103
|
+
result = api_instance.delete(npm_npm_distribution_href, opts)
|
104
104
|
p result
|
105
105
|
rescue PulpNpmClient::ApiError => e
|
106
106
|
puts "Exception when calling DistributionsNpmApi->delete: #{e}"
|
@@ -112,7 +112,7 @@ end
|
|
112
112
|
|
113
113
|
Name | Type | Description | Notes
|
114
114
|
------------- | ------------- | ------------- | -------------
|
115
|
-
**
|
115
|
+
**npm_npm_distribution_href** | **String**| |
|
116
116
|
**base_path** | **String**| base_path | [optional]
|
117
117
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
118
118
|
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
@@ -212,7 +212,7 @@ Name | Type | Description | Notes
|
|
212
212
|
|
213
213
|
## partial_update
|
214
214
|
|
215
|
-
> AsyncOperationResponse partial_update(
|
215
|
+
> AsyncOperationResponse partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
|
216
216
|
|
217
217
|
Update a npm distribution
|
218
218
|
|
@@ -231,7 +231,7 @@ PulpNpmClient.configure do |config|
|
|
231
231
|
end
|
232
232
|
|
233
233
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
234
|
-
|
234
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
235
235
|
patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
|
236
236
|
opts = {
|
237
237
|
base_path: 'base_path_example', # String | base_path
|
@@ -245,7 +245,7 @@ opts = {
|
|
245
245
|
|
246
246
|
begin
|
247
247
|
#Update a npm distribution
|
248
|
-
result = api_instance.partial_update(
|
248
|
+
result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
|
249
249
|
p result
|
250
250
|
rescue PulpNpmClient::ApiError => e
|
251
251
|
puts "Exception when calling DistributionsNpmApi->partial_update: #{e}"
|
@@ -257,7 +257,7 @@ end
|
|
257
257
|
|
258
258
|
Name | Type | Description | Notes
|
259
259
|
------------- | ------------- | ------------- | -------------
|
260
|
-
**
|
260
|
+
**npm_npm_distribution_href** | **String**| |
|
261
261
|
**patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md)| |
|
262
262
|
**base_path** | **String**| base_path | [optional]
|
263
263
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
@@ -283,7 +283,7 @@ Name | Type | Description | Notes
|
|
283
283
|
|
284
284
|
## read
|
285
285
|
|
286
|
-
> NpmNpmDistributionResponse read(
|
286
|
+
> NpmNpmDistributionResponse read(npm_npm_distribution_href, opts)
|
287
287
|
|
288
288
|
Inspect a npm distribution
|
289
289
|
|
@@ -302,7 +302,7 @@ PulpNpmClient.configure do |config|
|
|
302
302
|
end
|
303
303
|
|
304
304
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
305
|
-
|
305
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
306
306
|
opts = {
|
307
307
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
308
308
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -310,7 +310,7 @@ opts = {
|
|
310
310
|
|
311
311
|
begin
|
312
312
|
#Inspect a npm distribution
|
313
|
-
result = api_instance.read(
|
313
|
+
result = api_instance.read(npm_npm_distribution_href, opts)
|
314
314
|
p result
|
315
315
|
rescue PulpNpmClient::ApiError => e
|
316
316
|
puts "Exception when calling DistributionsNpmApi->read: #{e}"
|
@@ -322,7 +322,7 @@ end
|
|
322
322
|
|
323
323
|
Name | Type | Description | Notes
|
324
324
|
------------- | ------------- | ------------- | -------------
|
325
|
-
**
|
325
|
+
**npm_npm_distribution_href** | **String**| |
|
326
326
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
327
327
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
328
328
|
|
@@ -342,7 +342,7 @@ Name | Type | Description | Notes
|
|
342
342
|
|
343
343
|
## update
|
344
344
|
|
345
|
-
> AsyncOperationResponse update(
|
345
|
+
> AsyncOperationResponse update(npm_npm_distribution_href, npm_npm_distribution, opts)
|
346
346
|
|
347
347
|
Update a npm distribution
|
348
348
|
|
@@ -361,7 +361,7 @@ PulpNpmClient.configure do |config|
|
|
361
361
|
end
|
362
362
|
|
363
363
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
364
|
-
|
364
|
+
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
365
365
|
npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
|
366
366
|
opts = {
|
367
367
|
base_path: 'base_path_example', # String | base_path
|
@@ -375,7 +375,7 @@ opts = {
|
|
375
375
|
|
376
376
|
begin
|
377
377
|
#Update a npm distribution
|
378
|
-
result = api_instance.update(
|
378
|
+
result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution, opts)
|
379
379
|
p result
|
380
380
|
rescue PulpNpmClient::ApiError => e
|
381
381
|
puts "Exception when calling DistributionsNpmApi->update: #{e}"
|
@@ -387,7 +387,7 @@ end
|
|
387
387
|
|
388
388
|
Name | Type | Description | Notes
|
389
389
|
------------- | ------------- | ------------- | -------------
|
390
|
-
**
|
390
|
+
**npm_npm_distribution_href** | **String**| |
|
391
391
|
**npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
|
392
392
|
**base_path** | **String**| base_path | [optional]
|
393
393
|
**base_path__contains** | **String**| base_path__contains | [optional]
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# PulpNpmClient::PulpNpmPackagesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**read**](PulpNpmPackagesApi.md#read) | **GET** /pulp_npm/packages/{name}/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## read
|
12
|
+
|
13
|
+
> read(name, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Return a published package.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_npm_client'
|
24
|
+
|
25
|
+
api_instance = PulpNpmClient::PulpNpmPackagesApi.new
|
26
|
+
name = 'name_example' # String |
|
27
|
+
opts = {
|
28
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
29
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
30
|
+
}
|
31
|
+
|
32
|
+
begin
|
33
|
+
api_instance.read(name, opts)
|
34
|
+
rescue PulpNpmClient::ApiError => e
|
35
|
+
puts "Exception when calling PulpNpmPackagesApi->read: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
### Parameters
|
40
|
+
|
41
|
+
|
42
|
+
Name | Type | Description | Notes
|
43
|
+
------------- | ------------- | ------------- | -------------
|
44
|
+
**name** | **String**| |
|
45
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
46
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
nil (empty response body)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
No authorization required
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: Not defined
|
59
|
+
- **Accept**: Not defined
|
60
|
+
|
data/docs/RemotesNpmApi.md
CHANGED
@@ -5,11 +5,11 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
8
|
-
[**delete**](RemotesNpmApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
9
9
|
[**list**](RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
10
|
-
[**partial_update**](RemotesNpmApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](RemotesNpmApi.md#read) | **GET** {
|
12
|
-
[**update**](RemotesNpmApi.md#update) | **PUT** {
|
10
|
+
[**partial_update**](RemotesNpmApi.md#partial_update) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
11
|
+
[**read**](RemotesNpmApi.md#read) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
12
|
+
[**update**](RemotesNpmApi.md#update) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(
|
71
|
+
> AsyncOperationResponse delete(npm_npm_remote_href, opts)
|
72
72
|
|
73
73
|
Delete a npm remote
|
74
74
|
|
@@ -87,7 +87,7 @@ PulpNpmClient.configure do |config|
|
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
90
|
-
|
90
|
+
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
91
91
|
opts = {
|
92
92
|
name: 'name_example', # String | name
|
93
93
|
name__in: 'name__in_example', # String | name__in
|
@@ -102,7 +102,7 @@ opts = {
|
|
102
102
|
|
103
103
|
begin
|
104
104
|
#Delete a npm remote
|
105
|
-
result = api_instance.delete(
|
105
|
+
result = api_instance.delete(npm_npm_remote_href, opts)
|
106
106
|
p result
|
107
107
|
rescue PulpNpmClient::ApiError => e
|
108
108
|
puts "Exception when calling RemotesNpmApi->delete: #{e}"
|
@@ -114,7 +114,7 @@ end
|
|
114
114
|
|
115
115
|
Name | Type | Description | Notes
|
116
116
|
------------- | ------------- | ------------- | -------------
|
117
|
-
**
|
117
|
+
**npm_npm_remote_href** | **String**| |
|
118
118
|
**name** | **String**| name | [optional]
|
119
119
|
**name__in** | **String**| name__in | [optional]
|
120
120
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -220,7 +220,7 @@ Name | Type | Description | Notes
|
|
220
220
|
|
221
221
|
## partial_update
|
222
222
|
|
223
|
-
> AsyncOperationResponse partial_update(
|
223
|
+
> AsyncOperationResponse partial_update(npm_npm_remote_href, patchednpm_npm_remote, opts)
|
224
224
|
|
225
225
|
Update a npm remote
|
226
226
|
|
@@ -239,7 +239,7 @@ PulpNpmClient.configure do |config|
|
|
239
239
|
end
|
240
240
|
|
241
241
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
242
|
-
|
242
|
+
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
243
243
|
patchednpm_npm_remote = PulpNpmClient::PatchednpmNpmRemote.new # PatchednpmNpmRemote |
|
244
244
|
opts = {
|
245
245
|
name: 'name_example', # String | name
|
@@ -255,7 +255,7 @@ opts = {
|
|
255
255
|
|
256
256
|
begin
|
257
257
|
#Update a npm remote
|
258
|
-
result = api_instance.partial_update(
|
258
|
+
result = api_instance.partial_update(npm_npm_remote_href, patchednpm_npm_remote, opts)
|
259
259
|
p result
|
260
260
|
rescue PulpNpmClient::ApiError => e
|
261
261
|
puts "Exception when calling RemotesNpmApi->partial_update: #{e}"
|
@@ -267,7 +267,7 @@ end
|
|
267
267
|
|
268
268
|
Name | Type | Description | Notes
|
269
269
|
------------- | ------------- | ------------- | -------------
|
270
|
-
**
|
270
|
+
**npm_npm_remote_href** | **String**| |
|
271
271
|
**patchednpm_npm_remote** | [**PatchednpmNpmRemote**](PatchednpmNpmRemote.md)| |
|
272
272
|
**name** | **String**| name | [optional]
|
273
273
|
**name__in** | **String**| name__in | [optional]
|
@@ -295,7 +295,7 @@ Name | Type | Description | Notes
|
|
295
295
|
|
296
296
|
## read
|
297
297
|
|
298
|
-
> NpmNpmRemoteResponse read(
|
298
|
+
> NpmNpmRemoteResponse read(npm_npm_remote_href, opts)
|
299
299
|
|
300
300
|
Inspect a npm remote
|
301
301
|
|
@@ -314,7 +314,7 @@ PulpNpmClient.configure do |config|
|
|
314
314
|
end
|
315
315
|
|
316
316
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
317
|
-
|
317
|
+
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
318
318
|
opts = {
|
319
319
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
320
320
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -322,7 +322,7 @@ opts = {
|
|
322
322
|
|
323
323
|
begin
|
324
324
|
#Inspect a npm remote
|
325
|
-
result = api_instance.read(
|
325
|
+
result = api_instance.read(npm_npm_remote_href, opts)
|
326
326
|
p result
|
327
327
|
rescue PulpNpmClient::ApiError => e
|
328
328
|
puts "Exception when calling RemotesNpmApi->read: #{e}"
|
@@ -334,7 +334,7 @@ end
|
|
334
334
|
|
335
335
|
Name | Type | Description | Notes
|
336
336
|
------------- | ------------- | ------------- | -------------
|
337
|
-
**
|
337
|
+
**npm_npm_remote_href** | **String**| |
|
338
338
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
339
339
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
340
340
|
|
@@ -354,7 +354,7 @@ Name | Type | Description | Notes
|
|
354
354
|
|
355
355
|
## update
|
356
356
|
|
357
|
-
> AsyncOperationResponse update(
|
357
|
+
> AsyncOperationResponse update(npm_npm_remote_href, npm_npm_remote, opts)
|
358
358
|
|
359
359
|
Update a npm remote
|
360
360
|
|
@@ -373,7 +373,7 @@ PulpNpmClient.configure do |config|
|
|
373
373
|
end
|
374
374
|
|
375
375
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
376
|
-
|
376
|
+
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
377
377
|
npm_npm_remote = PulpNpmClient::NpmNpmRemote.new # NpmNpmRemote |
|
378
378
|
opts = {
|
379
379
|
name: 'name_example', # String | name
|
@@ -389,7 +389,7 @@ opts = {
|
|
389
389
|
|
390
390
|
begin
|
391
391
|
#Update a npm remote
|
392
|
-
result = api_instance.update(
|
392
|
+
result = api_instance.update(npm_npm_remote_href, npm_npm_remote, opts)
|
393
393
|
p result
|
394
394
|
rescue PulpNpmClient::ApiError => e
|
395
395
|
puts "Exception when calling RemotesNpmApi->update: #{e}"
|
@@ -401,7 +401,7 @@ end
|
|
401
401
|
|
402
402
|
Name | Type | Description | Notes
|
403
403
|
------------- | ------------- | ------------- | -------------
|
404
|
-
**
|
404
|
+
**npm_npm_remote_href** | **String**| |
|
405
405
|
**npm_npm_remote** | [**NpmNpmRemote**](NpmNpmRemote.md)| |
|
406
406
|
**name** | **String**| name | [optional]
|
407
407
|
**name__in** | **String**| name__in | [optional]
|