pulp_rpm_client 3.22.3 → 3.22.5
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 +23 -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 +136 -10
- data/docs/PublicationsRpmApi.md +15 -9
- data/docs/RemotesRpmApi.md +135 -9
- data/docs/RemotesUlnApi.md +135 -9
- data/docs/RepositoriesRpmApi.md +136 -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 +23 -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 +163 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +163 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +163 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +163 -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 +9 -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 +35 -0
- data/spec/api/publications_rpm_api_spec.rb +5 -0
- data/spec/api/remotes_rpm_api_spec.rb +35 -0
- data/spec/api/remotes_uln_api_spec.rb +35 -0
- data/spec/api/repositories_rpm_api_spec.rb +35 -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 +95 -79
data/docs/DistributionsRpmApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpRpmClient::DistributionsRpmApi
|
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**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
|
7
|
+
[**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ | Add a role
|
8
8
|
[**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
9
9
|
[**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
10
10
|
[**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
11
|
-
[**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
|
12
|
-
[**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
|
11
|
+
[**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
|
14
14
|
[**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
|
15
|
-
[**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
|
15
|
+
[**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](DistributionsRpmApi.md#set_label) | **POST** {rpm_rpm_distribution_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](DistributionsRpmApi.md#unset_label) | **POST** {rpm_rpm_distribution_href}unset_label/ | Unset a label
|
16
18
|
[**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(rpm_rpm_distribution_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_rpm_distribution_href = 'rpm_rpm_distribution_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_rpm_distribution_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpRpmClient::ApiError => e
|
@@ -207,13 +210,18 @@ opts = {
|
|
207
210
|
name: 'name_example', # String | Filter results where name matches value
|
208
211
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
209
212
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
213
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
210
214
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
215
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
216
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
217
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
211
218
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
212
219
|
offset: 56, # Integer | The initial index from which to return the results.
|
213
220
|
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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
214
221
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
215
222
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
216
223
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
224
|
+
q: 'q_example', # String |
|
217
225
|
repository: 'repository_example', # String | Filter results where repository matches value
|
218
226
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
219
227
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -243,14 +251,19 @@ Name | Type | Description | Notes
|
|
243
251
|
**name** | **String**| Filter results where name matches value | [optional]
|
244
252
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
245
253
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
254
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
246
255
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
256
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
257
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
258
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
247
259
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
248
260
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
249
261
|
**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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
250
262
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
251
263
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
252
264
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
253
|
-
**
|
265
|
+
**q** | **String**| | [optional]
|
266
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
254
267
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
255
268
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
256
269
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -274,7 +287,7 @@ Name | Type | Description | Notes
|
|
274
287
|
|
275
288
|
> ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
|
276
289
|
|
277
|
-
|
290
|
+
List roles
|
278
291
|
|
279
292
|
List roles assigned to this object.
|
280
293
|
|
@@ -298,6 +311,7 @@ opts = {
|
|
298
311
|
}
|
299
312
|
|
300
313
|
begin
|
314
|
+
#List roles
|
301
315
|
result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
|
302
316
|
p result
|
303
317
|
rescue PulpRpmClient::ApiError => e
|
@@ -332,7 +346,7 @@ Name | Type | Description | Notes
|
|
332
346
|
|
333
347
|
> MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
|
334
348
|
|
335
|
-
|
349
|
+
List user permissions
|
336
350
|
|
337
351
|
List permissions available to the current user on this object.
|
338
352
|
|
@@ -356,6 +370,7 @@ opts = {
|
|
356
370
|
}
|
357
371
|
|
358
372
|
begin
|
373
|
+
#List user permissions
|
359
374
|
result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
|
360
375
|
p result
|
361
376
|
rescue PulpRpmClient::ApiError => e
|
@@ -504,7 +519,7 @@ Name | Type | Description | Notes
|
|
504
519
|
|
505
520
|
> NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
|
506
521
|
|
507
|
-
|
522
|
+
Remove a role
|
508
523
|
|
509
524
|
Remove a role for this object from users/groups.
|
510
525
|
|
@@ -525,6 +540,7 @@ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
|
525
540
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
526
541
|
|
527
542
|
begin
|
543
|
+
#Remove a role
|
528
544
|
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
|
529
545
|
p result
|
530
546
|
rescue PulpRpmClient::ApiError => e
|
@@ -554,6 +570,116 @@ Name | Type | Description | Notes
|
|
554
570
|
- **Accept**: application/json
|
555
571
|
|
556
572
|
|
573
|
+
## set_label
|
574
|
+
|
575
|
+
> SetLabelResponse set_label(rpm_rpm_distribution_href, set_label)
|
576
|
+
|
577
|
+
Set a label
|
578
|
+
|
579
|
+
Set a single pulp_label on the object to a specific value or null.
|
580
|
+
|
581
|
+
### Example
|
582
|
+
|
583
|
+
```ruby
|
584
|
+
# load the gem
|
585
|
+
require 'pulp_rpm_client'
|
586
|
+
# setup authorization
|
587
|
+
PulpRpmClient.configure do |config|
|
588
|
+
# Configure HTTP basic authorization: basicAuth
|
589
|
+
config.username = 'YOUR USERNAME'
|
590
|
+
config.password = 'YOUR PASSWORD'
|
591
|
+
end
|
592
|
+
|
593
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
594
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
595
|
+
set_label = PulpRpmClient::SetLabel.new # SetLabel |
|
596
|
+
|
597
|
+
begin
|
598
|
+
#Set a label
|
599
|
+
result = api_instance.set_label(rpm_rpm_distribution_href, set_label)
|
600
|
+
p result
|
601
|
+
rescue PulpRpmClient::ApiError => e
|
602
|
+
puts "Exception when calling DistributionsRpmApi->set_label: #{e}"
|
603
|
+
end
|
604
|
+
```
|
605
|
+
|
606
|
+
### Parameters
|
607
|
+
|
608
|
+
|
609
|
+
Name | Type | Description | Notes
|
610
|
+
------------- | ------------- | ------------- | -------------
|
611
|
+
**rpm_rpm_distribution_href** | **String**| |
|
612
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
613
|
+
|
614
|
+
### Return type
|
615
|
+
|
616
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
617
|
+
|
618
|
+
### Authorization
|
619
|
+
|
620
|
+
[basicAuth](../README.md#basicAuth)
|
621
|
+
|
622
|
+
### HTTP request headers
|
623
|
+
|
624
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
625
|
+
- **Accept**: application/json
|
626
|
+
|
627
|
+
|
628
|
+
## unset_label
|
629
|
+
|
630
|
+
> UnsetLabelResponse unset_label(rpm_rpm_distribution_href, unset_label)
|
631
|
+
|
632
|
+
Unset a label
|
633
|
+
|
634
|
+
Unset a single pulp_label on the object.
|
635
|
+
|
636
|
+
### Example
|
637
|
+
|
638
|
+
```ruby
|
639
|
+
# load the gem
|
640
|
+
require 'pulp_rpm_client'
|
641
|
+
# setup authorization
|
642
|
+
PulpRpmClient.configure do |config|
|
643
|
+
# Configure HTTP basic authorization: basicAuth
|
644
|
+
config.username = 'YOUR USERNAME'
|
645
|
+
config.password = 'YOUR PASSWORD'
|
646
|
+
end
|
647
|
+
|
648
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
649
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
650
|
+
unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
|
651
|
+
|
652
|
+
begin
|
653
|
+
#Unset a label
|
654
|
+
result = api_instance.unset_label(rpm_rpm_distribution_href, unset_label)
|
655
|
+
p result
|
656
|
+
rescue PulpRpmClient::ApiError => e
|
657
|
+
puts "Exception when calling DistributionsRpmApi->unset_label: #{e}"
|
658
|
+
end
|
659
|
+
```
|
660
|
+
|
661
|
+
### Parameters
|
662
|
+
|
663
|
+
|
664
|
+
Name | Type | Description | Notes
|
665
|
+
------------- | ------------- | ------------- | -------------
|
666
|
+
**rpm_rpm_distribution_href** | **String**| |
|
667
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
668
|
+
|
669
|
+
### Return type
|
670
|
+
|
671
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
672
|
+
|
673
|
+
### Authorization
|
674
|
+
|
675
|
+
[basicAuth](../README.md#basicAuth)
|
676
|
+
|
677
|
+
### HTTP request headers
|
678
|
+
|
679
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
680
|
+
- **Accept**: application/json
|
681
|
+
|
682
|
+
|
557
683
|
## update
|
558
684
|
|
559
685
|
> AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpRpmClient::PublicationsRpmApi
|
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**](PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ |
|
7
|
+
[**add_role**](PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ | Add a role
|
8
8
|
[**create**](PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
|
9
9
|
[**delete**](PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
|
10
10
|
[**list**](PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
|
11
|
-
[**list_roles**](PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ |
|
12
|
-
[**my_permissions**](PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ |
|
11
|
+
[**list_roles**](PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ | List user permissions
|
13
13
|
[**read**](PublicationsRpmApi.md#read) | **GET** {rpm_rpm_publication_href} | Inspect a rpm publication
|
14
|
-
[**remove_role**](PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ |
|
14
|
+
[**remove_role**](PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ | Remove a role
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
19
19
|
|
20
20
|
> NestedRoleResponse add_role(rpm_rpm_publication_href, nested_role)
|
21
21
|
|
22
|
-
|
22
|
+
Add a role
|
23
23
|
|
24
24
|
Add a role for this object to users/groups.
|
25
25
|
|
@@ -40,6 +40,7 @@ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
|
40
40
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
41
41
|
|
42
42
|
begin
|
43
|
+
#Add a role
|
43
44
|
result = api_instance.add_role(rpm_rpm_publication_href, nested_role)
|
44
45
|
p result
|
45
46
|
rescue PulpRpmClient::ApiError => e
|
@@ -209,6 +210,7 @@ opts = {
|
|
209
210
|
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
|
210
211
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
211
212
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
213
|
+
q: 'q_example', # String |
|
212
214
|
repository: 'repository_example', # String | Repository referenced by HREF
|
213
215
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
214
216
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -242,6 +244,7 @@ Name | Type | Description | Notes
|
|
242
244
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
243
245
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
244
246
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
247
|
+
**q** | **String**| | [optional]
|
245
248
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
246
249
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
247
250
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -265,7 +268,7 @@ Name | Type | Description | Notes
|
|
265
268
|
|
266
269
|
> ObjectRolesResponse list_roles(rpm_rpm_publication_href, opts)
|
267
270
|
|
268
|
-
|
271
|
+
List roles
|
269
272
|
|
270
273
|
List roles assigned to this object.
|
271
274
|
|
@@ -289,6 +292,7 @@ opts = {
|
|
289
292
|
}
|
290
293
|
|
291
294
|
begin
|
295
|
+
#List roles
|
292
296
|
result = api_instance.list_roles(rpm_rpm_publication_href, opts)
|
293
297
|
p result
|
294
298
|
rescue PulpRpmClient::ApiError => e
|
@@ -323,7 +327,7 @@ Name | Type | Description | Notes
|
|
323
327
|
|
324
328
|
> MyPermissionsResponse my_permissions(rpm_rpm_publication_href, opts)
|
325
329
|
|
326
|
-
|
330
|
+
List user permissions
|
327
331
|
|
328
332
|
List permissions available to the current user on this object.
|
329
333
|
|
@@ -347,6 +351,7 @@ opts = {
|
|
347
351
|
}
|
348
352
|
|
349
353
|
begin
|
354
|
+
#List user permissions
|
350
355
|
result = api_instance.my_permissions(rpm_rpm_publication_href, opts)
|
351
356
|
p result
|
352
357
|
rescue PulpRpmClient::ApiError => e
|
@@ -440,7 +445,7 @@ Name | Type | Description | Notes
|
|
440
445
|
|
441
446
|
> NestedRoleResponse remove_role(rpm_rpm_publication_href, nested_role)
|
442
447
|
|
443
|
-
|
448
|
+
Remove a role
|
444
449
|
|
445
450
|
Remove a role for this object from users/groups.
|
446
451
|
|
@@ -461,6 +466,7 @@ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
|
461
466
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
462
467
|
|
463
468
|
begin
|
469
|
+
#Remove a role
|
464
470
|
result = api_instance.remove_role(rpm_rpm_publication_href, nested_role)
|
465
471
|
p result
|
466
472
|
rescue PulpRpmClient::ApiError => e
|
data/docs/RemotesRpmApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpRpmClient::RemotesRpmApi
|
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**](RemotesRpmApi.md#add_role) | **POST** {rpm_rpm_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesRpmApi.md#add_role) | **POST** {rpm_rpm_remote_href}add_role/ | Add a role
|
8
8
|
[**create**](RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
|
9
9
|
[**delete**](RemotesRpmApi.md#delete) | **DELETE** {rpm_rpm_remote_href} | Delete a rpm remote
|
10
10
|
[**list**](RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
|
11
|
-
[**list_roles**](RemotesRpmApi.md#list_roles) | **GET** {rpm_rpm_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesRpmApi.md#my_permissions) | **GET** {rpm_rpm_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesRpmApi.md#list_roles) | **GET** {rpm_rpm_remote_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](RemotesRpmApi.md#my_permissions) | **GET** {rpm_rpm_remote_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
|
14
14
|
[**read**](RemotesRpmApi.md#read) | **GET** {rpm_rpm_remote_href} | Inspect a rpm remote
|
15
|
-
[**remove_role**](RemotesRpmApi.md#remove_role) | **POST** {rpm_rpm_remote_href}remove_role/ |
|
15
|
+
[**remove_role**](RemotesRpmApi.md#remove_role) | **POST** {rpm_rpm_remote_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](RemotesRpmApi.md#set_label) | **POST** {rpm_rpm_remote_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](RemotesRpmApi.md#unset_label) | **POST** {rpm_rpm_remote_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RemotesRpmApi.md#update) | **PUT** {rpm_rpm_remote_href} | Update a rpm remote
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(rpm_rpm_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_rpm_remote_href = 'rpm_rpm_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_rpm_remote_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpRpmClient::ApiError => e
|
@@ -203,7 +206,11 @@ 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__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
212
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
213
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
207
214
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
215
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
216
|
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 +223,7 @@ opts = {
|
|
216
223
|
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
224
|
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
225
|
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
|
226
|
+
q: 'q_example', # String |
|
219
227
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
220
228
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
221
229
|
}
|
@@ -238,7 +246,11 @@ Name | Type | Description | Notes
|
|
238
246
|
**name** | **String**| Filter results where name matches value | [optional]
|
239
247
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
248
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
249
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
241
250
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
251
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
252
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
253
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
242
254
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
255
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
256
|
**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 +263,7 @@ Name | Type | Description | Notes
|
|
251
263
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
252
264
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
253
265
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
266
|
+
**q** | **String**| | [optional]
|
254
267
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
255
268
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
256
269
|
|
@@ -272,7 +285,7 @@ Name | Type | Description | Notes
|
|
272
285
|
|
273
286
|
> ObjectRolesResponse list_roles(rpm_rpm_remote_href, opts)
|
274
287
|
|
275
|
-
|
288
|
+
List roles
|
276
289
|
|
277
290
|
List roles assigned to this object.
|
278
291
|
|
@@ -296,6 +309,7 @@ opts = {
|
|
296
309
|
}
|
297
310
|
|
298
311
|
begin
|
312
|
+
#List roles
|
299
313
|
result = api_instance.list_roles(rpm_rpm_remote_href, opts)
|
300
314
|
p result
|
301
315
|
rescue PulpRpmClient::ApiError => e
|
@@ -330,7 +344,7 @@ Name | Type | Description | Notes
|
|
330
344
|
|
331
345
|
> MyPermissionsResponse my_permissions(rpm_rpm_remote_href, opts)
|
332
346
|
|
333
|
-
|
347
|
+
List user permissions
|
334
348
|
|
335
349
|
List permissions available to the current user on this object.
|
336
350
|
|
@@ -354,6 +368,7 @@ opts = {
|
|
354
368
|
}
|
355
369
|
|
356
370
|
begin
|
371
|
+
#List user permissions
|
357
372
|
result = api_instance.my_permissions(rpm_rpm_remote_href, opts)
|
358
373
|
p result
|
359
374
|
rescue PulpRpmClient::ApiError => e
|
@@ -502,7 +517,7 @@ Name | Type | Description | Notes
|
|
502
517
|
|
503
518
|
> NestedRoleResponse remove_role(rpm_rpm_remote_href, nested_role)
|
504
519
|
|
505
|
-
|
520
|
+
Remove a role
|
506
521
|
|
507
522
|
Remove a role for this object from users/groups.
|
508
523
|
|
@@ -523,6 +538,7 @@ rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
|
523
538
|
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
524
539
|
|
525
540
|
begin
|
541
|
+
#Remove a role
|
526
542
|
result = api_instance.remove_role(rpm_rpm_remote_href, nested_role)
|
527
543
|
p result
|
528
544
|
rescue PulpRpmClient::ApiError => e
|
@@ -552,6 +568,116 @@ Name | Type | Description | Notes
|
|
552
568
|
- **Accept**: application/json
|
553
569
|
|
554
570
|
|
571
|
+
## set_label
|
572
|
+
|
573
|
+
> SetLabelResponse set_label(rpm_rpm_remote_href, set_label)
|
574
|
+
|
575
|
+
Set a label
|
576
|
+
|
577
|
+
Set a single pulp_label on the object to a specific value or null.
|
578
|
+
|
579
|
+
### Example
|
580
|
+
|
581
|
+
```ruby
|
582
|
+
# load the gem
|
583
|
+
require 'pulp_rpm_client'
|
584
|
+
# setup authorization
|
585
|
+
PulpRpmClient.configure do |config|
|
586
|
+
# Configure HTTP basic authorization: basicAuth
|
587
|
+
config.username = 'YOUR USERNAME'
|
588
|
+
config.password = 'YOUR PASSWORD'
|
589
|
+
end
|
590
|
+
|
591
|
+
api_instance = PulpRpmClient::RemotesRpmApi.new
|
592
|
+
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
593
|
+
set_label = PulpRpmClient::SetLabel.new # SetLabel |
|
594
|
+
|
595
|
+
begin
|
596
|
+
#Set a label
|
597
|
+
result = api_instance.set_label(rpm_rpm_remote_href, set_label)
|
598
|
+
p result
|
599
|
+
rescue PulpRpmClient::ApiError => e
|
600
|
+
puts "Exception when calling RemotesRpmApi->set_label: #{e}"
|
601
|
+
end
|
602
|
+
```
|
603
|
+
|
604
|
+
### Parameters
|
605
|
+
|
606
|
+
|
607
|
+
Name | Type | Description | Notes
|
608
|
+
------------- | ------------- | ------------- | -------------
|
609
|
+
**rpm_rpm_remote_href** | **String**| |
|
610
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
611
|
+
|
612
|
+
### Return type
|
613
|
+
|
614
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
615
|
+
|
616
|
+
### Authorization
|
617
|
+
|
618
|
+
[basicAuth](../README.md#basicAuth)
|
619
|
+
|
620
|
+
### HTTP request headers
|
621
|
+
|
622
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
623
|
+
- **Accept**: application/json
|
624
|
+
|
625
|
+
|
626
|
+
## unset_label
|
627
|
+
|
628
|
+
> UnsetLabelResponse unset_label(rpm_rpm_remote_href, unset_label)
|
629
|
+
|
630
|
+
Unset a label
|
631
|
+
|
632
|
+
Unset a single pulp_label on the object.
|
633
|
+
|
634
|
+
### Example
|
635
|
+
|
636
|
+
```ruby
|
637
|
+
# load the gem
|
638
|
+
require 'pulp_rpm_client'
|
639
|
+
# setup authorization
|
640
|
+
PulpRpmClient.configure do |config|
|
641
|
+
# Configure HTTP basic authorization: basicAuth
|
642
|
+
config.username = 'YOUR USERNAME'
|
643
|
+
config.password = 'YOUR PASSWORD'
|
644
|
+
end
|
645
|
+
|
646
|
+
api_instance = PulpRpmClient::RemotesRpmApi.new
|
647
|
+
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
648
|
+
unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
|
649
|
+
|
650
|
+
begin
|
651
|
+
#Unset a label
|
652
|
+
result = api_instance.unset_label(rpm_rpm_remote_href, unset_label)
|
653
|
+
p result
|
654
|
+
rescue PulpRpmClient::ApiError => e
|
655
|
+
puts "Exception when calling RemotesRpmApi->unset_label: #{e}"
|
656
|
+
end
|
657
|
+
```
|
658
|
+
|
659
|
+
### Parameters
|
660
|
+
|
661
|
+
|
662
|
+
Name | Type | Description | Notes
|
663
|
+
------------- | ------------- | ------------- | -------------
|
664
|
+
**rpm_rpm_remote_href** | **String**| |
|
665
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
666
|
+
|
667
|
+
### Return type
|
668
|
+
|
669
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
670
|
+
|
671
|
+
### Authorization
|
672
|
+
|
673
|
+
[basicAuth](../README.md#basicAuth)
|
674
|
+
|
675
|
+
### HTTP request headers
|
676
|
+
|
677
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
678
|
+
- **Accept**: application/json
|
679
|
+
|
680
|
+
|
555
681
|
## update
|
556
682
|
|
557
683
|
> AsyncOperationResponse update(rpm_rpm_remote_href, rpm_rpm_remote)
|