pulp_file_client 1.7.0 → 1.8.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 +4 -21
- data/docs/FileFileRepository.md +2 -0
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/PatchedfileFileRepository.md +2 -0
- data/docs/PublicationsFileApi.md +4 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +6 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +27 -1
- data/lib/pulp_file_client/models/file_file_repository_response.rb +27 -1
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +27 -1
- data/lib/pulp_file_client/models/repository_version_response.rb +10 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +0 -9
- data/spec/api/publications_file_api_spec.rb +2 -0
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/file_file_repository_spec.rb +6 -0
- data/spec/models/patchedfile_file_repository_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +21 -57
- data/docs/ExportResponse.md +0 -25
- data/docs/ExportersFileExportsApi.md +0 -243
- data/docs/ExportersFilesystemApi.md +0 -362
- data/docs/FileFileFilesystemExporter.md +0 -19
- data/docs/FileFileFilesystemExporterResponse.md +0 -23
- data/docs/PaginatedExportResponseList.md +0 -23
- data/docs/PaginatedfileFileFilesystemExporterResponseList.md +0 -23
- data/docs/PatchedfileFileFilesystemExporter.md +0 -19
- data/docs/PublicationExport.md +0 -17
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +0 -297
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +0 -442
- data/lib/pulp_file_client/models/export_response.rb +0 -250
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +0 -228
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +0 -247
- data/lib/pulp_file_client/models/paginated_export_response_list.rb +0 -237
- data/lib/pulp_file_client/models/paginatedfile_file_filesystem_exporter_response_list.rb +0 -237
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +0 -218
- data/lib/pulp_file_client/models/publication_export.rb +0 -213
- data/spec/api/exporters_file_exports_api_spec.rb +0 -91
- data/spec/api/exporters_filesystem_api_spec.rb +0 -120
- data/spec/models/export_response_spec.rb +0 -65
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +0 -59
- data/spec/models/file_file_filesystem_exporter_spec.rb +0 -47
- data/spec/models/paginated_export_response_list_spec.rb +0 -59
- data/spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb +0 -59
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +0 -47
- data/spec/models/publication_export_spec.rb +0 -41
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -79,35 +79,26 @@ files:
|
|
79
79
|
- docs/ContentSummary.md
|
80
80
|
- docs/ContentSummaryResponse.md
|
81
81
|
- docs/DistributionsFileApi.md
|
82
|
-
- docs/ExportResponse.md
|
83
|
-
- docs/ExportersFileExportsApi.md
|
84
|
-
- docs/ExportersFilesystemApi.md
|
85
82
|
- docs/FileFileContent.md
|
86
83
|
- docs/FileFileContentResponse.md
|
87
84
|
- docs/FileFileDistribution.md
|
88
85
|
- docs/FileFileDistributionResponse.md
|
89
|
-
- docs/FileFileFilesystemExporter.md
|
90
|
-
- docs/FileFileFilesystemExporterResponse.md
|
91
86
|
- docs/FileFilePublication.md
|
92
87
|
- docs/FileFilePublicationResponse.md
|
93
88
|
- docs/FileFileRemote.md
|
94
89
|
- docs/FileFileRemoteResponse.md
|
95
90
|
- docs/FileFileRepository.md
|
96
91
|
- docs/FileFileRepositoryResponse.md
|
97
|
-
- docs/PaginatedExportResponseList.md
|
98
92
|
- docs/PaginatedRepositoryVersionResponseList.md
|
99
93
|
- docs/PaginatedfileFileContentResponseList.md
|
100
94
|
- docs/PaginatedfileFileDistributionResponseList.md
|
101
|
-
- docs/PaginatedfileFileFilesystemExporterResponseList.md
|
102
95
|
- docs/PaginatedfileFilePublicationResponseList.md
|
103
96
|
- docs/PaginatedfileFileRemoteResponseList.md
|
104
97
|
- docs/PaginatedfileFileRepositoryResponseList.md
|
105
98
|
- docs/PatchedfileFileDistribution.md
|
106
|
-
- docs/PatchedfileFileFilesystemExporter.md
|
107
99
|
- docs/PatchedfileFileRemote.md
|
108
100
|
- docs/PatchedfileFileRepository.md
|
109
101
|
- docs/PolicyEnum.md
|
110
|
-
- docs/PublicationExport.md
|
111
102
|
- docs/PublicationsFileApi.md
|
112
103
|
- docs/RemotesFileApi.md
|
113
104
|
- docs/RepositoriesFileApi.md
|
@@ -120,8 +111,6 @@ files:
|
|
120
111
|
- lib/pulp_file_client.rb
|
121
112
|
- lib/pulp_file_client/api/content_files_api.rb
|
122
113
|
- lib/pulp_file_client/api/distributions_file_api.rb
|
123
|
-
- lib/pulp_file_client/api/exporters_file_exports_api.rb
|
124
|
-
- lib/pulp_file_client/api/exporters_filesystem_api.rb
|
125
114
|
- lib/pulp_file_client/api/publications_file_api.rb
|
126
115
|
- lib/pulp_file_client/api/remotes_file_api.rb
|
127
116
|
- lib/pulp_file_client/api/repositories_file_api.rb
|
@@ -132,33 +121,26 @@ files:
|
|
132
121
|
- lib/pulp_file_client/models/async_operation_response.rb
|
133
122
|
- lib/pulp_file_client/models/content_summary.rb
|
134
123
|
- lib/pulp_file_client/models/content_summary_response.rb
|
135
|
-
- lib/pulp_file_client/models/export_response.rb
|
136
124
|
- lib/pulp_file_client/models/file_file_content.rb
|
137
125
|
- lib/pulp_file_client/models/file_file_content_response.rb
|
138
126
|
- lib/pulp_file_client/models/file_file_distribution.rb
|
139
127
|
- lib/pulp_file_client/models/file_file_distribution_response.rb
|
140
|
-
- lib/pulp_file_client/models/file_file_filesystem_exporter.rb
|
141
|
-
- lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb
|
142
128
|
- lib/pulp_file_client/models/file_file_publication.rb
|
143
129
|
- lib/pulp_file_client/models/file_file_publication_response.rb
|
144
130
|
- lib/pulp_file_client/models/file_file_remote.rb
|
145
131
|
- lib/pulp_file_client/models/file_file_remote_response.rb
|
146
132
|
- lib/pulp_file_client/models/file_file_repository.rb
|
147
133
|
- lib/pulp_file_client/models/file_file_repository_response.rb
|
148
|
-
- lib/pulp_file_client/models/paginated_export_response_list.rb
|
149
134
|
- lib/pulp_file_client/models/paginated_repository_version_response_list.rb
|
150
135
|
- lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb
|
151
136
|
- lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb
|
152
|
-
- lib/pulp_file_client/models/paginatedfile_file_filesystem_exporter_response_list.rb
|
153
137
|
- lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb
|
154
138
|
- lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb
|
155
139
|
- lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb
|
156
140
|
- lib/pulp_file_client/models/patchedfile_file_distribution.rb
|
157
|
-
- lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb
|
158
141
|
- lib/pulp_file_client/models/patchedfile_file_remote.rb
|
159
142
|
- lib/pulp_file_client/models/patchedfile_file_repository.rb
|
160
143
|
- lib/pulp_file_client/models/policy_enum.rb
|
161
|
-
- lib/pulp_file_client/models/publication_export.rb
|
162
144
|
- lib/pulp_file_client/models/repository_add_remove_content.rb
|
163
145
|
- lib/pulp_file_client/models/repository_sync_url.rb
|
164
146
|
- lib/pulp_file_client/models/repository_version.rb
|
@@ -167,8 +149,6 @@ files:
|
|
167
149
|
- pulp_file_client.gemspec
|
168
150
|
- spec/api/content_files_api_spec.rb
|
169
151
|
- spec/api/distributions_file_api_spec.rb
|
170
|
-
- spec/api/exporters_file_exports_api_spec.rb
|
171
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
172
152
|
- spec/api/publications_file_api_spec.rb
|
173
153
|
- spec/api/remotes_file_api_spec.rb
|
174
154
|
- spec/api/repositories_file_api_spec.rb
|
@@ -178,33 +158,26 @@ files:
|
|
178
158
|
- spec/models/async_operation_response_spec.rb
|
179
159
|
- spec/models/content_summary_response_spec.rb
|
180
160
|
- spec/models/content_summary_spec.rb
|
181
|
-
- spec/models/export_response_spec.rb
|
182
161
|
- spec/models/file_file_content_response_spec.rb
|
183
162
|
- spec/models/file_file_content_spec.rb
|
184
163
|
- spec/models/file_file_distribution_response_spec.rb
|
185
164
|
- spec/models/file_file_distribution_spec.rb
|
186
|
-
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
187
|
-
- spec/models/file_file_filesystem_exporter_spec.rb
|
188
165
|
- spec/models/file_file_publication_response_spec.rb
|
189
166
|
- spec/models/file_file_publication_spec.rb
|
190
167
|
- spec/models/file_file_remote_response_spec.rb
|
191
168
|
- spec/models/file_file_remote_spec.rb
|
192
169
|
- spec/models/file_file_repository_response_spec.rb
|
193
170
|
- spec/models/file_file_repository_spec.rb
|
194
|
-
- spec/models/paginated_export_response_list_spec.rb
|
195
171
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
196
172
|
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
197
173
|
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
198
|
-
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
199
174
|
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
200
175
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
201
176
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
202
177
|
- spec/models/patchedfile_file_distribution_spec.rb
|
203
|
-
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
204
178
|
- spec/models/patchedfile_file_remote_spec.rb
|
205
179
|
- spec/models/patchedfile_file_repository_spec.rb
|
206
180
|
- spec/models/policy_enum_spec.rb
|
207
|
-
- spec/models/publication_export_spec.rb
|
208
181
|
- spec/models/repository_add_remove_content_spec.rb
|
209
182
|
- spec/models/repository_sync_url_spec.rb
|
210
183
|
- spec/models/repository_version_response_spec.rb
|
@@ -234,48 +207,39 @@ signing_key:
|
|
234
207
|
specification_version: 4
|
235
208
|
summary: Pulp 3 API Ruby Gem
|
236
209
|
test_files:
|
237
|
-
- spec/api/
|
210
|
+
- spec/api/remotes_file_api_spec.rb
|
211
|
+
- spec/api/publications_file_api_spec.rb
|
238
212
|
- spec/api/repositories_file_versions_api_spec.rb
|
239
213
|
- spec/api/distributions_file_api_spec.rb
|
240
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
241
214
|
- spec/api/content_files_api_spec.rb
|
242
215
|
- spec/api/repositories_file_api_spec.rb
|
243
|
-
- spec/api/remotes_file_api_spec.rb
|
244
|
-
- spec/api/publications_file_api_spec.rb
|
245
216
|
- spec/api_client_spec.rb
|
246
217
|
- spec/configuration_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/
|
218
|
+
- spec/models/file_file_remote_response_spec.rb
|
219
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
249
220
|
- spec/models/repository_version_response_spec.rb
|
250
|
-
- spec/models/
|
251
|
-
- spec/models/
|
252
|
-
- spec/models/
|
221
|
+
- spec/models/file_file_content_response_spec.rb
|
222
|
+
- spec/models/policy_enum_spec.rb
|
223
|
+
- spec/models/file_file_distribution_spec.rb
|
224
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
225
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
253
226
|
- spec/models/file_file_publication_spec.rb
|
254
|
-
- spec/models/
|
255
|
-
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
256
|
-
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
227
|
+
- spec/models/file_file_distribution_response_spec.rb
|
257
228
|
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
258
|
-
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
259
229
|
- spec/models/patchedfile_file_repository_spec.rb
|
260
230
|
- spec/models/file_file_publication_response_spec.rb
|
261
|
-
- spec/models/
|
262
|
-
- spec/models/
|
263
|
-
- spec/models/
|
231
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
232
|
+
- spec/models/repository_add_remove_content_spec.rb
|
233
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
264
234
|
- spec/models/file_file_content_spec.rb
|
235
|
+
- spec/models/content_summary_response_spec.rb
|
265
236
|
- spec/models/repository_version_spec.rb
|
266
|
-
- spec/models/paginated_export_response_list_spec.rb
|
267
|
-
- spec/models/file_file_remote_response_spec.rb
|
268
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
269
|
-
- spec/models/policy_enum_spec.rb
|
270
|
-
- spec/models/file_file_distribution_response_spec.rb
|
271
237
|
- spec/models/patchedfile_file_distribution_spec.rb
|
272
|
-
- spec/models/
|
273
|
-
- spec/models/
|
274
|
-
- spec/models/
|
275
|
-
- spec/models/file_file_content_response_spec.rb
|
276
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
238
|
+
- spec/models/repository_sync_url_spec.rb
|
239
|
+
- spec/models/content_summary_spec.rb
|
240
|
+
- spec/models/file_file_repository_spec.rb
|
277
241
|
- spec/models/file_file_repository_response_spec.rb
|
278
|
-
- spec/models/file_file_filesystem_exporter_spec.rb
|
279
242
|
- spec/models/file_file_remote_spec.rb
|
280
|
-
- spec/models/
|
243
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
244
|
+
- spec/models/async_operation_response_spec.rb
|
281
245
|
- spec/spec_helper.rb
|
data/docs/ExportResponse.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# PulpFileClient::ExportResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
10
|
-
**exported_resources** | **Array<Object>** | Resources that were exported. | [optional] [readonly]
|
11
|
-
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
12
|
-
|
13
|
-
## Code Sample
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'PulpFileClient'
|
17
|
-
|
18
|
-
instance = PulpFileClient::ExportResponse.new(pulp_href: null,
|
19
|
-
pulp_created: null,
|
20
|
-
task: null,
|
21
|
-
exported_resources: null,
|
22
|
-
params: null)
|
23
|
-
```
|
24
|
-
|
25
|
-
|
@@ -1,243 +0,0 @@
|
|
1
|
-
# PulpFileClient::ExportersFileExportsApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**create**](ExportersFileExportsApi.md#create) | **POST** {file_file_filesystem_exporter_href}exports/ | Create an export
|
8
|
-
[**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
9
|
-
[**list**](ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
10
|
-
[**read**](ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
## create
|
15
|
-
|
16
|
-
> AsyncOperationResponse create(file_file_filesystem_exporter_href, publication_export)
|
17
|
-
|
18
|
-
Create an export
|
19
|
-
|
20
|
-
Trigger an asynchronous task to export a file publication.
|
21
|
-
|
22
|
-
### Example
|
23
|
-
|
24
|
-
```ruby
|
25
|
-
# load the gem
|
26
|
-
require 'pulp_file_client'
|
27
|
-
# setup authorization
|
28
|
-
PulpFileClient.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 = PulpFileClient::ExportersFileExportsApi.new
|
35
|
-
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
36
|
-
publication_export = PulpFileClient::PublicationExport.new # PublicationExport |
|
37
|
-
|
38
|
-
begin
|
39
|
-
#Create an export
|
40
|
-
result = api_instance.create(file_file_filesystem_exporter_href, publication_export)
|
41
|
-
p result
|
42
|
-
rescue PulpFileClient::ApiError => e
|
43
|
-
puts "Exception when calling ExportersFileExportsApi->create: #{e}"
|
44
|
-
end
|
45
|
-
```
|
46
|
-
|
47
|
-
### Parameters
|
48
|
-
|
49
|
-
|
50
|
-
Name | Type | Description | Notes
|
51
|
-
------------- | ------------- | ------------- | -------------
|
52
|
-
**file_file_filesystem_exporter_href** | **String**| |
|
53
|
-
**publication_export** | [**PublicationExport**](PublicationExport.md)| |
|
54
|
-
|
55
|
-
### Return type
|
56
|
-
|
57
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.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(file_filesystem_export_href)
|
72
|
-
|
73
|
-
Delete an export
|
74
|
-
|
75
|
-
FilesystemExports provide a history of previous exports.
|
76
|
-
|
77
|
-
### Example
|
78
|
-
|
79
|
-
```ruby
|
80
|
-
# load the gem
|
81
|
-
require 'pulp_file_client'
|
82
|
-
# setup authorization
|
83
|
-
PulpFileClient.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 = PulpFileClient::ExportersFileExportsApi.new
|
90
|
-
file_filesystem_export_href = 'file_filesystem_export_href_example' # String |
|
91
|
-
|
92
|
-
begin
|
93
|
-
#Delete an export
|
94
|
-
api_instance.delete(file_filesystem_export_href)
|
95
|
-
rescue PulpFileClient::ApiError => e
|
96
|
-
puts "Exception when calling ExportersFileExportsApi->delete: #{e}"
|
97
|
-
end
|
98
|
-
```
|
99
|
-
|
100
|
-
### Parameters
|
101
|
-
|
102
|
-
|
103
|
-
Name | Type | Description | Notes
|
104
|
-
------------- | ------------- | ------------- | -------------
|
105
|
-
**file_filesystem_export_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
|
-
> PaginatedExportResponseList list(file_file_filesystem_exporter_href, opts)
|
124
|
-
|
125
|
-
List exports
|
126
|
-
|
127
|
-
FilesystemExports provide a history of previous exports.
|
128
|
-
|
129
|
-
### Example
|
130
|
-
|
131
|
-
```ruby
|
132
|
-
# load the gem
|
133
|
-
require 'pulp_file_client'
|
134
|
-
# setup authorization
|
135
|
-
PulpFileClient.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 = PulpFileClient::ExportersFileExportsApi.new
|
142
|
-
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_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
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
147
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
148
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
149
|
-
}
|
150
|
-
|
151
|
-
begin
|
152
|
-
#List exports
|
153
|
-
result = api_instance.list(file_file_filesystem_exporter_href, opts)
|
154
|
-
p result
|
155
|
-
rescue PulpFileClient::ApiError => e
|
156
|
-
puts "Exception when calling ExportersFileExportsApi->list: #{e}"
|
157
|
-
end
|
158
|
-
```
|
159
|
-
|
160
|
-
### Parameters
|
161
|
-
|
162
|
-
|
163
|
-
Name | Type | Description | Notes
|
164
|
-
------------- | ------------- | ------------- | -------------
|
165
|
-
**file_file_filesystem_exporter_href** | **String**| |
|
166
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
168
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
169
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
170
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
171
|
-
|
172
|
-
### Return type
|
173
|
-
|
174
|
-
[**PaginatedExportResponseList**](PaginatedExportResponseList.md)
|
175
|
-
|
176
|
-
### Authorization
|
177
|
-
|
178
|
-
[basicAuth](../README.md#basicAuth)
|
179
|
-
|
180
|
-
### HTTP request headers
|
181
|
-
|
182
|
-
- **Content-Type**: Not defined
|
183
|
-
- **Accept**: application/json
|
184
|
-
|
185
|
-
|
186
|
-
## read
|
187
|
-
|
188
|
-
> ExportResponse read(file_filesystem_export_href, opts)
|
189
|
-
|
190
|
-
Inspect an export
|
191
|
-
|
192
|
-
FilesystemExports provide a history of previous exports.
|
193
|
-
|
194
|
-
### Example
|
195
|
-
|
196
|
-
```ruby
|
197
|
-
# load the gem
|
198
|
-
require 'pulp_file_client'
|
199
|
-
# setup authorization
|
200
|
-
PulpFileClient.configure do |config|
|
201
|
-
# Configure HTTP basic authorization: basicAuth
|
202
|
-
config.username = 'YOUR USERNAME'
|
203
|
-
config.password = 'YOUR PASSWORD'
|
204
|
-
end
|
205
|
-
|
206
|
-
api_instance = PulpFileClient::ExportersFileExportsApi.new
|
207
|
-
file_filesystem_export_href = 'file_filesystem_export_href_example' # String |
|
208
|
-
opts = {
|
209
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
210
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
211
|
-
}
|
212
|
-
|
213
|
-
begin
|
214
|
-
#Inspect an export
|
215
|
-
result = api_instance.read(file_filesystem_export_href, opts)
|
216
|
-
p result
|
217
|
-
rescue PulpFileClient::ApiError => e
|
218
|
-
puts "Exception when calling ExportersFileExportsApi->read: #{e}"
|
219
|
-
end
|
220
|
-
```
|
221
|
-
|
222
|
-
### Parameters
|
223
|
-
|
224
|
-
|
225
|
-
Name | Type | Description | Notes
|
226
|
-
------------- | ------------- | ------------- | -------------
|
227
|
-
**file_filesystem_export_href** | **String**| |
|
228
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
229
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
230
|
-
|
231
|
-
### Return type
|
232
|
-
|
233
|
-
[**ExportResponse**](ExportResponse.md)
|
234
|
-
|
235
|
-
### Authorization
|
236
|
-
|
237
|
-
[basicAuth](../README.md#basicAuth)
|
238
|
-
|
239
|
-
### HTTP request headers
|
240
|
-
|
241
|
-
- **Content-Type**: Not defined
|
242
|
-
- **Accept**: application/json
|
243
|
-
|