pulp_npm_client 0.1.0a1.dev01599615493 → 0.1.0a1.dev01600047508
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 +22 -22
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsNpmApi.md +16 -64
- data/docs/RemotesNpmApi.md +30 -90
- data/docs/RepositoriesNpmApi.md +30 -54
- data/docs/RepositoriesNpmVersionsApi.md +15 -47
- data/lib/pulp_npm_client/api/content_packages_api.rb +6 -6
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +11 -74
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +37 -118
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +37 -64
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +18 -63
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/distributions_npm_api_spec.rb +4 -25
- data/spec/api/remotes_npm_api_spec.rb +12 -39
- data/spec/api/repositories_npm_api_spec.rb +12 -21
- data/spec/api/repositories_npm_versions_api_spec.rb +6 -21
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e96809d3d8a671236e70087766eda3ad6cd9e7f2806cbade416210dc22c506b
|
4
|
+
data.tar.gz: 011060ef44a273e54b80b5a8196b8d4b27141ef7c52734ef69346a81b89052dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74ecc6da6e9b06ed53fc779dff6abf3f52e1b4961c136119fb64710e6f34f91244e6f3385e5377dce3a3f5adb39bb899d06561217c93f43fc7ea0b6de784f37d
|
7
|
+
data.tar.gz: 1639ed9bd9de56b295acf9bbea42e76fc787bc254fb11c8f2fa523e2127a7ecf20ef579efddefa7568da1bf589d2616aeeaf8db29758149636eaa07b12b29fe9
|
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.dev01600047508
|
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.dev01600047508.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.dev01600047508.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.dev01600047508'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -92,31 +92,31 @@ 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* | [**
|
96
|
-
*PulpNpmClient::DistributionsNpmApi* | [**
|
95
|
+
*PulpNpmClient::ContentPackagesApi* | [**read5**](docs/ContentPackagesApi.md#read5) | **GET** {npm_package_href} | Inspect a package
|
96
|
+
*PulpNpmClient::DistributionsNpmApi* | [**create2**](docs/DistributionsNpmApi.md#create2) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
97
97
|
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
98
|
-
*PulpNpmClient::DistributionsNpmApi* | [**
|
98
|
+
*PulpNpmClient::DistributionsNpmApi* | [**list2**](docs/DistributionsNpmApi.md#list2) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
99
99
|
*PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
|
100
100
|
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
|
101
101
|
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
|
102
102
|
*PulpNpmClient::PulpNpmPackagesApi* | [**get**](docs/PulpNpmPackagesApi.md#get) | **GET** /pulp_npm/packages/{name}/ |
|
103
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
104
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
105
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
106
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
107
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
108
|
-
*PulpNpmClient::RemotesNpmApi* | [**
|
109
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
110
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
111
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
103
|
+
*PulpNpmClient::RemotesNpmApi* | [**create3**](docs/RemotesNpmApi.md#create3) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
104
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete2**](docs/RemotesNpmApi.md#delete2) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
105
|
+
*PulpNpmClient::RemotesNpmApi* | [**list3**](docs/RemotesNpmApi.md#list3) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
106
|
+
*PulpNpmClient::RemotesNpmApi* | [**partial_update2**](docs/RemotesNpmApi.md#partial_update2) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
107
|
+
*PulpNpmClient::RemotesNpmApi* | [**read2**](docs/RemotesNpmApi.md#read2) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
108
|
+
*PulpNpmClient::RemotesNpmApi* | [**update2**](docs/RemotesNpmApi.md#update2) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
109
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**create4**](docs/RepositoriesNpmApi.md#create4) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
110
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete3**](docs/RepositoriesNpmApi.md#delete3) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
111
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**list4**](docs/RepositoriesNpmApi.md#list4) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
112
112
|
*PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
113
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
114
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
113
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update3**](docs/RepositoriesNpmApi.md#partial_update3) | **PATCH** {npm_npm_repository_href} | Update a npm repository
|
114
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**read3**](docs/RepositoriesNpmApi.md#read3) | **GET** {npm_npm_repository_href} | Inspect a npm repository
|
115
115
|
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
116
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**
|
117
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**
|
118
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**
|
119
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**
|
116
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**update3**](docs/RepositoriesNpmApi.md#update3) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
117
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete4**](docs/RepositoriesNpmVersionsApi.md#delete4) | **DELETE** {npm_npm_repository_version_href} | Delete a repository version
|
118
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list5**](docs/RepositoriesNpmVersionsApi.md#list5) | **GET** {npm_npm_repository_href}versions/ | List repository versions
|
119
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read4**](docs/RepositoriesNpmVersionsApi.md#read4) | **GET** {npm_npm_repository_version_href} | Inspect a repository version
|
120
120
|
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_npm_repository_version_href}repair/ |
|
121
121
|
|
122
122
|
|
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
|
-
[**
|
9
|
+
[**read5**](ContentPackagesApi.md#read5) | **GET** {npm_package_href} | Inspect a package
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -148,9 +148,9 @@ Name | Type | Description | Notes
|
|
148
148
|
- **Accept**: application/json
|
149
149
|
|
150
150
|
|
151
|
-
##
|
151
|
+
## read5
|
152
152
|
|
153
|
-
> NpmPackageResponse
|
153
|
+
> NpmPackageResponse read5(npm_package_href, opts)
|
154
154
|
|
155
155
|
Inspect a package
|
156
156
|
|
@@ -177,10 +177,10 @@ opts = {
|
|
177
177
|
|
178
178
|
begin
|
179
179
|
#Inspect a package
|
180
|
-
result = api_instance.
|
180
|
+
result = api_instance.read5(npm_package_href, opts)
|
181
181
|
p result
|
182
182
|
rescue PulpNpmClient::ApiError => e
|
183
|
-
puts "Exception when calling ContentPackagesApi->
|
183
|
+
puts "Exception when calling ContentPackagesApi->read5: #{e}"
|
184
184
|
end
|
185
185
|
```
|
186
186
|
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**create2**](DistributionsNpmApi.md#create2) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
8
8
|
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
9
|
-
[**
|
9
|
+
[**list2**](DistributionsNpmApi.md#list2) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
10
10
|
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
|
11
11
|
[**read**](DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
|
12
12
|
[**update**](DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create2
|
17
17
|
|
18
|
-
> AsyncOperationResponse
|
18
|
+
> AsyncOperationResponse create2(npm_npm_distribution)
|
19
19
|
|
20
20
|
Create a npm distribution
|
21
21
|
|
@@ -38,10 +38,10 @@ npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistributio
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a npm distribution
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create2(npm_npm_distribution)
|
42
42
|
p result
|
43
43
|
rescue PulpNpmClient::ApiError => e
|
44
|
-
puts "Exception when calling DistributionsNpmApi->
|
44
|
+
puts "Exception when calling DistributionsNpmApi->create2: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(npm_npm_distribution_href
|
71
|
+
> AsyncOperationResponse delete(npm_npm_distribution_href)
|
72
72
|
|
73
73
|
Delete a npm distribution
|
74
74
|
|
@@ -88,19 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
90
90
|
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
base_path: 'base_path_example', # String | base_path
|
93
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
94
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
95
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
96
|
-
name: 'name_example', # String | name
|
97
|
-
name__in: 'name__in_example', # String | name__in
|
98
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
99
|
-
}
|
100
91
|
|
101
92
|
begin
|
102
93
|
#Delete a npm distribution
|
103
|
-
result = api_instance.delete(npm_npm_distribution_href
|
94
|
+
result = api_instance.delete(npm_npm_distribution_href)
|
104
95
|
p result
|
105
96
|
rescue PulpNpmClient::ApiError => e
|
106
97
|
puts "Exception when calling DistributionsNpmApi->delete: #{e}"
|
@@ -113,13 +104,6 @@ end
|
|
113
104
|
Name | Type | Description | Notes
|
114
105
|
------------- | ------------- | ------------- | -------------
|
115
106
|
**npm_npm_distribution_href** | **String**| |
|
116
|
-
**base_path** | **String**| base_path | [optional]
|
117
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
118
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
119
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
120
|
-
**name** | **String**| name | [optional]
|
121
|
-
**name__in** | **String**| name__in | [optional]
|
122
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
123
107
|
|
124
108
|
### Return type
|
125
109
|
|
@@ -135,9 +119,9 @@ Name | Type | Description | Notes
|
|
135
119
|
- **Accept**: application/json
|
136
120
|
|
137
121
|
|
138
|
-
##
|
122
|
+
## list2
|
139
123
|
|
140
|
-
> InlineResponse2001
|
124
|
+
> InlineResponse2001 list2(opts)
|
141
125
|
|
142
126
|
List npm distributions
|
143
127
|
|
@@ -172,10 +156,10 @@ opts = {
|
|
172
156
|
|
173
157
|
begin
|
174
158
|
#List npm distributions
|
175
|
-
result = api_instance.
|
159
|
+
result = api_instance.list2(opts)
|
176
160
|
p result
|
177
161
|
rescue PulpNpmClient::ApiError => e
|
178
|
-
puts "Exception when calling DistributionsNpmApi->
|
162
|
+
puts "Exception when calling DistributionsNpmApi->list2: #{e}"
|
179
163
|
end
|
180
164
|
```
|
181
165
|
|
@@ -212,7 +196,7 @@ Name | Type | Description | Notes
|
|
212
196
|
|
213
197
|
## partial_update
|
214
198
|
|
215
|
-
> AsyncOperationResponse partial_update(npm_npm_distribution_href, patchednpm_npm_distribution
|
199
|
+
> AsyncOperationResponse partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
|
216
200
|
|
217
201
|
Update a npm distribution
|
218
202
|
|
@@ -233,19 +217,10 @@ end
|
|
233
217
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
234
218
|
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
235
219
|
patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
|
236
|
-
opts = {
|
237
|
-
base_path: 'base_path_example', # String | base_path
|
238
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
239
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
240
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
241
|
-
name: 'name_example', # String | name
|
242
|
-
name__in: 'name__in_example', # String | name__in
|
243
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
244
|
-
}
|
245
220
|
|
246
221
|
begin
|
247
222
|
#Update a npm distribution
|
248
|
-
result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution
|
223
|
+
result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
|
249
224
|
p result
|
250
225
|
rescue PulpNpmClient::ApiError => e
|
251
226
|
puts "Exception when calling DistributionsNpmApi->partial_update: #{e}"
|
@@ -259,13 +234,6 @@ Name | Type | Description | Notes
|
|
259
234
|
------------- | ------------- | ------------- | -------------
|
260
235
|
**npm_npm_distribution_href** | **String**| |
|
261
236
|
**patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md)| |
|
262
|
-
**base_path** | **String**| base_path | [optional]
|
263
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
264
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
265
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
266
|
-
**name** | **String**| name | [optional]
|
267
|
-
**name__in** | **String**| name__in | [optional]
|
268
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
269
237
|
|
270
238
|
### Return type
|
271
239
|
|
@@ -342,7 +310,7 @@ Name | Type | Description | Notes
|
|
342
310
|
|
343
311
|
## update
|
344
312
|
|
345
|
-
> AsyncOperationResponse update(npm_npm_distribution_href, npm_npm_distribution
|
313
|
+
> AsyncOperationResponse update(npm_npm_distribution_href, npm_npm_distribution)
|
346
314
|
|
347
315
|
Update a npm distribution
|
348
316
|
|
@@ -363,19 +331,10 @@ end
|
|
363
331
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
364
332
|
npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
|
365
333
|
npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
|
366
|
-
opts = {
|
367
|
-
base_path: 'base_path_example', # String | base_path
|
368
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
369
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
370
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
371
|
-
name: 'name_example', # String | name
|
372
|
-
name__in: 'name__in_example', # String | name__in
|
373
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
374
|
-
}
|
375
334
|
|
376
335
|
begin
|
377
336
|
#Update a npm distribution
|
378
|
-
result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution
|
337
|
+
result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution)
|
379
338
|
p result
|
380
339
|
rescue PulpNpmClient::ApiError => e
|
381
340
|
puts "Exception when calling DistributionsNpmApi->update: #{e}"
|
@@ -389,13 +348,6 @@ Name | Type | Description | Notes
|
|
389
348
|
------------- | ------------- | ------------- | -------------
|
390
349
|
**npm_npm_distribution_href** | **String**| |
|
391
350
|
**npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
|
392
|
-
**base_path** | **String**| base_path | [optional]
|
393
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
394
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
395
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
396
|
-
**name** | **String**| name | [optional]
|
397
|
-
**name__in** | **String**| name__in | [optional]
|
398
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
399
351
|
|
400
352
|
### Return type
|
401
353
|
|
data/docs/RemotesNpmApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
7
|
+
[**create3**](RemotesNpmApi.md#create3) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
8
|
+
[**delete2**](RemotesNpmApi.md#delete2) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
9
|
+
[**list3**](RemotesNpmApi.md#list3) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
10
|
+
[**partial_update2**](RemotesNpmApi.md#partial_update2) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
11
|
+
[**read2**](RemotesNpmApi.md#read2) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
12
|
+
[**update2**](RemotesNpmApi.md#update2) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create3
|
17
17
|
|
18
|
-
> NpmNpmRemoteResponse
|
18
|
+
> NpmNpmRemoteResponse create3(npm_npm_remote)
|
19
19
|
|
20
20
|
Create a npm remote
|
21
21
|
|
@@ -38,10 +38,10 @@ npm_npm_remote = PulpNpmClient::NpmNpmRemote.new # NpmNpmRemote |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a npm remote
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create3(npm_npm_remote)
|
42
42
|
p result
|
43
43
|
rescue PulpNpmClient::ApiError => e
|
44
|
-
puts "Exception when calling RemotesNpmApi->
|
44
|
+
puts "Exception when calling RemotesNpmApi->create3: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## delete2
|
70
70
|
|
71
|
-
> AsyncOperationResponse
|
71
|
+
> AsyncOperationResponse delete2(npm_npm_remote_href)
|
72
72
|
|
73
73
|
Delete a npm remote
|
74
74
|
|
@@ -88,24 +88,13 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
90
90
|
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
name: 'name_example', # String | name
|
93
|
-
name__in: 'name__in_example', # String | name__in
|
94
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
95
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
96
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
97
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
98
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
99
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
100
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
101
|
-
}
|
102
91
|
|
103
92
|
begin
|
104
93
|
#Delete a npm remote
|
105
|
-
result = api_instance.
|
94
|
+
result = api_instance.delete2(npm_npm_remote_href)
|
106
95
|
p result
|
107
96
|
rescue PulpNpmClient::ApiError => e
|
108
|
-
puts "Exception when calling RemotesNpmApi->
|
97
|
+
puts "Exception when calling RemotesNpmApi->delete2: #{e}"
|
109
98
|
end
|
110
99
|
```
|
111
100
|
|
@@ -115,15 +104,6 @@ end
|
|
115
104
|
Name | Type | Description | Notes
|
116
105
|
------------- | ------------- | ------------- | -------------
|
117
106
|
**npm_npm_remote_href** | **String**| |
|
118
|
-
**name** | **String**| name | [optional]
|
119
|
-
**name__in** | **String**| name__in | [optional]
|
120
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
121
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
122
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
123
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
124
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
125
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
126
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
127
107
|
|
128
108
|
### Return type
|
129
109
|
|
@@ -139,9 +119,9 @@ Name | Type | Description | Notes
|
|
139
119
|
- **Accept**: application/json
|
140
120
|
|
141
121
|
|
142
|
-
##
|
122
|
+
## list3
|
143
123
|
|
144
|
-
> InlineResponse2002
|
124
|
+
> InlineResponse2002 list3(opts)
|
145
125
|
|
146
126
|
List npm remotes
|
147
127
|
|
@@ -178,10 +158,10 @@ opts = {
|
|
178
158
|
|
179
159
|
begin
|
180
160
|
#List npm remotes
|
181
|
-
result = api_instance.
|
161
|
+
result = api_instance.list3(opts)
|
182
162
|
p result
|
183
163
|
rescue PulpNpmClient::ApiError => e
|
184
|
-
puts "Exception when calling RemotesNpmApi->
|
164
|
+
puts "Exception when calling RemotesNpmApi->list3: #{e}"
|
185
165
|
end
|
186
166
|
```
|
187
167
|
|
@@ -218,9 +198,9 @@ Name | Type | Description | Notes
|
|
218
198
|
- **Accept**: application/json
|
219
199
|
|
220
200
|
|
221
|
-
##
|
201
|
+
## partial_update2
|
222
202
|
|
223
|
-
> AsyncOperationResponse
|
203
|
+
> AsyncOperationResponse partial_update2(npm_npm_remote_href, patchednpm_npm_remote)
|
224
204
|
|
225
205
|
Update a npm remote
|
226
206
|
|
@@ -241,24 +221,13 @@ end
|
|
241
221
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
242
222
|
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
243
223
|
patchednpm_npm_remote = PulpNpmClient::PatchednpmNpmRemote.new # PatchednpmNpmRemote |
|
244
|
-
opts = {
|
245
|
-
name: 'name_example', # String | name
|
246
|
-
name__in: 'name__in_example', # String | name__in
|
247
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
248
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
249
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
250
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
251
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
252
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
253
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
254
|
-
}
|
255
224
|
|
256
225
|
begin
|
257
226
|
#Update a npm remote
|
258
|
-
result = api_instance.
|
227
|
+
result = api_instance.partial_update2(npm_npm_remote_href, patchednpm_npm_remote)
|
259
228
|
p result
|
260
229
|
rescue PulpNpmClient::ApiError => e
|
261
|
-
puts "Exception when calling RemotesNpmApi->
|
230
|
+
puts "Exception when calling RemotesNpmApi->partial_update2: #{e}"
|
262
231
|
end
|
263
232
|
```
|
264
233
|
|
@@ -269,15 +238,6 @@ Name | Type | Description | Notes
|
|
269
238
|
------------- | ------------- | ------------- | -------------
|
270
239
|
**npm_npm_remote_href** | **String**| |
|
271
240
|
**patchednpm_npm_remote** | [**PatchednpmNpmRemote**](PatchednpmNpmRemote.md)| |
|
272
|
-
**name** | **String**| name | [optional]
|
273
|
-
**name__in** | **String**| name__in | [optional]
|
274
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
275
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
276
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
277
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
278
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
279
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
280
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
281
241
|
|
282
242
|
### Return type
|
283
243
|
|
@@ -293,9 +253,9 @@ Name | Type | Description | Notes
|
|
293
253
|
- **Accept**: application/json
|
294
254
|
|
295
255
|
|
296
|
-
##
|
256
|
+
## read2
|
297
257
|
|
298
|
-
> NpmNpmRemoteResponse
|
258
|
+
> NpmNpmRemoteResponse read2(npm_npm_remote_href, opts)
|
299
259
|
|
300
260
|
Inspect a npm remote
|
301
261
|
|
@@ -322,10 +282,10 @@ opts = {
|
|
322
282
|
|
323
283
|
begin
|
324
284
|
#Inspect a npm remote
|
325
|
-
result = api_instance.
|
285
|
+
result = api_instance.read2(npm_npm_remote_href, opts)
|
326
286
|
p result
|
327
287
|
rescue PulpNpmClient::ApiError => e
|
328
|
-
puts "Exception when calling RemotesNpmApi->
|
288
|
+
puts "Exception when calling RemotesNpmApi->read2: #{e}"
|
329
289
|
end
|
330
290
|
```
|
331
291
|
|
@@ -352,9 +312,9 @@ Name | Type | Description | Notes
|
|
352
312
|
- **Accept**: application/json
|
353
313
|
|
354
314
|
|
355
|
-
##
|
315
|
+
## update2
|
356
316
|
|
357
|
-
> AsyncOperationResponse
|
317
|
+
> AsyncOperationResponse update2(npm_npm_remote_href, npm_npm_remote)
|
358
318
|
|
359
319
|
Update a npm remote
|
360
320
|
|
@@ -375,24 +335,13 @@ end
|
|
375
335
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
376
336
|
npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
377
337
|
npm_npm_remote = PulpNpmClient::NpmNpmRemote.new # NpmNpmRemote |
|
378
|
-
opts = {
|
379
|
-
name: 'name_example', # String | name
|
380
|
-
name__in: 'name__in_example', # String | name__in
|
381
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
382
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
383
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
384
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
385
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
386
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
387
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
388
|
-
}
|
389
338
|
|
390
339
|
begin
|
391
340
|
#Update a npm remote
|
392
|
-
result = api_instance.
|
341
|
+
result = api_instance.update2(npm_npm_remote_href, npm_npm_remote)
|
393
342
|
p result
|
394
343
|
rescue PulpNpmClient::ApiError => e
|
395
|
-
puts "Exception when calling RemotesNpmApi->
|
344
|
+
puts "Exception when calling RemotesNpmApi->update2: #{e}"
|
396
345
|
end
|
397
346
|
```
|
398
347
|
|
@@ -403,15 +352,6 @@ Name | Type | Description | Notes
|
|
403
352
|
------------- | ------------- | ------------- | -------------
|
404
353
|
**npm_npm_remote_href** | **String**| |
|
405
354
|
**npm_npm_remote** | [**NpmNpmRemote**](NpmNpmRemote.md)| |
|
406
|
-
**name** | **String**| name | [optional]
|
407
|
-
**name__in** | **String**| name__in | [optional]
|
408
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
409
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
410
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
411
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
412
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
413
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
414
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
415
355
|
|
416
356
|
### Return type
|
417
357
|
|