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
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpcoreClient::ContentguardsRbacApi
|
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**](ContentguardsRbacApi.md#add_role) | **POST** {r_b_a_c_content_guard_href}add_role/ |
|
8
|
+
[**create**](ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
|
9
|
+
[**delete**](ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
|
10
|
+
[**list**](ContentguardsRbacApi.md#list) | **GET** /pulp/api/v3/contentguards/core/rbac/ | List rbac content guards
|
11
|
+
[**list_roles**](ContentguardsRbacApi.md#list_roles) | **GET** {r_b_a_c_content_guard_href}list_roles/ |
|
12
|
+
[**my_permissions**](ContentguardsRbacApi.md#my_permissions) | **GET** {r_b_a_c_content_guard_href}my_permissions/ |
|
13
|
+
[**partial_update**](ContentguardsRbacApi.md#partial_update) | **PATCH** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
14
|
+
[**read**](ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard
|
15
|
+
[**remove_role**](ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ |
|
16
|
+
[**update**](ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
##
|
20
|
+
## add_role
|
21
21
|
|
22
|
-
> NestedRoleResponse
|
22
|
+
> NestedRoleResponse add_role(r_b_a_c_content_guard_href, nested_role)
|
23
23
|
|
24
24
|
|
25
25
|
|
@@ -42,10 +42,10 @@ r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
43
43
|
|
44
44
|
begin
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.add_role(r_b_a_c_content_guard_href, nested_role)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling ContentguardsRbacApi->
|
48
|
+
puts "Exception when calling ContentguardsRbacApi->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
|
+
## create
|
75
75
|
|
76
|
-
> RBACContentGuardResponse
|
76
|
+
> RBACContentGuardResponse create(rbac_content_guard)
|
77
77
|
|
78
78
|
Create a rbac content guard
|
79
79
|
|
@@ -96,10 +96,10 @@ rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
|
96
96
|
|
97
97
|
begin
|
98
98
|
#Create a rbac content guard
|
99
|
-
result = api_instance.
|
99
|
+
result = api_instance.create(rbac_content_guard)
|
100
100
|
p result
|
101
101
|
rescue PulpcoreClient::ApiError => e
|
102
|
-
puts "Exception when calling ContentguardsRbacApi->
|
102
|
+
puts "Exception when calling ContentguardsRbacApi->create: #{e}"
|
103
103
|
end
|
104
104
|
```
|
105
105
|
|
@@ -124,9 +124,9 @@ Name | Type | Description | Notes
|
|
124
124
|
- **Accept**: application/json
|
125
125
|
|
126
126
|
|
127
|
-
##
|
127
|
+
## delete
|
128
128
|
|
129
|
-
>
|
129
|
+
> delete(r_b_a_c_content_guard_href)
|
130
130
|
|
131
131
|
Delete a rbac content guard
|
132
132
|
|
@@ -149,9 +149,9 @@ r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
149
149
|
|
150
150
|
begin
|
151
151
|
#Delete a rbac content guard
|
152
|
-
api_instance.
|
152
|
+
api_instance.delete(r_b_a_c_content_guard_href)
|
153
153
|
rescue PulpcoreClient::ApiError => e
|
154
|
-
puts "Exception when calling ContentguardsRbacApi->
|
154
|
+
puts "Exception when calling ContentguardsRbacApi->delete: #{e}"
|
155
155
|
end
|
156
156
|
```
|
157
157
|
|
@@ -176,9 +176,9 @@ nil (empty response body)
|
|
176
176
|
- **Accept**: Not defined
|
177
177
|
|
178
178
|
|
179
|
-
##
|
179
|
+
## list
|
180
180
|
|
181
|
-
> PaginatedRBACContentGuardResponseList
|
181
|
+
> PaginatedRBACContentGuardResponseList list(opts)
|
182
182
|
|
183
183
|
List rbac content guards
|
184
184
|
|
@@ -199,7 +199,7 @@ end
|
|
199
199
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
200
200
|
opts = {
|
201
201
|
limit: 56, # Integer | Number of results to return per page.
|
202
|
-
name: 'name_example', # String |
|
202
|
+
name: 'name_example', # String | Filter results where name matches value
|
203
203
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
204
204
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
205
205
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -212,10 +212,10 @@ opts = {
|
|
212
212
|
|
213
213
|
begin
|
214
214
|
#List rbac content guards
|
215
|
-
result = api_instance.
|
215
|
+
result = api_instance.list(opts)
|
216
216
|
p result
|
217
217
|
rescue PulpcoreClient::ApiError => e
|
218
|
-
puts "Exception when calling ContentguardsRbacApi->
|
218
|
+
puts "Exception when calling ContentguardsRbacApi->list: #{e}"
|
219
219
|
end
|
220
220
|
```
|
221
221
|
|
@@ -225,7 +225,7 @@ end
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
227
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
228
|
-
**name** | **String**|
|
228
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
229
229
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
230
230
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
231
231
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -249,9 +249,9 @@ Name | Type | Description | Notes
|
|
249
249
|
- **Accept**: application/json
|
250
250
|
|
251
251
|
|
252
|
-
##
|
252
|
+
## list_roles
|
253
253
|
|
254
|
-
> ObjectRolesResponse
|
254
|
+
> ObjectRolesResponse list_roles(r_b_a_c_content_guard_href, opts)
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -277,10 +277,10 @@ opts = {
|
|
277
277
|
}
|
278
278
|
|
279
279
|
begin
|
280
|
-
result = api_instance.
|
280
|
+
result = api_instance.list_roles(r_b_a_c_content_guard_href, opts)
|
281
281
|
p result
|
282
282
|
rescue PulpcoreClient::ApiError => e
|
283
|
-
puts "Exception when calling ContentguardsRbacApi->
|
283
|
+
puts "Exception when calling ContentguardsRbacApi->list_roles: #{e}"
|
284
284
|
end
|
285
285
|
```
|
286
286
|
|
@@ -307,9 +307,9 @@ Name | Type | Description | Notes
|
|
307
307
|
- **Accept**: application/json
|
308
308
|
|
309
309
|
|
310
|
-
##
|
310
|
+
## my_permissions
|
311
311
|
|
312
|
-
> MyPermissionsResponse
|
312
|
+
> MyPermissionsResponse my_permissions(r_b_a_c_content_guard_href, opts)
|
313
313
|
|
314
314
|
|
315
315
|
|
@@ -335,10 +335,10 @@ opts = {
|
|
335
335
|
}
|
336
336
|
|
337
337
|
begin
|
338
|
-
result = api_instance.
|
338
|
+
result = api_instance.my_permissions(r_b_a_c_content_guard_href, opts)
|
339
339
|
p result
|
340
340
|
rescue PulpcoreClient::ApiError => e
|
341
|
-
puts "Exception when calling ContentguardsRbacApi->
|
341
|
+
puts "Exception when calling ContentguardsRbacApi->my_permissions: #{e}"
|
342
342
|
end
|
343
343
|
```
|
344
344
|
|
@@ -365,9 +365,9 @@ Name | Type | Description | Notes
|
|
365
365
|
- **Accept**: application/json
|
366
366
|
|
367
367
|
|
368
|
-
##
|
368
|
+
## partial_update
|
369
369
|
|
370
|
-
> RBACContentGuardResponse
|
370
|
+
> RBACContentGuardResponse partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
371
371
|
|
372
372
|
Update a rbac content guard
|
373
373
|
|
@@ -391,10 +391,10 @@ patched_rbac_content_guard = PulpcoreClient::PatchedRBACContentGuard.new # Patch
|
|
391
391
|
|
392
392
|
begin
|
393
393
|
#Update a rbac content guard
|
394
|
-
result = api_instance.
|
394
|
+
result = api_instance.partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
395
395
|
p result
|
396
396
|
rescue PulpcoreClient::ApiError => e
|
397
|
-
puts "Exception when calling ContentguardsRbacApi->
|
397
|
+
puts "Exception when calling ContentguardsRbacApi->partial_update: #{e}"
|
398
398
|
end
|
399
399
|
```
|
400
400
|
|
@@ -420,9 +420,9 @@ Name | Type | Description | Notes
|
|
420
420
|
- **Accept**: application/json
|
421
421
|
|
422
422
|
|
423
|
-
##
|
423
|
+
## read
|
424
424
|
|
425
|
-
> RBACContentGuardResponse
|
425
|
+
> RBACContentGuardResponse read(r_b_a_c_content_guard_href, opts)
|
426
426
|
|
427
427
|
Inspect a rbac content guard
|
428
428
|
|
@@ -449,10 +449,10 @@ opts = {
|
|
449
449
|
|
450
450
|
begin
|
451
451
|
#Inspect a rbac content guard
|
452
|
-
result = api_instance.
|
452
|
+
result = api_instance.read(r_b_a_c_content_guard_href, opts)
|
453
453
|
p result
|
454
454
|
rescue PulpcoreClient::ApiError => e
|
455
|
-
puts "Exception when calling ContentguardsRbacApi->
|
455
|
+
puts "Exception when calling ContentguardsRbacApi->read: #{e}"
|
456
456
|
end
|
457
457
|
```
|
458
458
|
|
@@ -479,9 +479,9 @@ Name | Type | Description | Notes
|
|
479
479
|
- **Accept**: application/json
|
480
480
|
|
481
481
|
|
482
|
-
##
|
482
|
+
## remove_role
|
483
483
|
|
484
|
-
> NestedRoleResponse
|
484
|
+
> NestedRoleResponse remove_role(r_b_a_c_content_guard_href, nested_role)
|
485
485
|
|
486
486
|
|
487
487
|
|
@@ -504,10 +504,10 @@ r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
504
504
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
505
505
|
|
506
506
|
begin
|
507
|
-
result = api_instance.
|
507
|
+
result = api_instance.remove_role(r_b_a_c_content_guard_href, nested_role)
|
508
508
|
p result
|
509
509
|
rescue PulpcoreClient::ApiError => e
|
510
|
-
puts "Exception when calling ContentguardsRbacApi->
|
510
|
+
puts "Exception when calling ContentguardsRbacApi->remove_role: #{e}"
|
511
511
|
end
|
512
512
|
```
|
513
513
|
|
@@ -533,9 +533,9 @@ Name | Type | Description | Notes
|
|
533
533
|
- **Accept**: application/json
|
534
534
|
|
535
535
|
|
536
|
-
##
|
536
|
+
## update
|
537
537
|
|
538
|
-
> RBACContentGuardResponse
|
538
|
+
> RBACContentGuardResponse update(r_b_a_c_content_guard_href, rbac_content_guard)
|
539
539
|
|
540
540
|
Update a rbac content guard
|
541
541
|
|
@@ -559,10 +559,10 @@ rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
|
559
559
|
|
560
560
|
begin
|
561
561
|
#Update a rbac content guard
|
562
|
-
result = api_instance.
|
562
|
+
result = api_instance.update(r_b_a_c_content_guard_href, rbac_content_guard)
|
563
563
|
p result
|
564
564
|
rescue PulpcoreClient::ApiError => e
|
565
|
-
puts "Exception when calling ContentguardsRbacApi->
|
565
|
+
puts "Exception when calling ContentguardsRbacApi->update: #{e}"
|
566
566
|
end
|
567
567
|
```
|
568
568
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
-
**pulp_labels** |
|
12
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
14
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
15
15
|
|
data/docs/DistributionsApi.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# PulpcoreClient::DistributionsApi
|
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
|
-
[**
|
7
|
+
[**list**](DistributionsApi.md#list) | **GET** /pulp/api/v3/distributions/ | List distributions
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
##
|
11
|
+
## list
|
12
12
|
|
13
|
-
> PaginatedDistributionResponseList
|
13
|
+
> PaginatedDistributionResponseList list(opts)
|
14
14
|
|
15
15
|
List distributions
|
16
16
|
|
17
|
-
|
17
|
+
Provides base viewset for Distributions.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
@@ -30,12 +30,12 @@ end
|
|
30
30
|
|
31
31
|
api_instance = PulpcoreClient::DistributionsApi.new
|
32
32
|
opts = {
|
33
|
-
base_path: 'base_path_example', # String |
|
33
|
+
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
34
34
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
35
35
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
36
36
|
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
37
37
|
limit: 56, # Integer | Number of results to return per page.
|
38
|
-
name: 'name_example', # String |
|
38
|
+
name: 'name_example', # String | Filter results where name matches value
|
39
39
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
40
40
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
41
41
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -50,10 +50,10 @@ opts = {
|
|
50
50
|
|
51
51
|
begin
|
52
52
|
#List distributions
|
53
|
-
result = api_instance.
|
53
|
+
result = api_instance.list(opts)
|
54
54
|
p result
|
55
55
|
rescue PulpcoreClient::ApiError => e
|
56
|
-
puts "Exception when calling DistributionsApi->
|
56
|
+
puts "Exception when calling DistributionsApi->list: #{e}"
|
57
57
|
end
|
58
58
|
```
|
59
59
|
|
@@ -62,12 +62,12 @@ end
|
|
62
62
|
|
63
63
|
Name | Type | Description | Notes
|
64
64
|
------------- | ------------- | ------------- | -------------
|
65
|
-
**base_path** | **String**|
|
65
|
+
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
66
66
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
67
67
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
68
68
|
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
69
69
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
70
|
-
**name** | **String**|
|
70
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
71
71
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
72
72
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
73
73
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -0,0 +1,154 @@
|
|
1
|
+
# PulpcoreClient::DistributionsArtifactsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](DistributionsArtifactsApi.md#list) | **GET** /pulp/api/v3/distributions/core/artifacts/ | List artifact distributions
|
8
|
+
[**read**](DistributionsArtifactsApi.md#read) | **GET** {artifact_distribution_href} | Inspect an artifact distribution
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedArtifactDistributionResponseList list(opts)
|
15
|
+
|
16
|
+
List artifact distributions
|
17
|
+
|
18
|
+
ViewSet for ArtifactDistribution.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulpcore_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpcoreClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
33
|
+
opts = {
|
34
|
+
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
35
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
36
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
37
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
38
|
+
limit: 56, # Integer | Number of results to return per page.
|
39
|
+
name: 'name_example', # String | Filter results where name matches value
|
40
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
41
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
42
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
43
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
44
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
45
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
46
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
47
|
+
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
48
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
49
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
50
|
+
}
|
51
|
+
|
52
|
+
begin
|
53
|
+
#List artifact distributions
|
54
|
+
result = api_instance.list(opts)
|
55
|
+
p result
|
56
|
+
rescue PulpcoreClient::ApiError => e
|
57
|
+
puts "Exception when calling DistributionsArtifactsApi->list: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
|
64
|
+
Name | Type | Description | Notes
|
65
|
+
------------- | ------------- | ------------- | -------------
|
66
|
+
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
67
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
68
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
69
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
70
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
71
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
72
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
73
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
74
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
75
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
76
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
77
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
78
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
79
|
+
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
80
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
81
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
82
|
+
|
83
|
+
### Return type
|
84
|
+
|
85
|
+
[**PaginatedArtifactDistributionResponseList**](PaginatedArtifactDistributionResponseList.md)
|
86
|
+
|
87
|
+
### Authorization
|
88
|
+
|
89
|
+
[basicAuth](../README.md#basicAuth)
|
90
|
+
|
91
|
+
### HTTP request headers
|
92
|
+
|
93
|
+
- **Content-Type**: Not defined
|
94
|
+
- **Accept**: application/json
|
95
|
+
|
96
|
+
|
97
|
+
## read
|
98
|
+
|
99
|
+
> ArtifactDistributionResponse read(artifact_distribution_href, opts)
|
100
|
+
|
101
|
+
Inspect an artifact distribution
|
102
|
+
|
103
|
+
ViewSet for ArtifactDistribution.
|
104
|
+
|
105
|
+
### Example
|
106
|
+
|
107
|
+
```ruby
|
108
|
+
# load the gem
|
109
|
+
require 'pulpcore_client'
|
110
|
+
# setup authorization
|
111
|
+
PulpcoreClient.configure do |config|
|
112
|
+
# Configure HTTP basic authorization: basicAuth
|
113
|
+
config.username = 'YOUR USERNAME'
|
114
|
+
config.password = 'YOUR PASSWORD'
|
115
|
+
end
|
116
|
+
|
117
|
+
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
118
|
+
artifact_distribution_href = 'artifact_distribution_href_example' # String |
|
119
|
+
opts = {
|
120
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
121
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
122
|
+
}
|
123
|
+
|
124
|
+
begin
|
125
|
+
#Inspect an artifact distribution
|
126
|
+
result = api_instance.read(artifact_distribution_href, opts)
|
127
|
+
p result
|
128
|
+
rescue PulpcoreClient::ApiError => e
|
129
|
+
puts "Exception when calling DistributionsArtifactsApi->read: #{e}"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
### Parameters
|
134
|
+
|
135
|
+
|
136
|
+
Name | Type | Description | Notes
|
137
|
+
------------- | ------------- | ------------- | -------------
|
138
|
+
**artifact_distribution_href** | **String**| |
|
139
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
140
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
141
|
+
|
142
|
+
### Return type
|
143
|
+
|
144
|
+
[**ArtifactDistributionResponse**](ArtifactDistributionResponse.md)
|
145
|
+
|
146
|
+
### Authorization
|
147
|
+
|
148
|
+
[basicAuth](../README.md#basicAuth)
|
149
|
+
|
150
|
+
### HTTP request headers
|
151
|
+
|
152
|
+
- **Content-Type**: Not defined
|
153
|
+
- **Accept**: application/json
|
154
|
+
|