pulpcore_client 3.49.57 → 3.50.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 +5 -6
- data/docs/AccessPoliciesApi.md +7 -23
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +3 -13
- data/docs/ContentApi.md +1 -3
- data/docs/ContentguardsApi.md +1 -3
- data/docs/ContentguardsCompositeApi.md +13 -45
- data/docs/ContentguardsContentRedirectApi.md +13 -45
- data/docs/ContentguardsHeaderApi.md +13 -45
- data/docs/ContentguardsRbacApi.md +13 -45
- data/docs/DistributionsApi.md +1 -3
- data/docs/DistributionsArtifactsApi.md +1 -5
- data/docs/Domain.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/DomainsApi.md +9 -29
- data/docs/ExportersFilesystemApi.md +9 -29
- data/docs/ExportersFilesystemExportsApi.md +5 -17
- data/docs/ExportersPulpApi.md +9 -29
- data/docs/ExportersPulpExportsApi.md +5 -17
- data/docs/GroupsApi.md +13 -45
- data/docs/GroupsRolesApi.md +5 -17
- data/docs/GroupsUsersApi.md +5 -15
- data/docs/ImportersPulpApi.md +9 -29
- data/docs/ImportersPulpImportCheckApi.md +3 -7
- data/docs/ImportersPulpImportsApi.md +5 -17
- data/docs/OrphansApi.md +4 -10
- data/docs/OrphansCleanupApi.md +3 -7
- data/docs/PatchedDomain.md +1 -1
- data/docs/PublicationsApi.md +1 -3
- data/docs/RemotesApi.md +1 -3
- data/docs/RepairApi.md +3 -7
- data/docs/RepositoriesApi.md +1 -3
- data/docs/RepositoriesReclaimSpaceApi.md +3 -7
- data/docs/RepositoryVersionsApi.md +1 -3
- data/docs/RolesApi.md +9 -29
- data/docs/SigningServicesApi.md +1 -5
- data/docs/StatusApi.md +4 -14
- data/docs/TaskGroupsApi.md +1 -5
- data/docs/TaskSchedulesApi.md +5 -21
- data/docs/TasksApi.md +13 -41
- data/docs/UploadsApi.md +11 -41
- data/docs/UpstreamPulpsApi.md +15 -51
- data/docs/UsersApi.md +9 -29
- data/docs/UsersRolesApi.md +5 -17
- data/docs/WorkersApi.md +1 -5
- data/lib/pulpcore_client/api/access_policies_api.rb +0 -15
- data/lib/pulpcore_client/api/artifacts_api.rb +0 -12
- data/lib/pulpcore_client/api/content_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_header_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +0 -30
- data/lib/pulpcore_client/api/distributions_api.rb +0 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +0 -6
- data/lib/pulpcore_client/api/domains_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_api.rb +0 -30
- data/lib/pulpcore_client/api/groups_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -9
- data/lib/pulpcore_client/api/importers_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -12
- data/lib/pulpcore_client/api/orphans_api.rb +0 -3
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +0 -3
- data/lib/pulpcore_client/api/remotes_api.rb +0 -3
- data/lib/pulpcore_client/api/repair_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +0 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +0 -3
- data/lib/pulpcore_client/api/roles_api.rb +0 -18
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -6
- data/lib/pulpcore_client/api/status_api.rb +0 -9
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -6
- data/lib/pulpcore_client/api/task_schedules_api.rb +0 -18
- data/lib/pulpcore_client/api/tasks_api.rb +2 -29
- data/lib/pulpcore_client/api/uploads_api.rb +0 -30
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +0 -33
- data/lib/pulpcore_client/api/users_api.rb +0 -18
- data/lib/pulpcore_client/api/users_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/workers_api.rb +0 -6
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +0 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +0 -5
- data/spec/api/artifacts_api_spec.rb +0 -4
- data/spec/api/content_api_spec.rb +0 -1
- data/spec/api/contentguards_api_spec.rb +0 -1
- data/spec/api/contentguards_composite_api_spec.rb +0 -10
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -10
- data/spec/api/contentguards_header_api_spec.rb +0 -10
- data/spec/api/contentguards_rbac_api_spec.rb +0 -10
- data/spec/api/distributions_api_spec.rb +0 -1
- data/spec/api/distributions_artifacts_api_spec.rb +0 -2
- data/spec/api/domains_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -4
- data/spec/api/exporters_pulp_api_spec.rb +0 -6
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -4
- data/spec/api/groups_api_spec.rb +0 -10
- data/spec/api/groups_roles_api_spec.rb +0 -4
- data/spec/api/groups_users_api_spec.rb +0 -3
- data/spec/api/importers_pulp_api_spec.rb +0 -6
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -4
- data/spec/api/orphans_api_spec.rb +0 -1
- data/spec/api/orphans_cleanup_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +0 -1
- data/spec/api/remotes_api_spec.rb +0 -1
- data/spec/api/repair_api_spec.rb +0 -1
- data/spec/api/repositories_api_spec.rb +0 -1
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -1
- data/spec/api/repository_versions_api_spec.rb +0 -1
- data/spec/api/roles_api_spec.rb +0 -6
- data/spec/api/signing_services_api_spec.rb +0 -2
- data/spec/api/status_api_spec.rb +0 -3
- data/spec/api/task_groups_api_spec.rb +0 -2
- data/spec/api/task_schedules_api_spec.rb +0 -6
- data/spec/api/tasks_api_spec.rb +1 -10
- data/spec/api/uploads_api_spec.rb +0 -10
- data/spec/api/upstream_pulps_api_spec.rb +0 -11
- data/spec/api/users_api_spec.rb +0 -6
- data/spec/api/users_roles_api_spec.rb +0 -4
- data/spec/api/workers_api_spec.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- metadata +169 -169
data/docs/TasksApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::TasksApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -18,7 +18,7 @@ Method | HTTP request | Description
|
|
|
18
18
|
|
|
19
19
|
## add_role
|
|
20
20
|
|
|
21
|
-
> NestedRoleResponse add_role(task_href, nested_role
|
|
21
|
+
> NestedRoleResponse add_role(task_href, nested_role)
|
|
22
22
|
|
|
23
23
|
Add a role
|
|
24
24
|
|
|
@@ -39,13 +39,10 @@ end
|
|
|
39
39
|
api_instance = PulpcoreClient::TasksApi.new
|
|
40
40
|
task_href = 'task_href_example' # String |
|
|
41
41
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
42
|
-
opts = {
|
|
43
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
44
|
-
}
|
|
45
42
|
|
|
46
43
|
begin
|
|
47
44
|
#Add a role
|
|
48
|
-
result = api_instance.add_role(task_href, nested_role
|
|
45
|
+
result = api_instance.add_role(task_href, nested_role)
|
|
49
46
|
p result
|
|
50
47
|
rescue PulpcoreClient::ApiError => e
|
|
51
48
|
puts "Exception when calling TasksApi->add_role: #{e}"
|
|
@@ -59,7 +56,6 @@ Name | Type | Description | Notes
|
|
|
59
56
|
------------- | ------------- | ------------- | -------------
|
|
60
57
|
**task_href** | **String**| |
|
|
61
58
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
62
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
63
59
|
|
|
64
60
|
### Return type
|
|
65
61
|
|
|
@@ -77,7 +73,7 @@ Name | Type | Description | Notes
|
|
|
77
73
|
|
|
78
74
|
## delete
|
|
79
75
|
|
|
80
|
-
> delete(task_href
|
|
76
|
+
> delete(task_href)
|
|
81
77
|
|
|
82
78
|
Delete a task
|
|
83
79
|
|
|
@@ -97,13 +93,10 @@ end
|
|
|
97
93
|
|
|
98
94
|
api_instance = PulpcoreClient::TasksApi.new
|
|
99
95
|
task_href = 'task_href_example' # String |
|
|
100
|
-
opts = {
|
|
101
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
102
|
-
}
|
|
103
96
|
|
|
104
97
|
begin
|
|
105
98
|
#Delete a task
|
|
106
|
-
api_instance.delete(task_href
|
|
99
|
+
api_instance.delete(task_href)
|
|
107
100
|
rescue PulpcoreClient::ApiError => e
|
|
108
101
|
puts "Exception when calling TasksApi->delete: #{e}"
|
|
109
102
|
end
|
|
@@ -115,7 +108,6 @@ end
|
|
|
115
108
|
Name | Type | Description | Notes
|
|
116
109
|
------------- | ------------- | ------------- | -------------
|
|
117
110
|
**task_href** | **String**| |
|
|
118
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
119
111
|
|
|
120
112
|
### Return type
|
|
121
113
|
|
|
@@ -153,7 +145,6 @@ end
|
|
|
153
145
|
|
|
154
146
|
api_instance = PulpcoreClient::TasksApi.new
|
|
155
147
|
opts = {
|
|
156
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
157
148
|
child_tasks: 'child_tasks_example', # String | Filter results where child_tasks matches value
|
|
158
149
|
created_resources: 'created_resources_example', # String |
|
|
159
150
|
exclusive_resources: 'exclusive_resources_example', # String |
|
|
@@ -179,7 +170,7 @@ opts = {
|
|
|
179
170
|
q: 'q_example', # String |
|
|
180
171
|
reserved_resources: 'reserved_resources_example', # String |
|
|
181
172
|
reserved_resources__in: ['reserved_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
182
|
-
reserved_resources_record: ['reserved_resources_record_example'], # Array<String> |
|
|
173
|
+
reserved_resources_record: ['reserved_resources_record_example'], # Array<String> | Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
|
|
183
174
|
shared_resources: 'shared_resources_example', # String |
|
|
184
175
|
shared_resources__in: ['shared_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
185
176
|
started_at: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where started_at matches value
|
|
@@ -213,7 +204,6 @@ end
|
|
|
213
204
|
|
|
214
205
|
Name | Type | Description | Notes
|
|
215
206
|
------------- | ------------- | ------------- | -------------
|
|
216
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
217
207
|
**child_tasks** | [**String**](.md)| Filter results where child_tasks matches value | [optional]
|
|
218
208
|
**created_resources** | [**String**](.md)| | [optional]
|
|
219
209
|
**exclusive_resources** | **String**| | [optional]
|
|
@@ -239,7 +229,7 @@ Name | Type | Description | Notes
|
|
|
239
229
|
**q** | **String**| | [optional]
|
|
240
230
|
**reserved_resources** | **String**| | [optional]
|
|
241
231
|
**reserved_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
242
|
-
**reserved_resources_record** | [**Array<String>**](String.md)|
|
|
232
|
+
**reserved_resources_record** | [**Array<String>**](String.md)| Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead. | [optional]
|
|
243
233
|
**shared_resources** | **String**| | [optional]
|
|
244
234
|
**shared_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
245
235
|
**started_at** | **DateTime**| Filter results where started_at matches value | [optional]
|
|
@@ -295,7 +285,6 @@ end
|
|
|
295
285
|
api_instance = PulpcoreClient::TasksApi.new
|
|
296
286
|
task_href = 'task_href_example' # String |
|
|
297
287
|
opts = {
|
|
298
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
299
288
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
300
289
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
301
290
|
}
|
|
@@ -315,7 +304,6 @@ end
|
|
|
315
304
|
Name | Type | Description | Notes
|
|
316
305
|
------------- | ------------- | ------------- | -------------
|
|
317
306
|
**task_href** | **String**| |
|
|
318
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
319
307
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
320
308
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
321
309
|
|
|
@@ -356,7 +344,6 @@ end
|
|
|
356
344
|
api_instance = PulpcoreClient::TasksApi.new
|
|
357
345
|
task_href = 'task_href_example' # String |
|
|
358
346
|
opts = {
|
|
359
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
360
347
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
361
348
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
362
349
|
}
|
|
@@ -376,7 +363,6 @@ end
|
|
|
376
363
|
Name | Type | Description | Notes
|
|
377
364
|
------------- | ------------- | ------------- | -------------
|
|
378
365
|
**task_href** | **String**| |
|
|
379
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
380
366
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
381
367
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
382
368
|
|
|
@@ -396,7 +382,7 @@ Name | Type | Description | Notes
|
|
|
396
382
|
|
|
397
383
|
## purge
|
|
398
384
|
|
|
399
|
-
> AsyncOperationResponse purge(purge
|
|
385
|
+
> AsyncOperationResponse purge(purge)
|
|
400
386
|
|
|
401
387
|
Purge Completed Tasks
|
|
402
388
|
|
|
@@ -416,13 +402,10 @@ end
|
|
|
416
402
|
|
|
417
403
|
api_instance = PulpcoreClient::TasksApi.new
|
|
418
404
|
purge = PulpcoreClient::Purge.new # Purge |
|
|
419
|
-
opts = {
|
|
420
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
421
|
-
}
|
|
422
405
|
|
|
423
406
|
begin
|
|
424
407
|
#Purge Completed Tasks
|
|
425
|
-
result = api_instance.purge(purge
|
|
408
|
+
result = api_instance.purge(purge)
|
|
426
409
|
p result
|
|
427
410
|
rescue PulpcoreClient::ApiError => e
|
|
428
411
|
puts "Exception when calling TasksApi->purge: #{e}"
|
|
@@ -435,7 +418,6 @@ end
|
|
|
435
418
|
Name | Type | Description | Notes
|
|
436
419
|
------------- | ------------- | ------------- | -------------
|
|
437
420
|
**purge** | [**Purge**](Purge.md)| |
|
|
438
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
439
421
|
|
|
440
422
|
### Return type
|
|
441
423
|
|
|
@@ -474,7 +456,6 @@ end
|
|
|
474
456
|
api_instance = PulpcoreClient::TasksApi.new
|
|
475
457
|
task_href = 'task_href_example' # String |
|
|
476
458
|
opts = {
|
|
477
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
478
459
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
479
460
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
480
461
|
}
|
|
@@ -494,7 +475,6 @@ end
|
|
|
494
475
|
Name | Type | Description | Notes
|
|
495
476
|
------------- | ------------- | ------------- | -------------
|
|
496
477
|
**task_href** | **String**| |
|
|
497
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
498
478
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
499
479
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
500
480
|
|
|
@@ -514,7 +494,7 @@ Name | Type | Description | Notes
|
|
|
514
494
|
|
|
515
495
|
## remove_role
|
|
516
496
|
|
|
517
|
-
> NestedRoleResponse remove_role(task_href, nested_role
|
|
497
|
+
> NestedRoleResponse remove_role(task_href, nested_role)
|
|
518
498
|
|
|
519
499
|
Remove a role
|
|
520
500
|
|
|
@@ -535,13 +515,10 @@ end
|
|
|
535
515
|
api_instance = PulpcoreClient::TasksApi.new
|
|
536
516
|
task_href = 'task_href_example' # String |
|
|
537
517
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
538
|
-
opts = {
|
|
539
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
540
|
-
}
|
|
541
518
|
|
|
542
519
|
begin
|
|
543
520
|
#Remove a role
|
|
544
|
-
result = api_instance.remove_role(task_href, nested_role
|
|
521
|
+
result = api_instance.remove_role(task_href, nested_role)
|
|
545
522
|
p result
|
|
546
523
|
rescue PulpcoreClient::ApiError => e
|
|
547
524
|
puts "Exception when calling TasksApi->remove_role: #{e}"
|
|
@@ -555,7 +532,6 @@ Name | Type | Description | Notes
|
|
|
555
532
|
------------- | ------------- | ------------- | -------------
|
|
556
533
|
**task_href** | **String**| |
|
|
557
534
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
558
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
559
535
|
|
|
560
536
|
### Return type
|
|
561
537
|
|
|
@@ -573,7 +549,7 @@ Name | Type | Description | Notes
|
|
|
573
549
|
|
|
574
550
|
## tasks_cancel
|
|
575
551
|
|
|
576
|
-
> TaskResponse tasks_cancel(task_href, patched_task_cancel
|
|
552
|
+
> TaskResponse tasks_cancel(task_href, patched_task_cancel)
|
|
577
553
|
|
|
578
554
|
Cancel a task
|
|
579
555
|
|
|
@@ -594,13 +570,10 @@ end
|
|
|
594
570
|
api_instance = PulpcoreClient::TasksApi.new
|
|
595
571
|
task_href = 'task_href_example' # String |
|
|
596
572
|
patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
|
|
597
|
-
opts = {
|
|
598
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
599
|
-
}
|
|
600
573
|
|
|
601
574
|
begin
|
|
602
575
|
#Cancel a task
|
|
603
|
-
result = api_instance.tasks_cancel(task_href, patched_task_cancel
|
|
576
|
+
result = api_instance.tasks_cancel(task_href, patched_task_cancel)
|
|
604
577
|
p result
|
|
605
578
|
rescue PulpcoreClient::ApiError => e
|
|
606
579
|
puts "Exception when calling TasksApi->tasks_cancel: #{e}"
|
|
@@ -614,7 +587,6 @@ Name | Type | Description | Notes
|
|
|
614
587
|
------------- | ------------- | ------------- | -------------
|
|
615
588
|
**task_href** | **String**| |
|
|
616
589
|
**patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md)| |
|
|
617
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
618
590
|
|
|
619
591
|
### Return type
|
|
620
592
|
|
data/docs/UploadsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::UploadsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
|
19
19
|
|
|
20
20
|
## add_role
|
|
21
21
|
|
|
22
|
-
> NestedRoleResponse add_role(upload_href, upload
|
|
22
|
+
> NestedRoleResponse add_role(upload_href, upload)
|
|
23
23
|
|
|
24
24
|
Add a role
|
|
25
25
|
|
|
@@ -40,13 +40,10 @@ end
|
|
|
40
40
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
41
41
|
upload_href = 'upload_href_example' # String |
|
|
42
42
|
upload = PulpcoreClient::Upload.new # Upload |
|
|
43
|
-
opts = {
|
|
44
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
45
|
-
}
|
|
46
43
|
|
|
47
44
|
begin
|
|
48
45
|
#Add a role
|
|
49
|
-
result = api_instance.add_role(upload_href, upload
|
|
46
|
+
result = api_instance.add_role(upload_href, upload)
|
|
50
47
|
p result
|
|
51
48
|
rescue PulpcoreClient::ApiError => e
|
|
52
49
|
puts "Exception when calling UploadsApi->add_role: #{e}"
|
|
@@ -60,7 +57,6 @@ Name | Type | Description | Notes
|
|
|
60
57
|
------------- | ------------- | ------------- | -------------
|
|
61
58
|
**upload_href** | **String**| |
|
|
62
59
|
**upload** | [**Upload**](Upload.md)| |
|
|
63
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
64
60
|
|
|
65
61
|
### Return type
|
|
66
62
|
|
|
@@ -78,7 +74,7 @@ Name | Type | Description | Notes
|
|
|
78
74
|
|
|
79
75
|
## commit
|
|
80
76
|
|
|
81
|
-
> AsyncOperationResponse commit(upload_href, upload_commit
|
|
77
|
+
> AsyncOperationResponse commit(upload_href, upload_commit)
|
|
82
78
|
|
|
83
79
|
Finish an Upload
|
|
84
80
|
|
|
@@ -99,13 +95,10 @@ end
|
|
|
99
95
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
100
96
|
upload_href = 'upload_href_example' # String |
|
|
101
97
|
upload_commit = PulpcoreClient::UploadCommit.new # UploadCommit |
|
|
102
|
-
opts = {
|
|
103
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
104
|
-
}
|
|
105
98
|
|
|
106
99
|
begin
|
|
107
100
|
#Finish an Upload
|
|
108
|
-
result = api_instance.commit(upload_href, upload_commit
|
|
101
|
+
result = api_instance.commit(upload_href, upload_commit)
|
|
109
102
|
p result
|
|
110
103
|
rescue PulpcoreClient::ApiError => e
|
|
111
104
|
puts "Exception when calling UploadsApi->commit: #{e}"
|
|
@@ -119,7 +112,6 @@ Name | Type | Description | Notes
|
|
|
119
112
|
------------- | ------------- | ------------- | -------------
|
|
120
113
|
**upload_href** | **String**| |
|
|
121
114
|
**upload_commit** | [**UploadCommit**](UploadCommit.md)| |
|
|
122
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
123
115
|
|
|
124
116
|
### Return type
|
|
125
117
|
|
|
@@ -137,7 +129,7 @@ Name | Type | Description | Notes
|
|
|
137
129
|
|
|
138
130
|
## create
|
|
139
131
|
|
|
140
|
-
> UploadResponse create(upload
|
|
132
|
+
> UploadResponse create(upload)
|
|
141
133
|
|
|
142
134
|
Create an upload
|
|
143
135
|
|
|
@@ -157,13 +149,10 @@ end
|
|
|
157
149
|
|
|
158
150
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
159
151
|
upload = PulpcoreClient::Upload.new # Upload |
|
|
160
|
-
opts = {
|
|
161
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
162
|
-
}
|
|
163
152
|
|
|
164
153
|
begin
|
|
165
154
|
#Create an upload
|
|
166
|
-
result = api_instance.create(upload
|
|
155
|
+
result = api_instance.create(upload)
|
|
167
156
|
p result
|
|
168
157
|
rescue PulpcoreClient::ApiError => e
|
|
169
158
|
puts "Exception when calling UploadsApi->create: #{e}"
|
|
@@ -176,7 +165,6 @@ end
|
|
|
176
165
|
Name | Type | Description | Notes
|
|
177
166
|
------------- | ------------- | ------------- | -------------
|
|
178
167
|
**upload** | [**Upload**](Upload.md)| |
|
|
179
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
180
168
|
|
|
181
169
|
### Return type
|
|
182
170
|
|
|
@@ -194,7 +182,7 @@ Name | Type | Description | Notes
|
|
|
194
182
|
|
|
195
183
|
## delete
|
|
196
184
|
|
|
197
|
-
> delete(upload_href
|
|
185
|
+
> delete(upload_href)
|
|
198
186
|
|
|
199
187
|
Delete an upload
|
|
200
188
|
|
|
@@ -214,13 +202,10 @@ end
|
|
|
214
202
|
|
|
215
203
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
216
204
|
upload_href = 'upload_href_example' # String |
|
|
217
|
-
opts = {
|
|
218
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
219
|
-
}
|
|
220
205
|
|
|
221
206
|
begin
|
|
222
207
|
#Delete an upload
|
|
223
|
-
api_instance.delete(upload_href
|
|
208
|
+
api_instance.delete(upload_href)
|
|
224
209
|
rescue PulpcoreClient::ApiError => e
|
|
225
210
|
puts "Exception when calling UploadsApi->delete: #{e}"
|
|
226
211
|
end
|
|
@@ -232,7 +217,6 @@ end
|
|
|
232
217
|
Name | Type | Description | Notes
|
|
233
218
|
------------- | ------------- | ------------- | -------------
|
|
234
219
|
**upload_href** | **String**| |
|
|
235
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
236
220
|
|
|
237
221
|
### Return type
|
|
238
222
|
|
|
@@ -270,7 +254,6 @@ end
|
|
|
270
254
|
|
|
271
255
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
272
256
|
opts = {
|
|
273
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
274
257
|
limit: 56, # Integer | Number of results to return per page.
|
|
275
258
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
276
259
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -299,7 +282,6 @@ end
|
|
|
299
282
|
|
|
300
283
|
Name | Type | Description | Notes
|
|
301
284
|
------------- | ------------- | ------------- | -------------
|
|
302
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
303
285
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
304
286
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
305
287
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
@@ -350,7 +332,6 @@ end
|
|
|
350
332
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
351
333
|
upload_href = 'upload_href_example' # String |
|
|
352
334
|
opts = {
|
|
353
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
354
335
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
355
336
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
356
337
|
}
|
|
@@ -370,7 +351,6 @@ end
|
|
|
370
351
|
Name | Type | Description | Notes
|
|
371
352
|
------------- | ------------- | ------------- | -------------
|
|
372
353
|
**upload_href** | **String**| |
|
|
373
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
374
354
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
375
355
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
376
356
|
|
|
@@ -411,7 +391,6 @@ end
|
|
|
411
391
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
412
392
|
upload_href = 'upload_href_example' # String |
|
|
413
393
|
opts = {
|
|
414
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
415
394
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
416
395
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
417
396
|
}
|
|
@@ -431,7 +410,6 @@ end
|
|
|
431
410
|
Name | Type | Description | Notes
|
|
432
411
|
------------- | ------------- | ------------- | -------------
|
|
433
412
|
**upload_href** | **String**| |
|
|
434
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
435
413
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
436
414
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
437
415
|
|
|
@@ -472,7 +450,6 @@ end
|
|
|
472
450
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
473
451
|
upload_href = 'upload_href_example' # String |
|
|
474
452
|
opts = {
|
|
475
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
476
453
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
477
454
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
478
455
|
}
|
|
@@ -492,7 +469,6 @@ end
|
|
|
492
469
|
Name | Type | Description | Notes
|
|
493
470
|
------------- | ------------- | ------------- | -------------
|
|
494
471
|
**upload_href** | **String**| |
|
|
495
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
496
472
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
497
473
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
498
474
|
|
|
@@ -512,7 +488,7 @@ Name | Type | Description | Notes
|
|
|
512
488
|
|
|
513
489
|
## remove_role
|
|
514
490
|
|
|
515
|
-
> NestedRoleResponse remove_role(upload_href, upload
|
|
491
|
+
> NestedRoleResponse remove_role(upload_href, upload)
|
|
516
492
|
|
|
517
493
|
Remove a role
|
|
518
494
|
|
|
@@ -533,13 +509,10 @@ end
|
|
|
533
509
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
534
510
|
upload_href = 'upload_href_example' # String |
|
|
535
511
|
upload = PulpcoreClient::Upload.new # Upload |
|
|
536
|
-
opts = {
|
|
537
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
538
|
-
}
|
|
539
512
|
|
|
540
513
|
begin
|
|
541
514
|
#Remove a role
|
|
542
|
-
result = api_instance.remove_role(upload_href, upload
|
|
515
|
+
result = api_instance.remove_role(upload_href, upload)
|
|
543
516
|
p result
|
|
544
517
|
rescue PulpcoreClient::ApiError => e
|
|
545
518
|
puts "Exception when calling UploadsApi->remove_role: #{e}"
|
|
@@ -553,7 +526,6 @@ Name | Type | Description | Notes
|
|
|
553
526
|
------------- | ------------- | ------------- | -------------
|
|
554
527
|
**upload_href** | **String**| |
|
|
555
528
|
**upload** | [**Upload**](Upload.md)| |
|
|
556
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
557
529
|
|
|
558
530
|
### Return type
|
|
559
531
|
|
|
@@ -594,7 +566,6 @@ content_range = 'content_range_example' # String | The Content-Range header spec
|
|
|
594
566
|
upload_href = 'upload_href_example' # String |
|
|
595
567
|
file = File.new('/path/to/file') # File | A chunk of the uploaded file.
|
|
596
568
|
opts = {
|
|
597
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
598
569
|
sha256: 'sha256_example' # String | The SHA-256 checksum of the chunk if available.
|
|
599
570
|
}
|
|
600
571
|
|
|
@@ -615,7 +586,6 @@ Name | Type | Description | Notes
|
|
|
615
586
|
**content_range** | **String**| The Content-Range header specifies the location of the file chunk within the file. |
|
|
616
587
|
**upload_href** | **String**| |
|
|
617
588
|
**file** | **File**| A chunk of the uploaded file. |
|
|
618
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
619
589
|
**sha256** | **String**| The SHA-256 checksum of the chunk if available. | [optional]
|
|
620
590
|
|
|
621
591
|
### Return type
|