pulp_rpm_client 3.22.3 → 3.22.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -29
- data/docs/AcsRpmApi.md +19 -9
- data/docs/ContentAdvisoriesApi.md +3 -1
- data/docs/ContentDistributionTreesApi.md +3 -1
- data/docs/ContentModulemdDefaultsApi.md +3 -1
- data/docs/ContentModulemdObsoletesApi.md +3 -1
- data/docs/ContentModulemdsApi.md +3 -1
- data/docs/ContentPackagecategoriesApi.md +3 -1
- data/docs/ContentPackageenvironmentsApi.md +3 -1
- data/docs/ContentPackagegroupsApi.md +3 -1
- data/docs/ContentPackagelangpacksApi.md +3 -1
- data/docs/ContentPackagesApi.md +3 -1
- data/docs/ContentRepoMetadataFilesApi.md +3 -1
- data/docs/DistributionsRpmApi.md +132 -10
- data/docs/PublicationsRpmApi.md +15 -9
- data/docs/RemotesRpmApi.md +131 -9
- data/docs/RemotesUlnApi.md +131 -9
- data/docs/RepositoriesRpmApi.md +132 -10
- data/docs/RepositoriesRpmVersionsApi.md +3 -1
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +17 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +157 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +157 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +157 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +157 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/set_label.rb +252 -0
- data/lib/pulp_rpm_client/models/set_label_response.rb +243 -0
- data/lib/pulp_rpm_client/models/unset_label.rb +242 -0
- data/lib/pulp_rpm_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +7 -0
- data/spec/api/content_advisories_api_spec.rb +1 -0
- data/spec/api/content_distribution_trees_api_spec.rb +1 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -0
- data/spec/api/content_modulemds_api_spec.rb +1 -0
- data/spec/api/content_packagecategories_api_spec.rb +1 -0
- data/spec/api/content_packageenvironments_api_spec.rb +1 -0
- data/spec/api/content_packagegroups_api_spec.rb +1 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +1 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -0
- data/spec/api/distributions_rpm_api_spec.rb +33 -0
- data/spec/api/publications_rpm_api_spec.rb +5 -0
- data/spec/api/remotes_rpm_api_spec.rb +33 -0
- data/spec/api/remotes_uln_api_spec.rb +33 -0
- data/spec/api/repositories_rpm_api_spec.rb +33 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +97 -81
data/docs/RemotesUlnApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpRpmClient::RemotesUlnApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ | Add a role
|
8
8
|
[**create**](RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
|
9
9
|
[**delete**](RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
|
10
10
|
[**list**](RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
|
11
|
-
[**list_roles**](RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
|
14
14
|
[**read**](RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
|
15
|
-
[**remove_role**](RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ |
|
15
|
+
[**remove_role**](RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](RemotesUlnApi.md#set_label) | **POST** {rpm_uln_remote_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](RemotesUlnApi.md#unset_label) | **POST** {rpm_uln_remote_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(rpm_uln_remote_href, nested_role)
|
23
25
|
|
24
|
-
|
26
|
+
Add a role
|
25
27
|
|
26
28
|
Add a role for this object to users/groups.
|
27
29
|
|
@@ -42,6 +44,7 @@ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
|
42
44
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
43
45
|
|
44
46
|
begin
|
47
|
+
#Add a role
|
45
48
|
result = api_instance.add_role(rpm_uln_remote_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpRpmClient::ApiError => e
|
@@ -203,7 +206,9 @@ opts = {
|
|
203
206
|
name: 'name_example', # String | Filter results where name matches value
|
204
207
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
208
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
209
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
206
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
211
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
207
212
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
213
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
214
|
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -216,6 +221,7 @@ opts = {
|
|
216
221
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
222
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
223
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
224
|
+
q: 'q_example', # String |
|
219
225
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
220
226
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
221
227
|
}
|
@@ -238,7 +244,9 @@ Name | Type | Description | Notes
|
|
238
244
|
**name** | **String**| Filter results where name matches value | [optional]
|
239
245
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
246
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
247
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
241
248
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
249
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
242
250
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
251
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
252
|
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -251,6 +259,7 @@ Name | Type | Description | Notes
|
|
251
259
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
252
260
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
253
261
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
262
|
+
**q** | **String**| | [optional]
|
254
263
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
255
264
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
256
265
|
|
@@ -272,7 +281,7 @@ Name | Type | Description | Notes
|
|
272
281
|
|
273
282
|
> ObjectRolesResponse list_roles(rpm_uln_remote_href, opts)
|
274
283
|
|
275
|
-
|
284
|
+
List roles
|
276
285
|
|
277
286
|
List roles assigned to this object.
|
278
287
|
|
@@ -296,6 +305,7 @@ opts = {
|
|
296
305
|
}
|
297
306
|
|
298
307
|
begin
|
308
|
+
#List roles
|
299
309
|
result = api_instance.list_roles(rpm_uln_remote_href, opts)
|
300
310
|
p result
|
301
311
|
rescue PulpRpmClient::ApiError => e
|
@@ -330,7 +340,7 @@ Name | Type | Description | Notes
|
|
330
340
|
|
331
341
|
> MyPermissionsResponse my_permissions(rpm_uln_remote_href, opts)
|
332
342
|
|
333
|
-
|
343
|
+
List user permissions
|
334
344
|
|
335
345
|
List permissions available to the current user on this object.
|
336
346
|
|
@@ -354,6 +364,7 @@ opts = {
|
|
354
364
|
}
|
355
365
|
|
356
366
|
begin
|
367
|
+
#List user permissions
|
357
368
|
result = api_instance.my_permissions(rpm_uln_remote_href, opts)
|
358
369
|
p result
|
359
370
|
rescue PulpRpmClient::ApiError => e
|
@@ -502,7 +513,7 @@ Name | Type | Description | Notes
|
|
502
513
|
|
503
514
|
> NestedRoleResponse remove_role(rpm_uln_remote_href, nested_role)
|
504
515
|
|
505
|
-
|
516
|
+
Remove a role
|
506
517
|
|
507
518
|
Remove a role for this object from users/groups.
|
508
519
|
|
@@ -523,6 +534,7 @@ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
|
523
534
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
524
535
|
|
525
536
|
begin
|
537
|
+
#Remove a role
|
526
538
|
result = api_instance.remove_role(rpm_uln_remote_href, nested_role)
|
527
539
|
p result
|
528
540
|
rescue PulpRpmClient::ApiError => e
|
@@ -552,6 +564,116 @@ Name | Type | Description | Notes
|
|
552
564
|
- **Accept**: application/json
|
553
565
|
|
554
566
|
|
567
|
+
## set_label
|
568
|
+
|
569
|
+
> SetLabelResponse set_label(rpm_uln_remote_href, set_label)
|
570
|
+
|
571
|
+
Set a label
|
572
|
+
|
573
|
+
Set a single pulp_label on the object to a specific value or null.
|
574
|
+
|
575
|
+
### Example
|
576
|
+
|
577
|
+
```ruby
|
578
|
+
# load the gem
|
579
|
+
require 'pulp_rpm_client'
|
580
|
+
# setup authorization
|
581
|
+
PulpRpmClient.configure do |config|
|
582
|
+
# Configure HTTP basic authorization: basicAuth
|
583
|
+
config.username = 'YOUR USERNAME'
|
584
|
+
config.password = 'YOUR PASSWORD'
|
585
|
+
end
|
586
|
+
|
587
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
588
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
589
|
+
set_label = PulpRpmClient::SetLabel.new # SetLabel |
|
590
|
+
|
591
|
+
begin
|
592
|
+
#Set a label
|
593
|
+
result = api_instance.set_label(rpm_uln_remote_href, set_label)
|
594
|
+
p result
|
595
|
+
rescue PulpRpmClient::ApiError => e
|
596
|
+
puts "Exception when calling RemotesUlnApi->set_label: #{e}"
|
597
|
+
end
|
598
|
+
```
|
599
|
+
|
600
|
+
### Parameters
|
601
|
+
|
602
|
+
|
603
|
+
Name | Type | Description | Notes
|
604
|
+
------------- | ------------- | ------------- | -------------
|
605
|
+
**rpm_uln_remote_href** | **String**| |
|
606
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
607
|
+
|
608
|
+
### Return type
|
609
|
+
|
610
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
611
|
+
|
612
|
+
### Authorization
|
613
|
+
|
614
|
+
[basicAuth](../README.md#basicAuth)
|
615
|
+
|
616
|
+
### HTTP request headers
|
617
|
+
|
618
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
619
|
+
- **Accept**: application/json
|
620
|
+
|
621
|
+
|
622
|
+
## unset_label
|
623
|
+
|
624
|
+
> UnsetLabelResponse unset_label(rpm_uln_remote_href, unset_label)
|
625
|
+
|
626
|
+
Unset a label
|
627
|
+
|
628
|
+
Unset a single pulp_label on the object.
|
629
|
+
|
630
|
+
### Example
|
631
|
+
|
632
|
+
```ruby
|
633
|
+
# load the gem
|
634
|
+
require 'pulp_rpm_client'
|
635
|
+
# setup authorization
|
636
|
+
PulpRpmClient.configure do |config|
|
637
|
+
# Configure HTTP basic authorization: basicAuth
|
638
|
+
config.username = 'YOUR USERNAME'
|
639
|
+
config.password = 'YOUR PASSWORD'
|
640
|
+
end
|
641
|
+
|
642
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
643
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
644
|
+
unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
|
645
|
+
|
646
|
+
begin
|
647
|
+
#Unset a label
|
648
|
+
result = api_instance.unset_label(rpm_uln_remote_href, unset_label)
|
649
|
+
p result
|
650
|
+
rescue PulpRpmClient::ApiError => e
|
651
|
+
puts "Exception when calling RemotesUlnApi->unset_label: #{e}"
|
652
|
+
end
|
653
|
+
```
|
654
|
+
|
655
|
+
### Parameters
|
656
|
+
|
657
|
+
|
658
|
+
Name | Type | Description | Notes
|
659
|
+
------------- | ------------- | ------------- | -------------
|
660
|
+
**rpm_uln_remote_href** | **String**| |
|
661
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
662
|
+
|
663
|
+
### Return type
|
664
|
+
|
665
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
666
|
+
|
667
|
+
### Authorization
|
668
|
+
|
669
|
+
[basicAuth](../README.md#basicAuth)
|
670
|
+
|
671
|
+
### HTTP request headers
|
672
|
+
|
673
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
674
|
+
- **Accept**: application/json
|
675
|
+
|
676
|
+
|
555
677
|
## update
|
556
678
|
|
557
679
|
> AsyncOperationResponse update(rpm_uln_remote_href, rpm_uln_remote)
|
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -1,20 +1,22 @@
|
|
1
1
|
# PulpRpmClient::RepositoriesRpmApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ |
|
7
|
+
[**add_role**](RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ | Add a role
|
8
8
|
[**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
9
9
|
[**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
|
10
10
|
[**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
11
|
-
[**list_roles**](RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ |
|
11
|
+
[**list_roles**](RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ | List roles
|
12
12
|
[**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
|
13
|
-
[**my_permissions**](RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ |
|
13
|
+
[**my_permissions**](RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ | List user permissions
|
14
14
|
[**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
|
15
15
|
[**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
|
16
|
-
[**remove_role**](RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ |
|
16
|
+
[**remove_role**](RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ | Remove a role
|
17
|
+
[**set_label**](RepositoriesRpmApi.md#set_label) | **POST** {rpm_rpm_repository_href}set_label/ | Set a label
|
17
18
|
[**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
|
19
|
+
[**unset_label**](RepositoriesRpmApi.md#unset_label) | **POST** {rpm_rpm_repository_href}unset_label/ | Unset a label
|
18
20
|
[**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
|
19
21
|
|
20
22
|
|
@@ -23,7 +25,7 @@ Method | HTTP request | Description
|
|
23
25
|
|
24
26
|
> NestedRoleResponse add_role(rpm_rpm_repository_href, nested_role)
|
25
27
|
|
26
|
-
|
28
|
+
Add a role
|
27
29
|
|
28
30
|
Add a role for this object to users/groups.
|
29
31
|
|
@@ -44,6 +46,7 @@ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
|
44
46
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
45
47
|
|
46
48
|
begin
|
49
|
+
#Add a role
|
47
50
|
result = api_instance.add_role(rpm_rpm_repository_href, nested_role)
|
48
51
|
p result
|
49
52
|
rescue PulpRpmClient::ApiError => e
|
@@ -206,13 +209,16 @@ opts = {
|
|
206
209
|
name: 'name_example', # String | Filter results where name matches value
|
207
210
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
208
211
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
212
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
209
213
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
214
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
210
215
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
211
216
|
offset: 56, # Integer | The initial index from which to return the results.
|
212
217
|
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
213
218
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
214
219
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
215
220
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
221
|
+
q: 'q_example', # String |
|
216
222
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
217
223
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
218
224
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -246,14 +252,17 @@ Name | Type | Description | Notes
|
|
246
252
|
**name** | **String**| Filter results where name matches value | [optional]
|
247
253
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
248
254
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
255
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
249
256
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
257
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
250
258
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
251
259
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
252
260
|
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
253
261
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
254
262
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
255
263
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
256
|
-
**
|
264
|
+
**q** | **String**| | [optional]
|
265
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
257
266
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
258
267
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
259
268
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -284,7 +293,7 @@ Name | Type | Description | Notes
|
|
284
293
|
|
285
294
|
> ObjectRolesResponse list_roles(rpm_rpm_repository_href, opts)
|
286
295
|
|
287
|
-
|
296
|
+
List roles
|
288
297
|
|
289
298
|
List roles assigned to this object.
|
290
299
|
|
@@ -308,6 +317,7 @@ opts = {
|
|
308
317
|
}
|
309
318
|
|
310
319
|
begin
|
320
|
+
#List roles
|
311
321
|
result = api_instance.list_roles(rpm_rpm_repository_href, opts)
|
312
322
|
p result
|
313
323
|
rescue PulpRpmClient::ApiError => e
|
@@ -397,7 +407,7 @@ Name | Type | Description | Notes
|
|
397
407
|
|
398
408
|
> MyPermissionsResponse my_permissions(rpm_rpm_repository_href, opts)
|
399
409
|
|
400
|
-
|
410
|
+
List user permissions
|
401
411
|
|
402
412
|
List permissions available to the current user on this object.
|
403
413
|
|
@@ -421,6 +431,7 @@ opts = {
|
|
421
431
|
}
|
422
432
|
|
423
433
|
begin
|
434
|
+
#List user permissions
|
424
435
|
result = api_instance.my_permissions(rpm_rpm_repository_href, opts)
|
425
436
|
p result
|
426
437
|
rescue PulpRpmClient::ApiError => e
|
@@ -569,7 +580,7 @@ Name | Type | Description | Notes
|
|
569
580
|
|
570
581
|
> NestedRoleResponse remove_role(rpm_rpm_repository_href, nested_role)
|
571
582
|
|
572
|
-
|
583
|
+
Remove a role
|
573
584
|
|
574
585
|
Remove a role for this object from users/groups.
|
575
586
|
|
@@ -590,6 +601,7 @@ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
|
590
601
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
591
602
|
|
592
603
|
begin
|
604
|
+
#Remove a role
|
593
605
|
result = api_instance.remove_role(rpm_rpm_repository_href, nested_role)
|
594
606
|
p result
|
595
607
|
rescue PulpRpmClient::ApiError => e
|
@@ -619,6 +631,61 @@ Name | Type | Description | Notes
|
|
619
631
|
- **Accept**: application/json
|
620
632
|
|
621
633
|
|
634
|
+
## set_label
|
635
|
+
|
636
|
+
> SetLabelResponse set_label(rpm_rpm_repository_href, set_label)
|
637
|
+
|
638
|
+
Set a label
|
639
|
+
|
640
|
+
Set a single pulp_label on the object to a specific value or null.
|
641
|
+
|
642
|
+
### Example
|
643
|
+
|
644
|
+
```ruby
|
645
|
+
# load the gem
|
646
|
+
require 'pulp_rpm_client'
|
647
|
+
# setup authorization
|
648
|
+
PulpRpmClient.configure do |config|
|
649
|
+
# Configure HTTP basic authorization: basicAuth
|
650
|
+
config.username = 'YOUR USERNAME'
|
651
|
+
config.password = 'YOUR PASSWORD'
|
652
|
+
end
|
653
|
+
|
654
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
655
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
656
|
+
set_label = PulpRpmClient::SetLabel.new # SetLabel |
|
657
|
+
|
658
|
+
begin
|
659
|
+
#Set a label
|
660
|
+
result = api_instance.set_label(rpm_rpm_repository_href, set_label)
|
661
|
+
p result
|
662
|
+
rescue PulpRpmClient::ApiError => e
|
663
|
+
puts "Exception when calling RepositoriesRpmApi->set_label: #{e}"
|
664
|
+
end
|
665
|
+
```
|
666
|
+
|
667
|
+
### Parameters
|
668
|
+
|
669
|
+
|
670
|
+
Name | Type | Description | Notes
|
671
|
+
------------- | ------------- | ------------- | -------------
|
672
|
+
**rpm_rpm_repository_href** | **String**| |
|
673
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
674
|
+
|
675
|
+
### Return type
|
676
|
+
|
677
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
678
|
+
|
679
|
+
### Authorization
|
680
|
+
|
681
|
+
[basicAuth](../README.md#basicAuth)
|
682
|
+
|
683
|
+
### HTTP request headers
|
684
|
+
|
685
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
686
|
+
- **Accept**: application/json
|
687
|
+
|
688
|
+
|
622
689
|
## sync
|
623
690
|
|
624
691
|
> AsyncOperationResponse sync(rpm_rpm_repository_href, rpm_repository_sync_url)
|
@@ -674,6 +741,61 @@ Name | Type | Description | Notes
|
|
674
741
|
- **Accept**: application/json
|
675
742
|
|
676
743
|
|
744
|
+
## unset_label
|
745
|
+
|
746
|
+
> UnsetLabelResponse unset_label(rpm_rpm_repository_href, unset_label)
|
747
|
+
|
748
|
+
Unset a label
|
749
|
+
|
750
|
+
Unset a single pulp_label on the object.
|
751
|
+
|
752
|
+
### Example
|
753
|
+
|
754
|
+
```ruby
|
755
|
+
# load the gem
|
756
|
+
require 'pulp_rpm_client'
|
757
|
+
# setup authorization
|
758
|
+
PulpRpmClient.configure do |config|
|
759
|
+
# Configure HTTP basic authorization: basicAuth
|
760
|
+
config.username = 'YOUR USERNAME'
|
761
|
+
config.password = 'YOUR PASSWORD'
|
762
|
+
end
|
763
|
+
|
764
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
765
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
766
|
+
unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
|
767
|
+
|
768
|
+
begin
|
769
|
+
#Unset a label
|
770
|
+
result = api_instance.unset_label(rpm_rpm_repository_href, unset_label)
|
771
|
+
p result
|
772
|
+
rescue PulpRpmClient::ApiError => e
|
773
|
+
puts "Exception when calling RepositoriesRpmApi->unset_label: #{e}"
|
774
|
+
end
|
775
|
+
```
|
776
|
+
|
777
|
+
### Parameters
|
778
|
+
|
779
|
+
|
780
|
+
Name | Type | Description | Notes
|
781
|
+
------------- | ------------- | ------------- | -------------
|
782
|
+
**rpm_rpm_repository_href** | **String**| |
|
783
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
784
|
+
|
785
|
+
### Return type
|
786
|
+
|
787
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
788
|
+
|
789
|
+
### Authorization
|
790
|
+
|
791
|
+
[basicAuth](../README.md#basicAuth)
|
792
|
+
|
793
|
+
### HTTP request headers
|
794
|
+
|
795
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
796
|
+
- **Accept**: application/json
|
797
|
+
|
798
|
+
|
677
799
|
## update
|
678
800
|
|
679
801
|
> AsyncOperationResponse update(rpm_rpm_repository_href, rpm_rpm_repository)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpRpmClient::RepositoriesRpmVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -105,6 +105,7 @@ opts = {
|
|
105
105
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
106
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
107
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
+
q: 'q_example', # String |
|
108
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
109
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
110
111
|
}
|
@@ -142,6 +143,7 @@ Name | Type | Description | Notes
|
|
142
143
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
143
144
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
144
145
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
+
**q** | **String**| | [optional]
|
145
147
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
146
148
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
147
149
|
|
data/docs/RpmCompsApi.md
CHANGED
data/docs/RpmCopyApi.md
CHANGED
data/docs/SetLabel.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpRpmClient::SetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpRpmClient'
|
14
|
+
|
15
|
+
instance = PulpRpmClient::SetLabel.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpRpmClient::SetLabelResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpRpmClient'
|
14
|
+
|
15
|
+
instance = PulpRpmClient::SetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/UnsetLabel.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpRpmClient::UnsetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpRpmClient'
|
13
|
+
|
14
|
+
instance = PulpRpmClient::UnsetLabel.new(key: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpRpmClient::UnsetLabelResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | | [optional] [readonly]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpRpmClient'
|
14
|
+
|
15
|
+
instance = PulpRpmClient::UnsetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|