pulpcore_client 3.21.32 → 3.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/UploadsApi.md
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpcoreClient::UploadsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
7
|
+
[**add_role**](UploadsApi.md#add_role) | **POST** {upload_href}add_role/ |
|
8
|
+
[**commit**](UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload
|
9
|
+
[**create**](UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
|
10
|
+
[**delete**](UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
|
11
|
+
[**list**](UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
|
12
|
+
[**list_roles**](UploadsApi.md#list_roles) | **GET** {upload_href}list_roles/ |
|
13
|
+
[**my_permissions**](UploadsApi.md#my_permissions) | **GET** {upload_href}my_permissions/ |
|
14
|
+
[**read**](UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
|
15
|
+
[**remove_role**](UploadsApi.md#remove_role) | **POST** {upload_href}remove_role/ |
|
16
|
+
[**update**](UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
##
|
20
|
+
## add_role
|
21
21
|
|
22
|
-
> NestedRoleResponse
|
22
|
+
> NestedRoleResponse add_role(upload_href, upload)
|
23
23
|
|
24
24
|
|
25
25
|
|
@@ -42,10 +42,10 @@ upload_href = 'upload_href_example' # String |
|
|
42
42
|
upload = PulpcoreClient::Upload.new # Upload |
|
43
43
|
|
44
44
|
begin
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.add_role(upload_href, upload)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling UploadsApi->
|
48
|
+
puts "Exception when calling UploadsApi->add_role: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
|
|
71
71
|
- **Accept**: application/json
|
72
72
|
|
73
73
|
|
74
|
-
##
|
74
|
+
## commit
|
75
75
|
|
76
|
-
> AsyncOperationResponse
|
76
|
+
> AsyncOperationResponse commit(upload_href, upload_commit)
|
77
77
|
|
78
78
|
Finish an Upload
|
79
79
|
|
@@ -97,10 +97,10 @@ upload_commit = PulpcoreClient::UploadCommit.new # UploadCommit |
|
|
97
97
|
|
98
98
|
begin
|
99
99
|
#Finish an Upload
|
100
|
-
result = api_instance.
|
100
|
+
result = api_instance.commit(upload_href, upload_commit)
|
101
101
|
p result
|
102
102
|
rescue PulpcoreClient::ApiError => e
|
103
|
-
puts "Exception when calling UploadsApi->
|
103
|
+
puts "Exception when calling UploadsApi->commit: #{e}"
|
104
104
|
end
|
105
105
|
```
|
106
106
|
|
@@ -126,9 +126,9 @@ Name | Type | Description | Notes
|
|
126
126
|
- **Accept**: application/json
|
127
127
|
|
128
128
|
|
129
|
-
##
|
129
|
+
## create
|
130
130
|
|
131
|
-
> UploadResponse
|
131
|
+
> UploadResponse create(upload)
|
132
132
|
|
133
133
|
Create an upload
|
134
134
|
|
@@ -151,10 +151,10 @@ upload = PulpcoreClient::Upload.new # Upload |
|
|
151
151
|
|
152
152
|
begin
|
153
153
|
#Create an upload
|
154
|
-
result = api_instance.
|
154
|
+
result = api_instance.create(upload)
|
155
155
|
p result
|
156
156
|
rescue PulpcoreClient::ApiError => e
|
157
|
-
puts "Exception when calling UploadsApi->
|
157
|
+
puts "Exception when calling UploadsApi->create: #{e}"
|
158
158
|
end
|
159
159
|
```
|
160
160
|
|
@@ -179,9 +179,9 @@ Name | Type | Description | Notes
|
|
179
179
|
- **Accept**: application/json
|
180
180
|
|
181
181
|
|
182
|
-
##
|
182
|
+
## delete
|
183
183
|
|
184
|
-
>
|
184
|
+
> delete(upload_href)
|
185
185
|
|
186
186
|
Delete an upload
|
187
187
|
|
@@ -204,9 +204,9 @@ upload_href = 'upload_href_example' # String |
|
|
204
204
|
|
205
205
|
begin
|
206
206
|
#Delete an upload
|
207
|
-
api_instance.
|
207
|
+
api_instance.delete(upload_href)
|
208
208
|
rescue PulpcoreClient::ApiError => e
|
209
|
-
puts "Exception when calling UploadsApi->
|
209
|
+
puts "Exception when calling UploadsApi->delete: #{e}"
|
210
210
|
end
|
211
211
|
```
|
212
212
|
|
@@ -231,9 +231,9 @@ nil (empty response body)
|
|
231
231
|
- **Accept**: Not defined
|
232
232
|
|
233
233
|
|
234
|
-
##
|
234
|
+
## list
|
235
235
|
|
236
|
-
> PaginatedUploadResponseList
|
236
|
+
> PaginatedUploadResponseList list(opts)
|
237
237
|
|
238
238
|
List uploads
|
239
239
|
|
@@ -255,16 +255,21 @@ api_instance = PulpcoreClient::UploadsApi.new
|
|
255
255
|
opts = {
|
256
256
|
limit: 56, # Integer | Number of results to return per page.
|
257
257
|
offset: 56, # Integer | The initial index from which to return the results.
|
258
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
259
|
+
size: 56, # Integer | Filter results where size matches value
|
260
|
+
size__gt: 56, # Integer | Filter results where size is greater than value
|
261
|
+
size__lt: 56, # Integer | Filter results where size is less than value
|
262
|
+
size__range: [56], # Array<Integer> | Filter results where size is between two comma separated values
|
258
263
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
259
264
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
260
265
|
}
|
261
266
|
|
262
267
|
begin
|
263
268
|
#List uploads
|
264
|
-
result = api_instance.
|
269
|
+
result = api_instance.list(opts)
|
265
270
|
p result
|
266
271
|
rescue PulpcoreClient::ApiError => e
|
267
|
-
puts "Exception when calling UploadsApi->
|
272
|
+
puts "Exception when calling UploadsApi->list: #{e}"
|
268
273
|
end
|
269
274
|
```
|
270
275
|
|
@@ -275,6 +280,11 @@ Name | Type | Description | Notes
|
|
275
280
|
------------- | ------------- | ------------- | -------------
|
276
281
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
277
282
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
283
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
284
|
+
**size** | **Integer**| Filter results where size matches value | [optional]
|
285
|
+
**size__gt** | **Integer**| Filter results where size is greater than value | [optional]
|
286
|
+
**size__lt** | **Integer**| Filter results where size is less than value | [optional]
|
287
|
+
**size__range** | [**Array<Integer>**](Integer.md)| Filter results where size is between two comma separated values | [optional]
|
278
288
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
279
289
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
280
290
|
|
@@ -292,9 +302,9 @@ Name | Type | Description | Notes
|
|
292
302
|
- **Accept**: application/json
|
293
303
|
|
294
304
|
|
295
|
-
##
|
305
|
+
## list_roles
|
296
306
|
|
297
|
-
> ObjectRolesResponse
|
307
|
+
> ObjectRolesResponse list_roles(upload_href, opts)
|
298
308
|
|
299
309
|
|
300
310
|
|
@@ -320,10 +330,10 @@ opts = {
|
|
320
330
|
}
|
321
331
|
|
322
332
|
begin
|
323
|
-
result = api_instance.
|
333
|
+
result = api_instance.list_roles(upload_href, opts)
|
324
334
|
p result
|
325
335
|
rescue PulpcoreClient::ApiError => e
|
326
|
-
puts "Exception when calling UploadsApi->
|
336
|
+
puts "Exception when calling UploadsApi->list_roles: #{e}"
|
327
337
|
end
|
328
338
|
```
|
329
339
|
|
@@ -350,9 +360,9 @@ Name | Type | Description | Notes
|
|
350
360
|
- **Accept**: application/json
|
351
361
|
|
352
362
|
|
353
|
-
##
|
363
|
+
## my_permissions
|
354
364
|
|
355
|
-
> MyPermissionsResponse
|
365
|
+
> MyPermissionsResponse my_permissions(upload_href, opts)
|
356
366
|
|
357
367
|
|
358
368
|
|
@@ -378,10 +388,10 @@ opts = {
|
|
378
388
|
}
|
379
389
|
|
380
390
|
begin
|
381
|
-
result = api_instance.
|
391
|
+
result = api_instance.my_permissions(upload_href, opts)
|
382
392
|
p result
|
383
393
|
rescue PulpcoreClient::ApiError => e
|
384
|
-
puts "Exception when calling UploadsApi->
|
394
|
+
puts "Exception when calling UploadsApi->my_permissions: #{e}"
|
385
395
|
end
|
386
396
|
```
|
387
397
|
|
@@ -408,9 +418,9 @@ Name | Type | Description | Notes
|
|
408
418
|
- **Accept**: application/json
|
409
419
|
|
410
420
|
|
411
|
-
##
|
421
|
+
## read
|
412
422
|
|
413
|
-
> UploadDetailResponse
|
423
|
+
> UploadDetailResponse read(upload_href, opts)
|
414
424
|
|
415
425
|
Inspect an upload
|
416
426
|
|
@@ -437,10 +447,10 @@ opts = {
|
|
437
447
|
|
438
448
|
begin
|
439
449
|
#Inspect an upload
|
440
|
-
result = api_instance.
|
450
|
+
result = api_instance.read(upload_href, opts)
|
441
451
|
p result
|
442
452
|
rescue PulpcoreClient::ApiError => e
|
443
|
-
puts "Exception when calling UploadsApi->
|
453
|
+
puts "Exception when calling UploadsApi->read: #{e}"
|
444
454
|
end
|
445
455
|
```
|
446
456
|
|
@@ -467,9 +477,9 @@ Name | Type | Description | Notes
|
|
467
477
|
- **Accept**: application/json
|
468
478
|
|
469
479
|
|
470
|
-
##
|
480
|
+
## remove_role
|
471
481
|
|
472
|
-
> NestedRoleResponse
|
482
|
+
> NestedRoleResponse remove_role(upload_href, upload)
|
473
483
|
|
474
484
|
|
475
485
|
|
@@ -492,10 +502,10 @@ upload_href = 'upload_href_example' # String |
|
|
492
502
|
upload = PulpcoreClient::Upload.new # Upload |
|
493
503
|
|
494
504
|
begin
|
495
|
-
result = api_instance.
|
505
|
+
result = api_instance.remove_role(upload_href, upload)
|
496
506
|
p result
|
497
507
|
rescue PulpcoreClient::ApiError => e
|
498
|
-
puts "Exception when calling UploadsApi->
|
508
|
+
puts "Exception when calling UploadsApi->remove_role: #{e}"
|
499
509
|
end
|
500
510
|
```
|
501
511
|
|
@@ -521,9 +531,9 @@ Name | Type | Description | Notes
|
|
521
531
|
- **Accept**: application/json
|
522
532
|
|
523
533
|
|
524
|
-
##
|
534
|
+
## update
|
525
535
|
|
526
|
-
> UploadResponse
|
536
|
+
> UploadResponse update(content_range, upload_href, file, opts)
|
527
537
|
|
528
538
|
Upload a file chunk
|
529
539
|
|
@@ -551,10 +561,10 @@ opts = {
|
|
551
561
|
|
552
562
|
begin
|
553
563
|
#Upload a file chunk
|
554
|
-
result = api_instance.
|
564
|
+
result = api_instance.update(content_range, upload_href, file, opts)
|
555
565
|
p result
|
556
566
|
rescue PulpcoreClient::ApiError => e
|
557
|
-
puts "Exception when calling UploadsApi->
|
567
|
+
puts "Exception when calling UploadsApi->update: #{e}"
|
558
568
|
end
|
559
569
|
```
|
560
570
|
|
data/docs/UserResponse.md
CHANGED
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**is_active** | **Boolean** | Designates whether this user should be treated as active. | [optional] [default to true]
|
15
15
|
**date_joined** | **DateTime** | Date joined | [optional] [readonly]
|
16
16
|
**groups** | [**Array<UserGroupResponse>**](UserGroupResponse.md) | | [optional] [readonly]
|
17
|
+
**hidden_fields** | [**Array<RemoteResponseHiddenFields>**](RemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
17
18
|
|
18
19
|
## Code Sample
|
19
20
|
|
@@ -29,7 +30,8 @@ instance = PulpcoreClient::UserResponse.new(pulp_href: null,
|
|
29
30
|
is_staff: null,
|
30
31
|
is_active: null,
|
31
32
|
date_joined: null,
|
32
|
-
groups: null
|
33
|
+
groups: null,
|
34
|
+
hidden_fields: null)
|
33
35
|
```
|
34
36
|
|
35
37
|
|
data/docs/UsersApi.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# PulpcoreClient::UsersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
7
|
+
[**create**](UsersApi.md#create) | **POST** /pulp/api/v3/users/ | Create an user
|
8
|
+
[**delete**](UsersApi.md#delete) | **DELETE** {auth_user_href} | Delete an user
|
9
|
+
[**list**](UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
|
10
|
+
[**partial_update**](UsersApi.md#partial_update) | **PATCH** {auth_user_href} | Update an user
|
11
|
+
[**read**](UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
|
12
|
+
[**update**](UsersApi.md#update) | **PUT** {auth_user_href} | Update an user
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create
|
17
17
|
|
18
|
-
> UserResponse
|
18
|
+
> UserResponse create(user)
|
19
19
|
|
20
20
|
Create an user
|
21
21
|
|
@@ -38,10 +38,10 @@ user = PulpcoreClient::User.new # User |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create an user
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create(user)
|
42
42
|
p result
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
44
|
-
puts "Exception when calling UsersApi->
|
44
|
+
puts "Exception when calling UsersApi->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
|
-
>
|
71
|
+
> delete(auth_user_href)
|
72
72
|
|
73
73
|
Delete an user
|
74
74
|
|
@@ -91,9 +91,9 @@ auth_user_href = 'auth_user_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user
|
94
|
-
api_instance.
|
94
|
+
api_instance.delete(auth_user_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersApi->
|
96
|
+
puts "Exception when calling UsersApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## list
|
122
122
|
|
123
|
-
> PaginatedUserResponseList
|
123
|
+
> PaginatedUserResponseList list(opts)
|
124
124
|
|
125
125
|
List users
|
126
126
|
|
@@ -171,10 +171,10 @@ opts = {
|
|
171
171
|
|
172
172
|
begin
|
173
173
|
#List users
|
174
|
-
result = api_instance.
|
174
|
+
result = api_instance.list(opts)
|
175
175
|
p result
|
176
176
|
rescue PulpcoreClient::ApiError => e
|
177
|
-
puts "Exception when calling UsersApi->
|
177
|
+
puts "Exception when calling UsersApi->list: #{e}"
|
178
178
|
end
|
179
179
|
```
|
180
180
|
|
@@ -225,9 +225,9 @@ Name | Type | Description | Notes
|
|
225
225
|
- **Accept**: application/json
|
226
226
|
|
227
227
|
|
228
|
-
##
|
228
|
+
## partial_update
|
229
229
|
|
230
|
-
> UserResponse
|
230
|
+
> UserResponse partial_update(auth_user_href, patched_user)
|
231
231
|
|
232
232
|
Update an user
|
233
233
|
|
@@ -251,10 +251,10 @@ patched_user = PulpcoreClient::PatchedUser.new # PatchedUser |
|
|
251
251
|
|
252
252
|
begin
|
253
253
|
#Update an user
|
254
|
-
result = api_instance.
|
254
|
+
result = api_instance.partial_update(auth_user_href, patched_user)
|
255
255
|
p result
|
256
256
|
rescue PulpcoreClient::ApiError => e
|
257
|
-
puts "Exception when calling UsersApi->
|
257
|
+
puts "Exception when calling UsersApi->partial_update: #{e}"
|
258
258
|
end
|
259
259
|
```
|
260
260
|
|
@@ -280,9 +280,9 @@ Name | Type | Description | Notes
|
|
280
280
|
- **Accept**: application/json
|
281
281
|
|
282
282
|
|
283
|
-
##
|
283
|
+
## read
|
284
284
|
|
285
|
-
> UserResponse
|
285
|
+
> UserResponse read(auth_user_href, opts)
|
286
286
|
|
287
287
|
Inspect an user
|
288
288
|
|
@@ -309,10 +309,10 @@ opts = {
|
|
309
309
|
|
310
310
|
begin
|
311
311
|
#Inspect an user
|
312
|
-
result = api_instance.
|
312
|
+
result = api_instance.read(auth_user_href, opts)
|
313
313
|
p result
|
314
314
|
rescue PulpcoreClient::ApiError => e
|
315
|
-
puts "Exception when calling UsersApi->
|
315
|
+
puts "Exception when calling UsersApi->read: #{e}"
|
316
316
|
end
|
317
317
|
```
|
318
318
|
|
@@ -339,9 +339,9 @@ Name | Type | Description | Notes
|
|
339
339
|
- **Accept**: application/json
|
340
340
|
|
341
341
|
|
342
|
-
##
|
342
|
+
## update
|
343
343
|
|
344
|
-
> UserResponse
|
344
|
+
> UserResponse update(auth_user_href, user)
|
345
345
|
|
346
346
|
Update an user
|
347
347
|
|
@@ -365,10 +365,10 @@ user = PulpcoreClient::User.new # User |
|
|
365
365
|
|
366
366
|
begin
|
367
367
|
#Update an user
|
368
|
-
result = api_instance.
|
368
|
+
result = api_instance.update(auth_user_href, user)
|
369
369
|
p result
|
370
370
|
rescue PulpcoreClient::ApiError => e
|
371
|
-
puts "Exception when calling UsersApi->
|
371
|
+
puts "Exception when calling UsersApi->update: #{e}"
|
372
372
|
end
|
373
373
|
```
|
374
374
|
|
data/docs/UsersRolesApi.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# PulpcoreClient::UsersRolesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](UsersRolesApi.md#create) | **POST** {auth_user_href}roles/ | Create an user role
|
8
|
+
[**delete**](UsersRolesApi.md#delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
|
9
|
+
[**list**](UsersRolesApi.md#list) | **GET** {auth_user_href}roles/ | List user roles
|
10
|
+
[**read**](UsersRolesApi.md#read) | **GET** {auth_users_user_role_href} | Inspect an user role
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> UserRoleResponse
|
16
|
+
> UserRoleResponse create(auth_user_href, user_role)
|
17
17
|
|
18
18
|
Create an user role
|
19
19
|
|
@@ -37,10 +37,10 @@ user_role = PulpcoreClient::UserRole.new # UserRole |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an user role
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.create(auth_user_href, user_role)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling UsersRolesApi->
|
43
|
+
puts "Exception when calling UsersRolesApi->create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> delete(auth_users_user_role_href)
|
72
72
|
|
73
73
|
Delete an user role
|
74
74
|
|
@@ -91,9 +91,9 @@ auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user role
|
94
|
-
api_instance.
|
94
|
+
api_instance.delete(auth_users_user_role_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersRolesApi->
|
96
|
+
puts "Exception when calling UsersRolesApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## list
|
122
122
|
|
123
|
-
> PaginatedUserRoleResponseList
|
123
|
+
> PaginatedUserRoleResponseList list(auth_user_href, opts)
|
124
124
|
|
125
125
|
List user roles
|
126
126
|
|
@@ -156,10 +156,10 @@ opts = {
|
|
156
156
|
|
157
157
|
begin
|
158
158
|
#List user roles
|
159
|
-
result = api_instance.
|
159
|
+
result = api_instance.list(auth_user_href, opts)
|
160
160
|
p result
|
161
161
|
rescue PulpcoreClient::ApiError => e
|
162
|
-
puts "Exception when calling UsersRolesApi->
|
162
|
+
puts "Exception when calling UsersRolesApi->list: #{e}"
|
163
163
|
end
|
164
164
|
```
|
165
165
|
|
@@ -195,9 +195,9 @@ Name | Type | Description | Notes
|
|
195
195
|
- **Accept**: application/json
|
196
196
|
|
197
197
|
|
198
|
-
##
|
198
|
+
## read
|
199
199
|
|
200
|
-
> UserRoleResponse
|
200
|
+
> UserRoleResponse read(auth_users_user_role_href, opts)
|
201
201
|
|
202
202
|
Inspect an user role
|
203
203
|
|
@@ -224,10 +224,10 @@ opts = {
|
|
224
224
|
|
225
225
|
begin
|
226
226
|
#Inspect an user role
|
227
|
-
result = api_instance.
|
227
|
+
result = api_instance.read(auth_users_user_role_href, opts)
|
228
228
|
p result
|
229
229
|
rescue PulpcoreClient::ApiError => e
|
230
|
-
puts "Exception when calling UsersRolesApi->
|
230
|
+
puts "Exception when calling UsersRolesApi->read: #{e}"
|
231
231
|
end
|
232
232
|
```
|
233
233
|
|
data/docs/WorkersApi.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpcoreClient::WorkersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
7
|
+
[**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
|
8
|
+
[**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
##
|
12
|
+
## list
|
13
13
|
|
14
|
-
> PaginatedWorkerResponseList
|
14
|
+
> PaginatedWorkerResponseList list(opts)
|
15
15
|
|
16
16
|
List workers
|
17
17
|
|
@@ -31,7 +31,7 @@ end
|
|
31
31
|
|
32
32
|
api_instance = PulpcoreClient::WorkersApi.new
|
33
33
|
opts = {
|
34
|
-
last_heartbeat: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
34
|
+
last_heartbeat: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat matches value
|
35
35
|
last_heartbeat__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than value
|
36
36
|
last_heartbeat__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than or equal to value
|
37
37
|
last_heartbeat__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is less than value
|
@@ -39,7 +39,7 @@ opts = {
|
|
39
39
|
last_heartbeat__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where last_heartbeat is between two comma separated values
|
40
40
|
limit: 56, # Integer | Number of results to return per page.
|
41
41
|
missing: true, # Boolean |
|
42
|
-
name: 'name_example', # String |
|
42
|
+
name: 'name_example', # String | Filter results where name matches value
|
43
43
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
44
44
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
45
45
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -53,10 +53,10 @@ opts = {
|
|
53
53
|
|
54
54
|
begin
|
55
55
|
#List workers
|
56
|
-
result = api_instance.
|
56
|
+
result = api_instance.list(opts)
|
57
57
|
p result
|
58
58
|
rescue PulpcoreClient::ApiError => e
|
59
|
-
puts "Exception when calling WorkersApi->
|
59
|
+
puts "Exception when calling WorkersApi->list: #{e}"
|
60
60
|
end
|
61
61
|
```
|
62
62
|
|
@@ -65,7 +65,7 @@ end
|
|
65
65
|
|
66
66
|
Name | Type | Description | Notes
|
67
67
|
------------- | ------------- | ------------- | -------------
|
68
|
-
**last_heartbeat** | **DateTime**|
|
68
|
+
**last_heartbeat** | **DateTime**| Filter results where last_heartbeat matches value | [optional]
|
69
69
|
**last_heartbeat__gt** | **DateTime**| Filter results where last_heartbeat is greater than value | [optional]
|
70
70
|
**last_heartbeat__gte** | **DateTime**| Filter results where last_heartbeat is greater than or equal to value | [optional]
|
71
71
|
**last_heartbeat__lt** | **DateTime**| Filter results where last_heartbeat is less than value | [optional]
|
@@ -73,7 +73,7 @@ Name | Type | Description | Notes
|
|
73
73
|
**last_heartbeat__range** | [**Array<DateTime>**](DateTime.md)| Filter results where last_heartbeat is between two comma separated values | [optional]
|
74
74
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
75
75
|
**missing** | **Boolean**| | [optional]
|
76
|
-
**name** | **String**|
|
76
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
77
77
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
78
78
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
79
79
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -98,9 +98,9 @@ Name | Type | Description | Notes
|
|
98
98
|
- **Accept**: application/json
|
99
99
|
|
100
100
|
|
101
|
-
##
|
101
|
+
## read
|
102
102
|
|
103
|
-
> WorkerResponse
|
103
|
+
> WorkerResponse read(worker_href, opts)
|
104
104
|
|
105
105
|
Inspect a worker
|
106
106
|
|
@@ -127,10 +127,10 @@ opts = {
|
|
127
127
|
|
128
128
|
begin
|
129
129
|
#Inspect a worker
|
130
|
-
result = api_instance.
|
130
|
+
result = api_instance.read(worker_href, opts)
|
131
131
|
p result
|
132
132
|
rescue PulpcoreClient::ApiError => e
|
133
|
-
puts "Exception when calling WorkersApi->
|
133
|
+
puts "Exception when calling WorkersApi->read: #{e}"
|
134
134
|
end
|
135
135
|
```
|
136
136
|
|