pulp_npm_client 0.1.0a1.dev01596072518 → 0.1.0a1.dev01596504704
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -23
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsNpmApi.md +20 -20
- data/docs/RemotesNpmApi.md +20 -20
- data/docs/RepositoriesNpmApi.md +30 -30
- data/docs/RepositoriesNpmVersionsApi.md +20 -20
- 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/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/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 +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a65bbbf631db9b9b6fc990982f9bb4ba25d95597fee0833ffc129ab8d09eee
|
4
|
+
data.tar.gz: 986cf6316ca9a0d41ab26079ab405483bec809218de00b6c4fff6ad918d315b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25f46b2bdec1690b16729f687c3fceac55fda4ee2f07e5f0d61eb1f4560e1cb75c7329d4e07a4523c05deff7c737848d38e2416537e95f2c56161d60e31c2393
|
7
|
+
data.tar.gz: a67f30b483f972a30ed15af08daf90149db1f2e84c49b9f8c3c3e37ea93a54d6126b439d97eef5108ff994a93eaa7d370012ab9982e2662a52d9cdb6b546fa47
|
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.dev01596504704
|
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.dev01596504704.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.dev01596504704.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.dev01596504704'
|
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* | [**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
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** {
|
103
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
104
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** {
|
106
|
-
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {
|
107
|
-
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {
|
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
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** {
|
109
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
110
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** {
|
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** {
|
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/ |
|
120
120
|
|
121
121
|
|
122
122
|
## 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]
|
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]
|
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -5,13 +5,13 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
8
|
-
[**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
9
9
|
[**list**](RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
10
|
-
[**modify**](RepositoriesNpmApi.md#modify) | **POST** {
|
11
|
-
[**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {
|
12
|
-
[**read**](RepositoriesNpmApi.md#read) | **GET** {
|
13
|
-
[**sync**](RepositoriesNpmApi.md#sync) | **POST** {
|
14
|
-
[**update**](RepositoriesNpmApi.md#update) | **PUT** {
|
10
|
+
[**modify**](RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
11
|
+
[**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_npm_repository_href} | Update a npm repository
|
12
|
+
[**read**](RepositoriesNpmApi.md#read) | **GET** {npm_npm_repository_href} | Inspect a npm repository
|
13
|
+
[**sync**](RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
14
|
+
[**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
## delete
|
72
72
|
|
73
|
-
> AsyncOperationResponse delete(
|
73
|
+
> AsyncOperationResponse delete(npm_npm_repository_href, opts)
|
74
74
|
|
75
75
|
Delete a npm repository
|
76
76
|
|
@@ -89,7 +89,7 @@ PulpNpmClient.configure do |config|
|
|
89
89
|
end
|
90
90
|
|
91
91
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
92
|
-
|
92
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
93
93
|
opts = {
|
94
94
|
name: 'name_example', # String | name
|
95
95
|
name__in: 'name__in_example', # String | name__in
|
@@ -98,7 +98,7 @@ opts = {
|
|
98
98
|
|
99
99
|
begin
|
100
100
|
#Delete a npm repository
|
101
|
-
result = api_instance.delete(
|
101
|
+
result = api_instance.delete(npm_npm_repository_href, opts)
|
102
102
|
p result
|
103
103
|
rescue PulpNpmClient::ApiError => e
|
104
104
|
puts "Exception when calling RepositoriesNpmApi->delete: #{e}"
|
@@ -110,7 +110,7 @@ end
|
|
110
110
|
|
111
111
|
Name | Type | Description | Notes
|
112
112
|
------------- | ------------- | ------------- | -------------
|
113
|
-
**
|
113
|
+
**npm_npm_repository_href** | **String**| |
|
114
114
|
**name** | **String**| name | [optional]
|
115
115
|
**name__in** | **String**| name__in | [optional]
|
116
116
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -198,7 +198,7 @@ Name | Type | Description | Notes
|
|
198
198
|
|
199
199
|
## modify
|
200
200
|
|
201
|
-
> AsyncOperationResponse modify(
|
201
|
+
> AsyncOperationResponse modify(npm_npm_repository_href, repository_add_remove_content)
|
202
202
|
|
203
203
|
Modify Repository Content
|
204
204
|
|
@@ -217,12 +217,12 @@ PulpNpmClient.configure do |config|
|
|
217
217
|
end
|
218
218
|
|
219
219
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
220
|
-
|
220
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
221
221
|
repository_add_remove_content = PulpNpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
222
222
|
|
223
223
|
begin
|
224
224
|
#Modify Repository Content
|
225
|
-
result = api_instance.modify(
|
225
|
+
result = api_instance.modify(npm_npm_repository_href, repository_add_remove_content)
|
226
226
|
p result
|
227
227
|
rescue PulpNpmClient::ApiError => e
|
228
228
|
puts "Exception when calling RepositoriesNpmApi->modify: #{e}"
|
@@ -234,7 +234,7 @@ end
|
|
234
234
|
|
235
235
|
Name | Type | Description | Notes
|
236
236
|
------------- | ------------- | ------------- | -------------
|
237
|
-
**
|
237
|
+
**npm_npm_repository_href** | **String**| |
|
238
238
|
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
239
239
|
|
240
240
|
### Return type
|
@@ -253,7 +253,7 @@ Name | Type | Description | Notes
|
|
253
253
|
|
254
254
|
## partial_update
|
255
255
|
|
256
|
-
> AsyncOperationResponse partial_update(
|
256
|
+
> AsyncOperationResponse partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
257
257
|
|
258
258
|
Update a npm repository
|
259
259
|
|
@@ -272,7 +272,7 @@ PulpNpmClient.configure do |config|
|
|
272
272
|
end
|
273
273
|
|
274
274
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
275
|
-
|
275
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
276
276
|
patchednpm_npm_repository = PulpNpmClient::PatchednpmNpmRepository.new # PatchednpmNpmRepository |
|
277
277
|
opts = {
|
278
278
|
name: 'name_example', # String | name
|
@@ -282,7 +282,7 @@ opts = {
|
|
282
282
|
|
283
283
|
begin
|
284
284
|
#Update a npm repository
|
285
|
-
result = api_instance.partial_update(
|
285
|
+
result = api_instance.partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
286
286
|
p result
|
287
287
|
rescue PulpNpmClient::ApiError => e
|
288
288
|
puts "Exception when calling RepositoriesNpmApi->partial_update: #{e}"
|
@@ -294,7 +294,7 @@ end
|
|
294
294
|
|
295
295
|
Name | Type | Description | Notes
|
296
296
|
------------- | ------------- | ------------- | -------------
|
297
|
-
**
|
297
|
+
**npm_npm_repository_href** | **String**| |
|
298
298
|
**patchednpm_npm_repository** | [**PatchednpmNpmRepository**](PatchednpmNpmRepository.md)| |
|
299
299
|
**name** | **String**| name | [optional]
|
300
300
|
**name__in** | **String**| name__in | [optional]
|
@@ -316,7 +316,7 @@ Name | Type | Description | Notes
|
|
316
316
|
|
317
317
|
## read
|
318
318
|
|
319
|
-
> NpmNpmRepositoryResponse read(
|
319
|
+
> NpmNpmRepositoryResponse read(npm_npm_repository_href, opts)
|
320
320
|
|
321
321
|
Inspect a npm repository
|
322
322
|
|
@@ -335,7 +335,7 @@ PulpNpmClient.configure do |config|
|
|
335
335
|
end
|
336
336
|
|
337
337
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
338
|
-
|
338
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
339
339
|
opts = {
|
340
340
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
341
341
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -343,7 +343,7 @@ opts = {
|
|
343
343
|
|
344
344
|
begin
|
345
345
|
#Inspect a npm repository
|
346
|
-
result = api_instance.read(
|
346
|
+
result = api_instance.read(npm_npm_repository_href, opts)
|
347
347
|
p result
|
348
348
|
rescue PulpNpmClient::ApiError => e
|
349
349
|
puts "Exception when calling RepositoriesNpmApi->read: #{e}"
|
@@ -355,7 +355,7 @@ end
|
|
355
355
|
|
356
356
|
Name | Type | Description | Notes
|
357
357
|
------------- | ------------- | ------------- | -------------
|
358
|
-
**
|
358
|
+
**npm_npm_repository_href** | **String**| |
|
359
359
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
360
360
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
361
361
|
|
@@ -375,7 +375,7 @@ Name | Type | Description | Notes
|
|
375
375
|
|
376
376
|
## sync
|
377
377
|
|
378
|
-
> AsyncOperationResponse sync(
|
378
|
+
> AsyncOperationResponse sync(npm_npm_repository_href, repository_sync_url)
|
379
379
|
|
380
380
|
Sync from remote
|
381
381
|
|
@@ -394,12 +394,12 @@ PulpNpmClient.configure do |config|
|
|
394
394
|
end
|
395
395
|
|
396
396
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
397
|
-
|
397
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
398
398
|
repository_sync_url = PulpNpmClient::RepositorySyncURL.new # RepositorySyncURL |
|
399
399
|
|
400
400
|
begin
|
401
401
|
#Sync from remote
|
402
|
-
result = api_instance.sync(
|
402
|
+
result = api_instance.sync(npm_npm_repository_href, repository_sync_url)
|
403
403
|
p result
|
404
404
|
rescue PulpNpmClient::ApiError => e
|
405
405
|
puts "Exception when calling RepositoriesNpmApi->sync: #{e}"
|
@@ -411,7 +411,7 @@ end
|
|
411
411
|
|
412
412
|
Name | Type | Description | Notes
|
413
413
|
------------- | ------------- | ------------- | -------------
|
414
|
-
**
|
414
|
+
**npm_npm_repository_href** | **String**| |
|
415
415
|
**repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
416
416
|
|
417
417
|
### Return type
|
@@ -430,7 +430,7 @@ Name | Type | Description | Notes
|
|
430
430
|
|
431
431
|
## update
|
432
432
|
|
433
|
-
> AsyncOperationResponse update(
|
433
|
+
> AsyncOperationResponse update(npm_npm_repository_href, npm_npm_repository, opts)
|
434
434
|
|
435
435
|
Update a npm repository
|
436
436
|
|
@@ -449,7 +449,7 @@ PulpNpmClient.configure do |config|
|
|
449
449
|
end
|
450
450
|
|
451
451
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
452
|
-
|
452
|
+
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
453
453
|
npm_npm_repository = PulpNpmClient::NpmNpmRepository.new # NpmNpmRepository |
|
454
454
|
opts = {
|
455
455
|
name: 'name_example', # String | name
|
@@ -459,7 +459,7 @@ opts = {
|
|
459
459
|
|
460
460
|
begin
|
461
461
|
#Update a npm repository
|
462
|
-
result = api_instance.update(
|
462
|
+
result = api_instance.update(npm_npm_repository_href, npm_npm_repository, opts)
|
463
463
|
p result
|
464
464
|
rescue PulpNpmClient::ApiError => e
|
465
465
|
puts "Exception when calling RepositoriesNpmApi->update: #{e}"
|
@@ -471,7 +471,7 @@ end
|
|
471
471
|
|
472
472
|
Name | Type | Description | Notes
|
473
473
|
------------- | ------------- | ------------- | -------------
|
474
|
-
**
|
474
|
+
**npm_npm_repository_href** | **String**| |
|
475
475
|
**npm_npm_repository** | [**NpmNpmRepository**](NpmNpmRepository.md)| |
|
476
476
|
**name** | **String**| name | [optional]
|
477
477
|
**name__in** | **String**| name__in | [optional]
|