pulp_npm_client 0.1.0a1.dev01600047508 → 0.1.0a1.dev01600133930
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +10 -10
- data/docs/RemotesNpmApi.md +30 -30
- data/docs/RepositoriesNpmApi.md +30 -30
- data/docs/RepositoriesNpmVersionsApi.md +15 -15
- data/lib/pulp_npm_client/api/content_packages_api.rb +6 -6
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +11 -11
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +37 -37
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +37 -37
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +18 -18
- 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 -4
- data/spec/api/remotes_npm_api_spec.rb +12 -12
- data/spec/api/repositories_npm_api_spec.rb +12 -12
- data/spec/api/repositories_npm_versions_api_spec.rb +6 -6
- 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: 3dbf1f877f5f1bdfbfdb0119a57b5cbde66566b7a23e80ccb4cbae7b20cf99c7
|
4
|
+
data.tar.gz: c99cfae82fe16669c06a71bc29380c58f4d6e83e28b222e4e9a3642754fe72a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68c9622e417676c3aa49be6e7d4f91f44f2b743f83c2b3bd30a9472e3d436d35054b5751c305fbf0a557c88e3731694853bcf016b06bf6f3877085f96cc5915a
|
7
|
+
data.tar.gz: 3077660013c1cc294adbd3fbe898df8f0e8eb162170958b0bb9ff275cd206d39acd4aac73e3f7c126ccd77e1695625a90e34848fd0699fe20bb9abbc81a0211c
|
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.dev01600133930
|
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.dev01600133930.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.dev01600133930.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.dev01600133930'
|
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* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
96
|
+
*PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
97
97
|
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
98
|
-
*PulpNpmClient::DistributionsNpmApi* | [**
|
98
|
+
*PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **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* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
104
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
105
|
+
*PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
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
|
109
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
110
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
111
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **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_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
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* | [**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
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
|
+
[**read**](ContentPackagesApi.md#read) | **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
|
+
## read
|
152
152
|
|
153
|
-
> NpmPackageResponse
|
153
|
+
> NpmPackageResponse read(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.read(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->read: #{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
|
+
[**create**](DistributionsNpmApi.md#create) | **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
|
+
[**list**](DistributionsNpmApi.md#list) | **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
|
+
## create
|
17
17
|
|
18
|
-
> AsyncOperationResponse
|
18
|
+
> AsyncOperationResponse create(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.create(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->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -119,9 +119,9 @@ Name | Type | Description | Notes
|
|
119
119
|
- **Accept**: application/json
|
120
120
|
|
121
121
|
|
122
|
-
##
|
122
|
+
## list
|
123
123
|
|
124
|
-
> InlineResponse2001
|
124
|
+
> InlineResponse2001 list(opts)
|
125
125
|
|
126
126
|
List npm distributions
|
127
127
|
|
@@ -156,10 +156,10 @@ opts = {
|
|
156
156
|
|
157
157
|
begin
|
158
158
|
#List npm distributions
|
159
|
-
result = api_instance.
|
159
|
+
result = api_instance.list(opts)
|
160
160
|
p result
|
161
161
|
rescue PulpNpmClient::ApiError => e
|
162
|
-
puts "Exception when calling DistributionsNpmApi->
|
162
|
+
puts "Exception when calling DistributionsNpmApi->list: #{e}"
|
163
163
|
end
|
164
164
|
```
|
165
165
|
|
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
|
+
[**create**](RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
8
|
+
[**delete**](RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
9
|
+
[**list**](RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
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
|
|
16
|
-
##
|
16
|
+
## create
|
17
17
|
|
18
|
-
> NpmNpmRemoteResponse
|
18
|
+
> NpmNpmRemoteResponse create(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.create(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->create: #{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
|
+
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse
|
71
|
+
> AsyncOperationResponse delete(npm_npm_remote_href)
|
72
72
|
|
73
73
|
Delete a npm remote
|
74
74
|
|
@@ -91,10 +91,10 @@ npm_npm_remote_href = 'npm_npm_remote_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a npm remote
|
94
|
-
result = api_instance.
|
94
|
+
result = api_instance.delete(npm_npm_remote_href)
|
95
95
|
p result
|
96
96
|
rescue PulpNpmClient::ApiError => e
|
97
|
-
puts "Exception when calling RemotesNpmApi->
|
97
|
+
puts "Exception when calling RemotesNpmApi->delete: #{e}"
|
98
98
|
end
|
99
99
|
```
|
100
100
|
|
@@ -119,9 +119,9 @@ Name | Type | Description | Notes
|
|
119
119
|
- **Accept**: application/json
|
120
120
|
|
121
121
|
|
122
|
-
##
|
122
|
+
## list
|
123
123
|
|
124
|
-
> InlineResponse2002
|
124
|
+
> InlineResponse2002 list(opts)
|
125
125
|
|
126
126
|
List npm remotes
|
127
127
|
|
@@ -158,10 +158,10 @@ opts = {
|
|
158
158
|
|
159
159
|
begin
|
160
160
|
#List npm remotes
|
161
|
-
result = api_instance.
|
161
|
+
result = api_instance.list(opts)
|
162
162
|
p result
|
163
163
|
rescue PulpNpmClient::ApiError => e
|
164
|
-
puts "Exception when calling RemotesNpmApi->
|
164
|
+
puts "Exception when calling RemotesNpmApi->list: #{e}"
|
165
165
|
end
|
166
166
|
```
|
167
167
|
|
@@ -198,9 +198,9 @@ Name | Type | Description | Notes
|
|
198
198
|
- **Accept**: application/json
|
199
199
|
|
200
200
|
|
201
|
-
##
|
201
|
+
## partial_update
|
202
202
|
|
203
|
-
> AsyncOperationResponse
|
203
|
+
> AsyncOperationResponse partial_update(npm_npm_remote_href, patchednpm_npm_remote)
|
204
204
|
|
205
205
|
Update a npm remote
|
206
206
|
|
@@ -224,10 +224,10 @@ patchednpm_npm_remote = PulpNpmClient::PatchednpmNpmRemote.new # PatchednpmNpmRe
|
|
224
224
|
|
225
225
|
begin
|
226
226
|
#Update a npm remote
|
227
|
-
result = api_instance.
|
227
|
+
result = api_instance.partial_update(npm_npm_remote_href, patchednpm_npm_remote)
|
228
228
|
p result
|
229
229
|
rescue PulpNpmClient::ApiError => e
|
230
|
-
puts "Exception when calling RemotesNpmApi->
|
230
|
+
puts "Exception when calling RemotesNpmApi->partial_update: #{e}"
|
231
231
|
end
|
232
232
|
```
|
233
233
|
|
@@ -253,9 +253,9 @@ Name | Type | Description | Notes
|
|
253
253
|
- **Accept**: application/json
|
254
254
|
|
255
255
|
|
256
|
-
##
|
256
|
+
## read
|
257
257
|
|
258
|
-
> NpmNpmRemoteResponse
|
258
|
+
> NpmNpmRemoteResponse read(npm_npm_remote_href, opts)
|
259
259
|
|
260
260
|
Inspect a npm remote
|
261
261
|
|
@@ -282,10 +282,10 @@ opts = {
|
|
282
282
|
|
283
283
|
begin
|
284
284
|
#Inspect a npm remote
|
285
|
-
result = api_instance.
|
285
|
+
result = api_instance.read(npm_npm_remote_href, opts)
|
286
286
|
p result
|
287
287
|
rescue PulpNpmClient::ApiError => e
|
288
|
-
puts "Exception when calling RemotesNpmApi->
|
288
|
+
puts "Exception when calling RemotesNpmApi->read: #{e}"
|
289
289
|
end
|
290
290
|
```
|
291
291
|
|
@@ -312,9 +312,9 @@ Name | Type | Description | Notes
|
|
312
312
|
- **Accept**: application/json
|
313
313
|
|
314
314
|
|
315
|
-
##
|
315
|
+
## update
|
316
316
|
|
317
|
-
> AsyncOperationResponse
|
317
|
+
> AsyncOperationResponse update(npm_npm_remote_href, npm_npm_remote)
|
318
318
|
|
319
319
|
Update a npm remote
|
320
320
|
|
@@ -338,10 +338,10 @@ npm_npm_remote = PulpNpmClient::NpmNpmRemote.new # NpmNpmRemote |
|
|
338
338
|
|
339
339
|
begin
|
340
340
|
#Update a npm remote
|
341
|
-
result = api_instance.
|
341
|
+
result = api_instance.update(npm_npm_remote_href, npm_npm_remote)
|
342
342
|
p result
|
343
343
|
rescue PulpNpmClient::ApiError => e
|
344
|
-
puts "Exception when calling RemotesNpmApi->
|
344
|
+
puts "Exception when calling RemotesNpmApi->update: #{e}"
|
345
345
|
end
|
346
346
|
```
|
347
347
|
|
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -4,20 +4,20 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
7
|
+
[**create**](RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
8
|
+
[**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
9
|
+
[**list**](RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
10
10
|
[**modify**](RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
11
|
-
[**
|
12
|
-
[**
|
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
13
|
[**sync**](RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
14
|
-
[**
|
14
|
+
[**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
15
15
|
|
16
16
|
|
17
17
|
|
18
|
-
##
|
18
|
+
## create
|
19
19
|
|
20
|
-
> NpmNpmRepositoryResponse
|
20
|
+
> NpmNpmRepositoryResponse create(npm_npm_repository)
|
21
21
|
|
22
22
|
Create a npm repository
|
23
23
|
|
@@ -40,10 +40,10 @@ npm_npm_repository = PulpNpmClient::NpmNpmRepository.new # NpmNpmRepository |
|
|
40
40
|
|
41
41
|
begin
|
42
42
|
#Create a npm repository
|
43
|
-
result = api_instance.
|
43
|
+
result = api_instance.create(npm_npm_repository)
|
44
44
|
p result
|
45
45
|
rescue PulpNpmClient::ApiError => e
|
46
|
-
puts "Exception when calling RepositoriesNpmApi->
|
46
|
+
puts "Exception when calling RepositoriesNpmApi->create: #{e}"
|
47
47
|
end
|
48
48
|
```
|
49
49
|
|
@@ -68,9 +68,9 @@ Name | Type | Description | Notes
|
|
68
68
|
- **Accept**: application/json
|
69
69
|
|
70
70
|
|
71
|
-
##
|
71
|
+
## delete
|
72
72
|
|
73
|
-
> AsyncOperationResponse
|
73
|
+
> AsyncOperationResponse delete(npm_npm_repository_href)
|
74
74
|
|
75
75
|
Delete a npm repository
|
76
76
|
|
@@ -93,10 +93,10 @@ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
|
93
93
|
|
94
94
|
begin
|
95
95
|
#Delete a npm repository
|
96
|
-
result = api_instance.
|
96
|
+
result = api_instance.delete(npm_npm_repository_href)
|
97
97
|
p result
|
98
98
|
rescue PulpNpmClient::ApiError => e
|
99
|
-
puts "Exception when calling RepositoriesNpmApi->
|
99
|
+
puts "Exception when calling RepositoriesNpmApi->delete: #{e}"
|
100
100
|
end
|
101
101
|
```
|
102
102
|
|
@@ -121,9 +121,9 @@ Name | Type | Description | Notes
|
|
121
121
|
- **Accept**: application/json
|
122
122
|
|
123
123
|
|
124
|
-
##
|
124
|
+
## list
|
125
125
|
|
126
|
-
> InlineResponse2003
|
126
|
+
> InlineResponse2003 list(opts)
|
127
127
|
|
128
128
|
List npm repositorys
|
129
129
|
|
@@ -154,10 +154,10 @@ opts = {
|
|
154
154
|
|
155
155
|
begin
|
156
156
|
#List npm repositorys
|
157
|
-
result = api_instance.
|
157
|
+
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpNpmClient::ApiError => e
|
160
|
-
puts "Exception when calling RepositoriesNpmApi->
|
160
|
+
puts "Exception when calling RepositoriesNpmApi->list: #{e}"
|
161
161
|
end
|
162
162
|
```
|
163
163
|
|
@@ -243,9 +243,9 @@ Name | Type | Description | Notes
|
|
243
243
|
- **Accept**: application/json
|
244
244
|
|
245
245
|
|
246
|
-
##
|
246
|
+
## partial_update
|
247
247
|
|
248
|
-
> AsyncOperationResponse
|
248
|
+
> AsyncOperationResponse partial_update(npm_npm_repository_href, patchednpm_npm_repository)
|
249
249
|
|
250
250
|
Update a npm repository
|
251
251
|
|
@@ -269,10 +269,10 @@ patchednpm_npm_repository = PulpNpmClient::PatchednpmNpmRepository.new # Patched
|
|
269
269
|
|
270
270
|
begin
|
271
271
|
#Update a npm repository
|
272
|
-
result = api_instance.
|
272
|
+
result = api_instance.partial_update(npm_npm_repository_href, patchednpm_npm_repository)
|
273
273
|
p result
|
274
274
|
rescue PulpNpmClient::ApiError => e
|
275
|
-
puts "Exception when calling RepositoriesNpmApi->
|
275
|
+
puts "Exception when calling RepositoriesNpmApi->partial_update: #{e}"
|
276
276
|
end
|
277
277
|
```
|
278
278
|
|
@@ -298,9 +298,9 @@ Name | Type | Description | Notes
|
|
298
298
|
- **Accept**: application/json
|
299
299
|
|
300
300
|
|
301
|
-
##
|
301
|
+
## read
|
302
302
|
|
303
|
-
> NpmNpmRepositoryResponse
|
303
|
+
> NpmNpmRepositoryResponse read(npm_npm_repository_href, opts)
|
304
304
|
|
305
305
|
Inspect a npm repository
|
306
306
|
|
@@ -327,10 +327,10 @@ opts = {
|
|
327
327
|
|
328
328
|
begin
|
329
329
|
#Inspect a npm repository
|
330
|
-
result = api_instance.
|
330
|
+
result = api_instance.read(npm_npm_repository_href, opts)
|
331
331
|
p result
|
332
332
|
rescue PulpNpmClient::ApiError => e
|
333
|
-
puts "Exception when calling RepositoriesNpmApi->
|
333
|
+
puts "Exception when calling RepositoriesNpmApi->read: #{e}"
|
334
334
|
end
|
335
335
|
```
|
336
336
|
|
@@ -412,9 +412,9 @@ Name | Type | Description | Notes
|
|
412
412
|
- **Accept**: application/json
|
413
413
|
|
414
414
|
|
415
|
-
##
|
415
|
+
## update
|
416
416
|
|
417
|
-
> AsyncOperationResponse
|
417
|
+
> AsyncOperationResponse update(npm_npm_repository_href, npm_npm_repository)
|
418
418
|
|
419
419
|
Update a npm repository
|
420
420
|
|
@@ -438,10 +438,10 @@ npm_npm_repository = PulpNpmClient::NpmNpmRepository.new # NpmNpmRepository |
|
|
438
438
|
|
439
439
|
begin
|
440
440
|
#Update a npm repository
|
441
|
-
result = api_instance.
|
441
|
+
result = api_instance.update(npm_npm_repository_href, npm_npm_repository)
|
442
442
|
p result
|
443
443
|
rescue PulpNpmClient::ApiError => e
|
444
|
-
puts "Exception when calling RepositoriesNpmApi->
|
444
|
+
puts "Exception when calling RepositoriesNpmApi->update: #{e}"
|
445
445
|
end
|
446
446
|
```
|
447
447
|
|