pulpcore_client 3.20.0 → 3.21.0
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.
- checksums.yaml +4 -4
- data/README.md +8 -84
- data/docs/ContentApi.md +1 -115
- data/docs/ContentguardsApi.md +1 -280
- data/docs/DistributionsApi.md +3 -281
- data/docs/PublicationsApi.md +0 -113
- data/docs/PulpImport.md +3 -1
- data/docs/RemotesApi.md +0 -280
- data/docs/RepositoriesApi.md +3 -281
- data/docs/UploadsApi.md +228 -0
- data/lib/pulpcore_client/api/content_api.rb +2 -134
- data/lib/pulpcore_client/api/contentguards_api.rb +2 -334
- data/lib/pulpcore_client/api/distributions_api.rb +5 -336
- data/lib/pulpcore_client/api/publications_api.rb +0 -128
- data/lib/pulpcore_client/api/remotes_api.rb +0 -334
- data/lib/pulpcore_client/api/repositories_api.rb +5 -336
- data/lib/pulpcore_client/api/repository_versions_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +268 -0
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import.rb +16 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -31
- data/pulpcore_client.gemspec +3 -3
- data/spec/api/content_api_spec.rb +1 -27
- data/spec/api/contentguards_api_spec.rb +1 -65
- data/spec/api/distributions_api_spec.rb +2 -65
- data/spec/api/publications_api_spec.rb +0 -26
- data/spec/api/remotes_api_spec.rb +0 -64
- data/spec/api/repositories_api_spec.rb +2 -65
- data/spec/api/uploads_api_spec.rb +50 -0
- data/spec/models/pulp_import_spec.rb +6 -0
- metadata +136 -261
- data/docs/AcsApi.md +0 -417
- data/docs/AlternateContentSource.md +0 -23
- data/docs/AlternateContentSourceResponse.md +0 -27
- data/docs/ContentGuard.md +0 -19
- data/docs/Distribution.md +0 -25
- data/docs/Export.md +0 -17
- data/docs/ExportResponse.md +0 -25
- data/docs/Exporter.md +0 -17
- data/docs/ExporterResponse.md +0 -21
- data/docs/ExportersApi.md +0 -362
- data/docs/ExportersExportsApi.md +0 -241
- data/docs/Import.md +0 -19
- data/docs/Importer.md +0 -17
- data/docs/ImporterResponse.md +0 -21
- data/docs/ImportersApi.md +0 -361
- data/docs/ImportersImportsApi.md +0 -241
- data/docs/MultipleArtifactContent.md +0 -17
- data/docs/PaginatedAlternateContentSourceResponseList.md +0 -23
- data/docs/PaginatedExportResponseList.md +0 -23
- data/docs/PaginatedExporterResponseList.md +0 -23
- data/docs/PaginatedImporterResponseList.md +0 -23
- data/docs/PatchedAlternateContentSource.md +0 -23
- data/docs/PatchedContentGuard.md +0 -19
- data/docs/PatchedDistribution.md +0 -25
- data/docs/PatchedExporter.md +0 -17
- data/docs/PatchedImporter.md +0 -17
- data/docs/PatchedRemote.md +0 -57
- data/docs/PatchedRepository.md +0 -25
- data/docs/Remote.md +0 -57
- data/docs/RepositoriesVersionsApi.md +0 -271
- data/docs/Repository.md +0 -25
- data/git_push.sh +0 -58
- data/lib/pulpcore_client/api/acs_api.rb +0 -514
- data/lib/pulpcore_client/api/exporters_api.rb +0 -446
- data/lib/pulpcore_client/api/exporters_exports_api.rb +0 -294
- data/lib/pulpcore_client/api/importers_api.rb +0 -444
- data/lib/pulpcore_client/api/importers_imports_api.rb +0 -294
- data/lib/pulpcore_client/api/repositories_versions_api.rb +0 -343
- data/lib/pulpcore_client/models/alternate_content_source.rb +0 -270
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +0 -270
- data/lib/pulpcore_client/models/content_guard.rb +0 -258
- data/lib/pulpcore_client/models/distribution.rb +0 -297
- data/lib/pulpcore_client/models/export.rb +0 -209
- data/lib/pulpcore_client/models/export_response.rb +0 -250
- data/lib/pulpcore_client/models/exporter.rb +0 -232
- data/lib/pulpcore_client/models/exporter_response.rb +0 -232
- data/lib/pulpcore_client/models/import.rb +0 -228
- data/lib/pulpcore_client/models/importer.rb +0 -232
- data/lib/pulpcore_client/models/importer_response.rb +0 -232
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +0 -213
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_export_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +0 -237
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +0 -256
- data/lib/pulpcore_client/models/patched_content_guard.rb +0 -249
- data/lib/pulpcore_client/models/patched_distribution.rb +0 -279
- data/lib/pulpcore_client/models/patched_exporter.rb +0 -223
- data/lib/pulpcore_client/models/patched_importer.rb +0 -223
- data/lib/pulpcore_client/models/patched_remote.rb +0 -649
- data/lib/pulpcore_client/models/patched_repository.rb +0 -295
- data/lib/pulpcore_client/models/remote.rb +0 -667
- data/lib/pulpcore_client/models/repository.rb +0 -304
- data/spec/api/acs_api_spec.rb +0 -132
- data/spec/api/exporters_api_spec.rb +0 -120
- data/spec/api/exporters_exports_api_spec.rb +0 -90
- data/spec/api/importers_api_spec.rb +0 -120
- data/spec/api/importers_imports_api_spec.rb +0 -90
- data/spec/api/repositories_versions_api_spec.rb +0 -104
- data/spec/models/alternate_content_source_response_spec.rb +0 -71
- data/spec/models/alternate_content_source_spec.rb +0 -59
- data/spec/models/content_guard_spec.rb +0 -47
- data/spec/models/distribution_spec.rb +0 -65
- data/spec/models/export_response_spec.rb +0 -65
- data/spec/models/export_spec.rb +0 -41
- data/spec/models/exporter_response_spec.rb +0 -53
- data/spec/models/exporter_spec.rb +0 -41
- data/spec/models/import_spec.rb +0 -47
- data/spec/models/importer_response_spec.rb +0 -53
- data/spec/models/importer_spec.rb +0 -41
- data/spec/models/multiple_artifact_content_spec.rb +0 -41
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +0 -59
- data/spec/models/paginated_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_importer_response_list_spec.rb +0 -59
- data/spec/models/patched_alternate_content_source_spec.rb +0 -59
- data/spec/models/patched_content_guard_spec.rb +0 -47
- data/spec/models/patched_distribution_spec.rb +0 -65
- data/spec/models/patched_exporter_spec.rb +0 -41
- data/spec/models/patched_importer_spec.rb +0 -41
- data/spec/models/patched_remote_spec.rb +0 -161
- data/spec/models/patched_repository_spec.rb +0 -65
- data/spec/models/remote_spec.rb +0 -161
- data/spec/models/repository_spec.rb +0 -65
data/docs/ImportersApi.md
DELETED
|
@@ -1,361 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ImportersApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](ImportersApi.md#create) | **POST** /pulp/api/v3/importers/ | Create an importer
|
|
8
|
-
[**delete**](ImportersApi.md#delete) | **DELETE** {importer_href} | Delete an importer
|
|
9
|
-
[**list**](ImportersApi.md#list) | **GET** /pulp/api/v3/importers/ | List importers
|
|
10
|
-
[**partial_update**](ImportersApi.md#partial_update) | **PATCH** {importer_href} | Update an importer
|
|
11
|
-
[**read**](ImportersApi.md#read) | **GET** {importer_href} | Inspect an importer
|
|
12
|
-
[**update**](ImportersApi.md#update) | **PUT** {importer_href} | Update an importer
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## create
|
|
17
|
-
|
|
18
|
-
> ImporterResponse create(importer)
|
|
19
|
-
|
|
20
|
-
Create an importer
|
|
21
|
-
|
|
22
|
-
ViewSet for Importers.
|
|
23
|
-
|
|
24
|
-
### Example
|
|
25
|
-
|
|
26
|
-
```ruby
|
|
27
|
-
# load the gem
|
|
28
|
-
require 'pulpcore_client'
|
|
29
|
-
# setup authorization
|
|
30
|
-
PulpcoreClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization: basicAuth
|
|
32
|
-
config.username = 'YOUR USERNAME'
|
|
33
|
-
config.password = 'YOUR PASSWORD'
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
37
|
-
importer = PulpcoreClient::Importer.new # Importer |
|
|
38
|
-
|
|
39
|
-
begin
|
|
40
|
-
#Create an importer
|
|
41
|
-
result = api_instance.create(importer)
|
|
42
|
-
p result
|
|
43
|
-
rescue PulpcoreClient::ApiError => e
|
|
44
|
-
puts "Exception when calling ImportersApi->create: #{e}"
|
|
45
|
-
end
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Parameters
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Name | Type | Description | Notes
|
|
52
|
-
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**importer** | [**Importer**](Importer.md)| |
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
[**ImporterResponse**](ImporterResponse.md)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
[basicAuth](../README.md#basicAuth)
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
-
- **Accept**: application/json
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## delete
|
|
70
|
-
|
|
71
|
-
> delete(importer_href)
|
|
72
|
-
|
|
73
|
-
Delete an importer
|
|
74
|
-
|
|
75
|
-
ViewSet for Importers.
|
|
76
|
-
|
|
77
|
-
### Example
|
|
78
|
-
|
|
79
|
-
```ruby
|
|
80
|
-
# load the gem
|
|
81
|
-
require 'pulpcore_client'
|
|
82
|
-
# setup authorization
|
|
83
|
-
PulpcoreClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization: basicAuth
|
|
85
|
-
config.username = 'YOUR USERNAME'
|
|
86
|
-
config.password = 'YOUR PASSWORD'
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
90
|
-
importer_href = 'importer_href_example' # String |
|
|
91
|
-
|
|
92
|
-
begin
|
|
93
|
-
#Delete an importer
|
|
94
|
-
api_instance.delete(importer_href)
|
|
95
|
-
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling ImportersApi->delete: #{e}"
|
|
97
|
-
end
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Parameters
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Name | Type | Description | Notes
|
|
104
|
-
------------- | ------------- | ------------- | -------------
|
|
105
|
-
**importer_href** | **String**| |
|
|
106
|
-
|
|
107
|
-
### Return type
|
|
108
|
-
|
|
109
|
-
nil (empty response body)
|
|
110
|
-
|
|
111
|
-
### Authorization
|
|
112
|
-
|
|
113
|
-
[basicAuth](../README.md#basicAuth)
|
|
114
|
-
|
|
115
|
-
### HTTP request headers
|
|
116
|
-
|
|
117
|
-
- **Content-Type**: Not defined
|
|
118
|
-
- **Accept**: Not defined
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## list
|
|
122
|
-
|
|
123
|
-
> PaginatedImporterResponseList list(opts)
|
|
124
|
-
|
|
125
|
-
List importers
|
|
126
|
-
|
|
127
|
-
ViewSet for Importers.
|
|
128
|
-
|
|
129
|
-
### Example
|
|
130
|
-
|
|
131
|
-
```ruby
|
|
132
|
-
# load the gem
|
|
133
|
-
require 'pulpcore_client'
|
|
134
|
-
# setup authorization
|
|
135
|
-
PulpcoreClient.configure do |config|
|
|
136
|
-
# Configure HTTP basic authorization: basicAuth
|
|
137
|
-
config.username = 'YOUR USERNAME'
|
|
138
|
-
config.password = 'YOUR PASSWORD'
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
142
|
-
opts = {
|
|
143
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
-
name: 'name_example', # String |
|
|
145
|
-
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
146
|
-
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
147
|
-
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
148
|
-
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
149
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
150
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
151
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
152
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
begin
|
|
156
|
-
#List importers
|
|
157
|
-
result = api_instance.list(opts)
|
|
158
|
-
p result
|
|
159
|
-
rescue PulpcoreClient::ApiError => e
|
|
160
|
-
puts "Exception when calling ImportersApi->list: #{e}"
|
|
161
|
-
end
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
### Parameters
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
Name | Type | Description | Notes
|
|
168
|
-
------------- | ------------- | ------------- | -------------
|
|
169
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
170
|
-
**name** | **String**| | [optional]
|
|
171
|
-
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
172
|
-
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
173
|
-
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
174
|
-
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
175
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
176
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
177
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
178
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
179
|
-
|
|
180
|
-
### Return type
|
|
181
|
-
|
|
182
|
-
[**PaginatedImporterResponseList**](PaginatedImporterResponseList.md)
|
|
183
|
-
|
|
184
|
-
### Authorization
|
|
185
|
-
|
|
186
|
-
[basicAuth](../README.md#basicAuth)
|
|
187
|
-
|
|
188
|
-
### HTTP request headers
|
|
189
|
-
|
|
190
|
-
- **Content-Type**: Not defined
|
|
191
|
-
- **Accept**: application/json
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
## partial_update
|
|
195
|
-
|
|
196
|
-
> ImporterResponse partial_update(importer_href, patched_importer)
|
|
197
|
-
|
|
198
|
-
Update an importer
|
|
199
|
-
|
|
200
|
-
ViewSet for Importers.
|
|
201
|
-
|
|
202
|
-
### Example
|
|
203
|
-
|
|
204
|
-
```ruby
|
|
205
|
-
# load the gem
|
|
206
|
-
require 'pulpcore_client'
|
|
207
|
-
# setup authorization
|
|
208
|
-
PulpcoreClient.configure do |config|
|
|
209
|
-
# Configure HTTP basic authorization: basicAuth
|
|
210
|
-
config.username = 'YOUR USERNAME'
|
|
211
|
-
config.password = 'YOUR PASSWORD'
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
215
|
-
importer_href = 'importer_href_example' # String |
|
|
216
|
-
patched_importer = PulpcoreClient::PatchedImporter.new # PatchedImporter |
|
|
217
|
-
|
|
218
|
-
begin
|
|
219
|
-
#Update an importer
|
|
220
|
-
result = api_instance.partial_update(importer_href, patched_importer)
|
|
221
|
-
p result
|
|
222
|
-
rescue PulpcoreClient::ApiError => e
|
|
223
|
-
puts "Exception when calling ImportersApi->partial_update: #{e}"
|
|
224
|
-
end
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### Parameters
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
Name | Type | Description | Notes
|
|
231
|
-
------------- | ------------- | ------------- | -------------
|
|
232
|
-
**importer_href** | **String**| |
|
|
233
|
-
**patched_importer** | [**PatchedImporter**](PatchedImporter.md)| |
|
|
234
|
-
|
|
235
|
-
### Return type
|
|
236
|
-
|
|
237
|
-
[**ImporterResponse**](ImporterResponse.md)
|
|
238
|
-
|
|
239
|
-
### Authorization
|
|
240
|
-
|
|
241
|
-
[basicAuth](../README.md#basicAuth)
|
|
242
|
-
|
|
243
|
-
### HTTP request headers
|
|
244
|
-
|
|
245
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
246
|
-
- **Accept**: application/json
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
## read
|
|
250
|
-
|
|
251
|
-
> ImporterResponse read(importer_href, opts)
|
|
252
|
-
|
|
253
|
-
Inspect an importer
|
|
254
|
-
|
|
255
|
-
ViewSet for Importers.
|
|
256
|
-
|
|
257
|
-
### Example
|
|
258
|
-
|
|
259
|
-
```ruby
|
|
260
|
-
# load the gem
|
|
261
|
-
require 'pulpcore_client'
|
|
262
|
-
# setup authorization
|
|
263
|
-
PulpcoreClient.configure do |config|
|
|
264
|
-
# Configure HTTP basic authorization: basicAuth
|
|
265
|
-
config.username = 'YOUR USERNAME'
|
|
266
|
-
config.password = 'YOUR PASSWORD'
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
270
|
-
importer_href = 'importer_href_example' # String |
|
|
271
|
-
opts = {
|
|
272
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
273
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
begin
|
|
277
|
-
#Inspect an importer
|
|
278
|
-
result = api_instance.read(importer_href, opts)
|
|
279
|
-
p result
|
|
280
|
-
rescue PulpcoreClient::ApiError => e
|
|
281
|
-
puts "Exception when calling ImportersApi->read: #{e}"
|
|
282
|
-
end
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
### Parameters
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
Name | Type | Description | Notes
|
|
289
|
-
------------- | ------------- | ------------- | -------------
|
|
290
|
-
**importer_href** | **String**| |
|
|
291
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
292
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
293
|
-
|
|
294
|
-
### Return type
|
|
295
|
-
|
|
296
|
-
[**ImporterResponse**](ImporterResponse.md)
|
|
297
|
-
|
|
298
|
-
### Authorization
|
|
299
|
-
|
|
300
|
-
[basicAuth](../README.md#basicAuth)
|
|
301
|
-
|
|
302
|
-
### HTTP request headers
|
|
303
|
-
|
|
304
|
-
- **Content-Type**: Not defined
|
|
305
|
-
- **Accept**: application/json
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
## update
|
|
309
|
-
|
|
310
|
-
> ImporterResponse update(importer_href, importer)
|
|
311
|
-
|
|
312
|
-
Update an importer
|
|
313
|
-
|
|
314
|
-
ViewSet for Importers.
|
|
315
|
-
|
|
316
|
-
### Example
|
|
317
|
-
|
|
318
|
-
```ruby
|
|
319
|
-
# load the gem
|
|
320
|
-
require 'pulpcore_client'
|
|
321
|
-
# setup authorization
|
|
322
|
-
PulpcoreClient.configure do |config|
|
|
323
|
-
# Configure HTTP basic authorization: basicAuth
|
|
324
|
-
config.username = 'YOUR USERNAME'
|
|
325
|
-
config.password = 'YOUR PASSWORD'
|
|
326
|
-
end
|
|
327
|
-
|
|
328
|
-
api_instance = PulpcoreClient::ImportersApi.new
|
|
329
|
-
importer_href = 'importer_href_example' # String |
|
|
330
|
-
importer = PulpcoreClient::Importer.new # Importer |
|
|
331
|
-
|
|
332
|
-
begin
|
|
333
|
-
#Update an importer
|
|
334
|
-
result = api_instance.update(importer_href, importer)
|
|
335
|
-
p result
|
|
336
|
-
rescue PulpcoreClient::ApiError => e
|
|
337
|
-
puts "Exception when calling ImportersApi->update: #{e}"
|
|
338
|
-
end
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
### Parameters
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
Name | Type | Description | Notes
|
|
345
|
-
------------- | ------------- | ------------- | -------------
|
|
346
|
-
**importer_href** | **String**| |
|
|
347
|
-
**importer** | [**Importer**](Importer.md)| |
|
|
348
|
-
|
|
349
|
-
### Return type
|
|
350
|
-
|
|
351
|
-
[**ImporterResponse**](ImporterResponse.md)
|
|
352
|
-
|
|
353
|
-
### Authorization
|
|
354
|
-
|
|
355
|
-
[basicAuth](../README.md#basicAuth)
|
|
356
|
-
|
|
357
|
-
### HTTP request headers
|
|
358
|
-
|
|
359
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
360
|
-
- **Accept**: application/json
|
|
361
|
-
|
data/docs/ImportersImportsApi.md
DELETED
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ImportersImportsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](ImportersImportsApi.md#create) | **POST** {importer_href}imports/ | Create an import
|
|
8
|
-
[**delete**](ImportersImportsApi.md#delete) | **DELETE** {importers_import_href} | Delete an import
|
|
9
|
-
[**list**](ImportersImportsApi.md#list) | **GET** {importer_href}imports/ | List imports
|
|
10
|
-
[**read**](ImportersImportsApi.md#read) | **GET** {importers_import_href} | Inspect an import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## create
|
|
15
|
-
|
|
16
|
-
> ImportResponse create(importer_href, import)
|
|
17
|
-
|
|
18
|
-
Create an import
|
|
19
|
-
|
|
20
|
-
ViewSet for viewing imports from an Importer.
|
|
21
|
-
|
|
22
|
-
### Example
|
|
23
|
-
|
|
24
|
-
```ruby
|
|
25
|
-
# load the gem
|
|
26
|
-
require 'pulpcore_client'
|
|
27
|
-
# setup authorization
|
|
28
|
-
PulpcoreClient.configure do |config|
|
|
29
|
-
# Configure HTTP basic authorization: basicAuth
|
|
30
|
-
config.username = 'YOUR USERNAME'
|
|
31
|
-
config.password = 'YOUR PASSWORD'
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
api_instance = PulpcoreClient::ImportersImportsApi.new
|
|
35
|
-
importer_href = 'importer_href_example' # String |
|
|
36
|
-
import = PulpcoreClient::Import.new # Import |
|
|
37
|
-
|
|
38
|
-
begin
|
|
39
|
-
#Create an import
|
|
40
|
-
result = api_instance.create(importer_href, import)
|
|
41
|
-
p result
|
|
42
|
-
rescue PulpcoreClient::ApiError => e
|
|
43
|
-
puts "Exception when calling ImportersImportsApi->create: #{e}"
|
|
44
|
-
end
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Parameters
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Name | Type | Description | Notes
|
|
51
|
-
------------- | ------------- | ------------- | -------------
|
|
52
|
-
**importer_href** | **String**| |
|
|
53
|
-
**import** | [**Import**](Import.md)| |
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
[**ImportResponse**](ImportResponse.md)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
[basicAuth](../README.md#basicAuth)
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
-
- **Accept**: application/json
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## delete
|
|
70
|
-
|
|
71
|
-
> delete(importers_import_href)
|
|
72
|
-
|
|
73
|
-
Delete an import
|
|
74
|
-
|
|
75
|
-
ViewSet for viewing imports from an Importer.
|
|
76
|
-
|
|
77
|
-
### Example
|
|
78
|
-
|
|
79
|
-
```ruby
|
|
80
|
-
# load the gem
|
|
81
|
-
require 'pulpcore_client'
|
|
82
|
-
# setup authorization
|
|
83
|
-
PulpcoreClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization: basicAuth
|
|
85
|
-
config.username = 'YOUR USERNAME'
|
|
86
|
-
config.password = 'YOUR PASSWORD'
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
api_instance = PulpcoreClient::ImportersImportsApi.new
|
|
90
|
-
importers_import_href = 'importers_import_href_example' # String |
|
|
91
|
-
|
|
92
|
-
begin
|
|
93
|
-
#Delete an import
|
|
94
|
-
api_instance.delete(importers_import_href)
|
|
95
|
-
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling ImportersImportsApi->delete: #{e}"
|
|
97
|
-
end
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Parameters
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Name | Type | Description | Notes
|
|
104
|
-
------------- | ------------- | ------------- | -------------
|
|
105
|
-
**importers_import_href** | **String**| |
|
|
106
|
-
|
|
107
|
-
### Return type
|
|
108
|
-
|
|
109
|
-
nil (empty response body)
|
|
110
|
-
|
|
111
|
-
### Authorization
|
|
112
|
-
|
|
113
|
-
[basicAuth](../README.md#basicAuth)
|
|
114
|
-
|
|
115
|
-
### HTTP request headers
|
|
116
|
-
|
|
117
|
-
- **Content-Type**: Not defined
|
|
118
|
-
- **Accept**: Not defined
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## list
|
|
122
|
-
|
|
123
|
-
> PaginatedImportResponseList list(importer_href, opts)
|
|
124
|
-
|
|
125
|
-
List imports
|
|
126
|
-
|
|
127
|
-
ViewSet for viewing imports from an Importer.
|
|
128
|
-
|
|
129
|
-
### Example
|
|
130
|
-
|
|
131
|
-
```ruby
|
|
132
|
-
# load the gem
|
|
133
|
-
require 'pulpcore_client'
|
|
134
|
-
# setup authorization
|
|
135
|
-
PulpcoreClient.configure do |config|
|
|
136
|
-
# Configure HTTP basic authorization: basicAuth
|
|
137
|
-
config.username = 'YOUR USERNAME'
|
|
138
|
-
config.password = 'YOUR PASSWORD'
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
api_instance = PulpcoreClient::ImportersImportsApi.new
|
|
142
|
-
importer_href = 'importer_href_example' # String |
|
|
143
|
-
opts = {
|
|
144
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
146
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
147
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
begin
|
|
151
|
-
#List imports
|
|
152
|
-
result = api_instance.list(importer_href, opts)
|
|
153
|
-
p result
|
|
154
|
-
rescue PulpcoreClient::ApiError => e
|
|
155
|
-
puts "Exception when calling ImportersImportsApi->list: #{e}"
|
|
156
|
-
end
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Parameters
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
Name | Type | Description | Notes
|
|
163
|
-
------------- | ------------- | ------------- | -------------
|
|
164
|
-
**importer_href** | **String**| |
|
|
165
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
166
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
167
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
168
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
169
|
-
|
|
170
|
-
### Return type
|
|
171
|
-
|
|
172
|
-
[**PaginatedImportResponseList**](PaginatedImportResponseList.md)
|
|
173
|
-
|
|
174
|
-
### Authorization
|
|
175
|
-
|
|
176
|
-
[basicAuth](../README.md#basicAuth)
|
|
177
|
-
|
|
178
|
-
### HTTP request headers
|
|
179
|
-
|
|
180
|
-
- **Content-Type**: Not defined
|
|
181
|
-
- **Accept**: application/json
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## read
|
|
185
|
-
|
|
186
|
-
> ImportResponse read(importers_import_href, opts)
|
|
187
|
-
|
|
188
|
-
Inspect an import
|
|
189
|
-
|
|
190
|
-
ViewSet for viewing imports from an Importer.
|
|
191
|
-
|
|
192
|
-
### Example
|
|
193
|
-
|
|
194
|
-
```ruby
|
|
195
|
-
# load the gem
|
|
196
|
-
require 'pulpcore_client'
|
|
197
|
-
# setup authorization
|
|
198
|
-
PulpcoreClient.configure do |config|
|
|
199
|
-
# Configure HTTP basic authorization: basicAuth
|
|
200
|
-
config.username = 'YOUR USERNAME'
|
|
201
|
-
config.password = 'YOUR PASSWORD'
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
api_instance = PulpcoreClient::ImportersImportsApi.new
|
|
205
|
-
importers_import_href = 'importers_import_href_example' # String |
|
|
206
|
-
opts = {
|
|
207
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
208
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
begin
|
|
212
|
-
#Inspect an import
|
|
213
|
-
result = api_instance.read(importers_import_href, opts)
|
|
214
|
-
p result
|
|
215
|
-
rescue PulpcoreClient::ApiError => e
|
|
216
|
-
puts "Exception when calling ImportersImportsApi->read: #{e}"
|
|
217
|
-
end
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Parameters
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
Name | Type | Description | Notes
|
|
224
|
-
------------- | ------------- | ------------- | -------------
|
|
225
|
-
**importers_import_href** | **String**| |
|
|
226
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
227
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
228
|
-
|
|
229
|
-
### Return type
|
|
230
|
-
|
|
231
|
-
[**ImportResponse**](ImportResponse.md)
|
|
232
|
-
|
|
233
|
-
### Authorization
|
|
234
|
-
|
|
235
|
-
[basicAuth](../README.md#basicAuth)
|
|
236
|
-
|
|
237
|
-
### HTTP request headers
|
|
238
|
-
|
|
239
|
-
- **Content-Type**: Not defined
|
|
240
|
-
- **Accept**: application/json
|
|
241
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::MultipleArtifactContent
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
|
8
|
-
|
|
9
|
-
## Code Sample
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'PulpcoreClient'
|
|
13
|
-
|
|
14
|
-
instance = PulpcoreClient::MultipleArtifactContent.new(artifacts: null)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::PaginatedAlternateContentSourceResponseList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | | [optional]
|
|
8
|
-
**_next** | **String** | | [optional]
|
|
9
|
-
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<AlternateContentSourceResponse>**](AlternateContentSourceResponse.md) | | [optional]
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpcoreClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpcoreClient::PaginatedAlternateContentSourceResponseList.new(count: 123,
|
|
18
|
-
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
-
results: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::PaginatedExportResponseList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | | [optional]
|
|
8
|
-
**_next** | **String** | | [optional]
|
|
9
|
-
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ExportResponse>**](ExportResponse.md) | | [optional]
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpcoreClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpcoreClient::PaginatedExportResponseList.new(count: 123,
|
|
18
|
-
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
-
results: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::PaginatedExporterResponseList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | | [optional]
|
|
8
|
-
**_next** | **String** | | [optional]
|
|
9
|
-
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ExporterResponse>**](ExporterResponse.md) | | [optional]
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpcoreClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpcoreClient::PaginatedExporterResponseList.new(count: 123,
|
|
18
|
-
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
-
results: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::PaginatedImporterResponseList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | | [optional]
|
|
8
|
-
**_next** | **String** | | [optional]
|
|
9
|
-
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ImporterResponse>**](ImporterResponse.md) | | [optional]
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpcoreClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpcoreClient::PaginatedImporterResponseList.new(count: 123,
|
|
18
|
-
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
-
results: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|