pulp_rpm_client 3.28.0 → 3.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +26 -4
- data/docs/ContentAdvisoriesApi.md +152 -2
- data/docs/ContentDistributionTreesApi.md +148 -0
- data/docs/ContentModulemdDefaultsApi.md +150 -2
- data/docs/ContentModulemdObsoletesApi.md +148 -0
- data/docs/ContentModulemdsApi.md +150 -2
- data/docs/ContentPackagecategoriesApi.md +148 -0
- data/docs/ContentPackageenvironmentsApi.md +148 -0
- data/docs/ContentPackagegroupsApi.md +148 -0
- data/docs/ContentPackagelangpacksApi.md +148 -0
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentRepoMetadataFilesApi.md +148 -0
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmModulemdDefaultsResponse.md +2 -0
- data/docs/RpmModulemdObsolete.md +2 -0
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +2 -0
- data/docs/RpmPackageCategoryResponse.md +2 -0
- data/docs/RpmPackageEnvironmentResponse.md +2 -0
- data/docs/RpmPackageGroupResponse.md +2 -0
- data/docs/RpmPackageLangpacksResponse.md +2 -0
- data/docs/RpmPackageResponse.md +2 -0
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmUpdateRecordResponse.md +2 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +151 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +13 -1
- data/lib/pulp_rpm_client/models/unset_label.rb +1 -1
- data/lib/pulp_rpm_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +29 -1
- data/spec/api/content_distribution_trees_api_spec.rb +27 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +28 -1
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +27 -0
- data/spec/api/content_modulemds_api_spec.rb +28 -1
- data/spec/api/content_packagecategories_api_spec.rb +27 -0
- data/spec/api/content_packageenvironments_api_spec.rb +27 -0
- data/spec/api/content_packagegroups_api_spec.rb +27 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +27 -0
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +27 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- metadata +79 -79
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c19f12248650c69dafe24f347bfa926e21b3adf98a0b7c61c101a7440b1559c0
|
4
|
+
data.tar.gz: 74ab0fda4f113fea545e787a762c27985a4bb2a1d2bbd7460810846035b514a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dc881be55ed2c41dfef0889307da2fd062f11a732308151376972531f343619216f6b9443774bfc894bd01ea98dbac297cdd72c2c028d9158531557c4b48a73
|
7
|
+
data.tar.gz: e1c4d7d2c1cc70aa7b729b5600dbc6a21b13e0f2e266687f9b459f7d18f9c5a8db52156346d5a763a49ed32cff491cd9cf3c28c5f428efcb440b72fef388c974
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.28.
|
10
|
+
- Package version: 3.28.1
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_rpm_client-3.28.
|
28
|
+
gem install ./pulp_rpm_client-3.28.1.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.28.
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.28.1.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_rpm_client', '~> 3.28.
|
37
|
+
gem 'pulp_rpm_client', '~> 3.28.1'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -101,30 +101,52 @@ Class | Method | HTTP request | Description
|
|
101
101
|
*PulpRpmClient::ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
|
102
102
|
*PulpRpmClient::ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
|
103
103
|
*PulpRpmClient::ContentAdvisoriesApi* | [**read**](docs/ContentAdvisoriesApi.md#read) | **GET** {rpm_update_record_href} | Inspect an update record
|
104
|
+
*PulpRpmClient::ContentAdvisoriesApi* | [**set_label**](docs/ContentAdvisoriesApi.md#set_label) | **POST** {rpm_update_record_href}set_label/ | Set a label
|
105
|
+
*PulpRpmClient::ContentAdvisoriesApi* | [**unset_label**](docs/ContentAdvisoriesApi.md#unset_label) | **POST** {rpm_update_record_href}unset_label/ | Unset a label
|
104
106
|
*PulpRpmClient::ContentDistributionTreesApi* | [**list**](docs/ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
|
105
107
|
*PulpRpmClient::ContentDistributionTreesApi* | [**read**](docs/ContentDistributionTreesApi.md#read) | **GET** {rpm_distribution_tree_href} | Inspect a distribution tree
|
108
|
+
*PulpRpmClient::ContentDistributionTreesApi* | [**set_label**](docs/ContentDistributionTreesApi.md#set_label) | **POST** {rpm_distribution_tree_href}set_label/ | Set a label
|
109
|
+
*PulpRpmClient::ContentDistributionTreesApi* | [**unset_label**](docs/ContentDistributionTreesApi.md#unset_label) | **POST** {rpm_distribution_tree_href}unset_label/ | Unset a label
|
106
110
|
*PulpRpmClient::ContentModulemdDefaultsApi* | [**create**](docs/ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
|
107
111
|
*PulpRpmClient::ContentModulemdDefaultsApi* | [**list**](docs/ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
|
108
112
|
*PulpRpmClient::ContentModulemdDefaultsApi* | [**read**](docs/ContentModulemdDefaultsApi.md#read) | **GET** {rpm_modulemd_defaults_href} | Inspect a modulemd defaults
|
113
|
+
*PulpRpmClient::ContentModulemdDefaultsApi* | [**set_label**](docs/ContentModulemdDefaultsApi.md#set_label) | **POST** {rpm_modulemd_defaults_href}set_label/ | Set a label
|
114
|
+
*PulpRpmClient::ContentModulemdDefaultsApi* | [**unset_label**](docs/ContentModulemdDefaultsApi.md#unset_label) | **POST** {rpm_modulemd_defaults_href}unset_label/ | Unset a label
|
109
115
|
*PulpRpmClient::ContentModulemdObsoletesApi* | [**create**](docs/ContentModulemdObsoletesApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | Create a modulemd obsolete
|
110
116
|
*PulpRpmClient::ContentModulemdObsoletesApi* | [**list**](docs/ContentModulemdObsoletesApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | List modulemd obsoletes
|
111
117
|
*PulpRpmClient::ContentModulemdObsoletesApi* | [**read**](docs/ContentModulemdObsoletesApi.md#read) | **GET** {rpm_modulemd_obsolete_href} | Inspect a modulemd obsolete
|
118
|
+
*PulpRpmClient::ContentModulemdObsoletesApi* | [**set_label**](docs/ContentModulemdObsoletesApi.md#set_label) | **POST** {rpm_modulemd_obsolete_href}set_label/ | Set a label
|
119
|
+
*PulpRpmClient::ContentModulemdObsoletesApi* | [**unset_label**](docs/ContentModulemdObsoletesApi.md#unset_label) | **POST** {rpm_modulemd_obsolete_href}unset_label/ | Unset a label
|
112
120
|
*PulpRpmClient::ContentModulemdsApi* | [**create**](docs/ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
|
113
121
|
*PulpRpmClient::ContentModulemdsApi* | [**list**](docs/ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
|
114
122
|
*PulpRpmClient::ContentModulemdsApi* | [**read**](docs/ContentModulemdsApi.md#read) | **GET** {rpm_modulemd_href} | Inspect a modulemd
|
123
|
+
*PulpRpmClient::ContentModulemdsApi* | [**set_label**](docs/ContentModulemdsApi.md#set_label) | **POST** {rpm_modulemd_href}set_label/ | Set a label
|
124
|
+
*PulpRpmClient::ContentModulemdsApi* | [**unset_label**](docs/ContentModulemdsApi.md#unset_label) | **POST** {rpm_modulemd_href}unset_label/ | Unset a label
|
115
125
|
*PulpRpmClient::ContentPackagecategoriesApi* | [**list**](docs/ContentPackagecategoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagecategories/ | List package categorys
|
116
126
|
*PulpRpmClient::ContentPackagecategoriesApi* | [**read**](docs/ContentPackagecategoriesApi.md#read) | **GET** {rpm_package_category_href} | Inspect a package category
|
127
|
+
*PulpRpmClient::ContentPackagecategoriesApi* | [**set_label**](docs/ContentPackagecategoriesApi.md#set_label) | **POST** {rpm_package_category_href}set_label/ | Set a label
|
128
|
+
*PulpRpmClient::ContentPackagecategoriesApi* | [**unset_label**](docs/ContentPackagecategoriesApi.md#unset_label) | **POST** {rpm_package_category_href}unset_label/ | Unset a label
|
117
129
|
*PulpRpmClient::ContentPackageenvironmentsApi* | [**list**](docs/ContentPackageenvironmentsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packageenvironments/ | List package environments
|
118
130
|
*PulpRpmClient::ContentPackageenvironmentsApi* | [**read**](docs/ContentPackageenvironmentsApi.md#read) | **GET** {rpm_package_environment_href} | Inspect a package environment
|
131
|
+
*PulpRpmClient::ContentPackageenvironmentsApi* | [**set_label**](docs/ContentPackageenvironmentsApi.md#set_label) | **POST** {rpm_package_environment_href}set_label/ | Set a label
|
132
|
+
*PulpRpmClient::ContentPackageenvironmentsApi* | [**unset_label**](docs/ContentPackageenvironmentsApi.md#unset_label) | **POST** {rpm_package_environment_href}unset_label/ | Unset a label
|
119
133
|
*PulpRpmClient::ContentPackagegroupsApi* | [**list**](docs/ContentPackagegroupsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagegroups/ | List package groups
|
120
134
|
*PulpRpmClient::ContentPackagegroupsApi* | [**read**](docs/ContentPackagegroupsApi.md#read) | **GET** {rpm_package_group_href} | Inspect a package group
|
135
|
+
*PulpRpmClient::ContentPackagegroupsApi* | [**set_label**](docs/ContentPackagegroupsApi.md#set_label) | **POST** {rpm_package_group_href}set_label/ | Set a label
|
136
|
+
*PulpRpmClient::ContentPackagegroupsApi* | [**unset_label**](docs/ContentPackagegroupsApi.md#unset_label) | **POST** {rpm_package_group_href}unset_label/ | Unset a label
|
121
137
|
*PulpRpmClient::ContentPackagelangpacksApi* | [**list**](docs/ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss
|
122
138
|
*PulpRpmClient::ContentPackagelangpacksApi* | [**read**](docs/ContentPackagelangpacksApi.md#read) | **GET** {rpm_package_langpacks_href} | Inspect a package langpacks
|
139
|
+
*PulpRpmClient::ContentPackagelangpacksApi* | [**set_label**](docs/ContentPackagelangpacksApi.md#set_label) | **POST** {rpm_package_langpacks_href}set_label/ | Set a label
|
140
|
+
*PulpRpmClient::ContentPackagelangpacksApi* | [**unset_label**](docs/ContentPackagelangpacksApi.md#unset_label) | **POST** {rpm_package_langpacks_href}unset_label/ | Unset a label
|
123
141
|
*PulpRpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
|
124
142
|
*PulpRpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
|
125
143
|
*PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
|
144
|
+
*PulpRpmClient::ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {rpm_package_href}set_label/ | Set a label
|
145
|
+
*PulpRpmClient::ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {rpm_package_href}unset_label/ | Unset a label
|
126
146
|
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
|
127
147
|
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**read**](docs/ContentRepoMetadataFilesApi.md#read) | **GET** {rpm_repo_metadata_file_href} | Inspect a repo metadata file
|
148
|
+
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**set_label**](docs/ContentRepoMetadataFilesApi.md#set_label) | **POST** {rpm_repo_metadata_file_href}set_label/ | Set a label
|
149
|
+
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**unset_label**](docs/ContentRepoMetadataFilesApi.md#unset_label) | **POST** {rpm_repo_metadata_file_href}unset_label/ | Unset a label
|
128
150
|
*PulpRpmClient::DistributionsRpmApi* | [**add_role**](docs/DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ | Add a role
|
129
151
|
*PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
130
152
|
*PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record |
|
8
8
|
| [**list**](ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records |
|
9
9
|
| [**read**](ContentAdvisoriesApi.md#read) | **GET** {rpm_update_record_href} | Inspect an update record |
|
10
|
+
| [**set_label**](ContentAdvisoriesApi.md#set_label) | **POST** {rpm_update_record_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentAdvisoriesApi.md#unset_label) | **POST** {rpm_update_record_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -32,6 +34,7 @@ end
|
|
32
34
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
33
35
|
opts = {
|
34
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
35
38
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
36
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
37
40
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
@@ -69,6 +72,7 @@ end
|
|
69
72
|
| Name | Type | Description | Notes |
|
70
73
|
| ---- | ---- | ----------- | ----- |
|
71
74
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
75
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
72
76
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
73
77
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
74
78
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
@@ -113,11 +117,12 @@ opts = {
|
|
113
117
|
id__in: ['inner_example'], # Array<String> | Filter results where id is in a comma-separated list of values
|
114
118
|
limit: 56, # Integer | Number of results to return per page.
|
115
119
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
-
ordering: ['-description'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
120
|
+
ordering: ['-description'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
121
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
118
122
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
119
123
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
120
124
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
125
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
121
126
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
122
127
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
123
128
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -170,11 +175,12 @@ end
|
|
170
175
|
| **id__in** | [**Array<String>**](String.md) | Filter results where id is in a comma-separated list of values | [optional] |
|
171
176
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
172
177
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
-
| **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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
178
|
+
| **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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
174
179
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
175
180
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
176
181
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
177
182
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
183
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
178
184
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
179
185
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
180
186
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -280,3 +286,147 @@ end
|
|
280
286
|
- **Content-Type**: Not defined
|
281
287
|
- **Accept**: application/json
|
282
288
|
|
289
|
+
|
290
|
+
## set_label
|
291
|
+
|
292
|
+
> <SetLabelResponse> set_label(rpm_update_record_href, set_label)
|
293
|
+
|
294
|
+
Set a label
|
295
|
+
|
296
|
+
Set a single pulp_label on the object to a specific value or null.
|
297
|
+
|
298
|
+
### Examples
|
299
|
+
|
300
|
+
```ruby
|
301
|
+
require 'time'
|
302
|
+
require 'pulp_rpm_client'
|
303
|
+
# setup authorization
|
304
|
+
PulpRpmClient.configure do |config|
|
305
|
+
# Configure HTTP basic authorization: basicAuth
|
306
|
+
config.username = 'YOUR USERNAME'
|
307
|
+
config.password = 'YOUR PASSWORD'
|
308
|
+
end
|
309
|
+
|
310
|
+
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
311
|
+
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
312
|
+
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
313
|
+
|
314
|
+
begin
|
315
|
+
# Set a label
|
316
|
+
result = api_instance.set_label(rpm_update_record_href, set_label)
|
317
|
+
p result
|
318
|
+
rescue PulpRpmClient::ApiError => e
|
319
|
+
puts "Error when calling ContentAdvisoriesApi->set_label: #{e}"
|
320
|
+
end
|
321
|
+
```
|
322
|
+
|
323
|
+
#### Using the set_label_with_http_info variant
|
324
|
+
|
325
|
+
This returns an Array which contains the response data, status code and headers.
|
326
|
+
|
327
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_update_record_href, set_label)
|
328
|
+
|
329
|
+
```ruby
|
330
|
+
begin
|
331
|
+
# Set a label
|
332
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_update_record_href, set_label)
|
333
|
+
p status_code # => 2xx
|
334
|
+
p headers # => { ... }
|
335
|
+
p data # => <SetLabelResponse>
|
336
|
+
rescue PulpRpmClient::ApiError => e
|
337
|
+
puts "Error when calling ContentAdvisoriesApi->set_label_with_http_info: #{e}"
|
338
|
+
end
|
339
|
+
```
|
340
|
+
|
341
|
+
### Parameters
|
342
|
+
|
343
|
+
| Name | Type | Description | Notes |
|
344
|
+
| ---- | ---- | ----------- | ----- |
|
345
|
+
| **rpm_update_record_href** | **String** | | |
|
346
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
347
|
+
|
348
|
+
### Return type
|
349
|
+
|
350
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
351
|
+
|
352
|
+
### Authorization
|
353
|
+
|
354
|
+
[basicAuth](../README.md#basicAuth)
|
355
|
+
|
356
|
+
### HTTP request headers
|
357
|
+
|
358
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
359
|
+
- **Accept**: application/json
|
360
|
+
|
361
|
+
|
362
|
+
## unset_label
|
363
|
+
|
364
|
+
> <UnsetLabelResponse> unset_label(rpm_update_record_href, unset_label)
|
365
|
+
|
366
|
+
Unset a label
|
367
|
+
|
368
|
+
Unset a single pulp_label on the object.
|
369
|
+
|
370
|
+
### Examples
|
371
|
+
|
372
|
+
```ruby
|
373
|
+
require 'time'
|
374
|
+
require 'pulp_rpm_client'
|
375
|
+
# setup authorization
|
376
|
+
PulpRpmClient.configure do |config|
|
377
|
+
# Configure HTTP basic authorization: basicAuth
|
378
|
+
config.username = 'YOUR USERNAME'
|
379
|
+
config.password = 'YOUR PASSWORD'
|
380
|
+
end
|
381
|
+
|
382
|
+
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
383
|
+
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
384
|
+
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
385
|
+
|
386
|
+
begin
|
387
|
+
# Unset a label
|
388
|
+
result = api_instance.unset_label(rpm_update_record_href, unset_label)
|
389
|
+
p result
|
390
|
+
rescue PulpRpmClient::ApiError => e
|
391
|
+
puts "Error when calling ContentAdvisoriesApi->unset_label: #{e}"
|
392
|
+
end
|
393
|
+
```
|
394
|
+
|
395
|
+
#### Using the unset_label_with_http_info variant
|
396
|
+
|
397
|
+
This returns an Array which contains the response data, status code and headers.
|
398
|
+
|
399
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_update_record_href, unset_label)
|
400
|
+
|
401
|
+
```ruby
|
402
|
+
begin
|
403
|
+
# Unset a label
|
404
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_update_record_href, unset_label)
|
405
|
+
p status_code # => 2xx
|
406
|
+
p headers # => { ... }
|
407
|
+
p data # => <UnsetLabelResponse>
|
408
|
+
rescue PulpRpmClient::ApiError => e
|
409
|
+
puts "Error when calling ContentAdvisoriesApi->unset_label_with_http_info: #{e}"
|
410
|
+
end
|
411
|
+
```
|
412
|
+
|
413
|
+
### Parameters
|
414
|
+
|
415
|
+
| Name | Type | Description | Notes |
|
416
|
+
| ---- | ---- | ----------- | ----- |
|
417
|
+
| **rpm_update_record_href** | **String** | | |
|
418
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
419
|
+
|
420
|
+
### Return type
|
421
|
+
|
422
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
423
|
+
|
424
|
+
### Authorization
|
425
|
+
|
426
|
+
[basicAuth](../README.md#basicAuth)
|
427
|
+
|
428
|
+
### HTTP request headers
|
429
|
+
|
430
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
431
|
+
- **Accept**: application/json
|
432
|
+
|
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees |
|
8
8
|
| [**read**](ContentDistributionTreesApi.md#read) | **GET** {rpm_distribution_tree_href} | Inspect a distribution tree |
|
9
|
+
| [**set_label**](ContentDistributionTreesApi.md#set_label) | **POST** {rpm_distribution_tree_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentDistributionTreesApi.md#unset_label) | **POST** {rpm_distribution_tree_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -37,6 +39,7 @@ opts = {
|
|
37
39
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
38
40
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
41
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
42
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
40
43
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
41
44
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
42
45
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -83,6 +86,7 @@ end
|
|
83
86
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
84
87
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
85
88
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
89
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
86
90
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
87
91
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
88
92
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -179,3 +183,147 @@ end
|
|
179
183
|
- **Content-Type**: Not defined
|
180
184
|
- **Accept**: application/json
|
181
185
|
|
186
|
+
|
187
|
+
## set_label
|
188
|
+
|
189
|
+
> <SetLabelResponse> set_label(rpm_distribution_tree_href, set_label)
|
190
|
+
|
191
|
+
Set a label
|
192
|
+
|
193
|
+
Set a single pulp_label on the object to a specific value or null.
|
194
|
+
|
195
|
+
### Examples
|
196
|
+
|
197
|
+
```ruby
|
198
|
+
require 'time'
|
199
|
+
require 'pulp_rpm_client'
|
200
|
+
# setup authorization
|
201
|
+
PulpRpmClient.configure do |config|
|
202
|
+
# Configure HTTP basic authorization: basicAuth
|
203
|
+
config.username = 'YOUR USERNAME'
|
204
|
+
config.password = 'YOUR PASSWORD'
|
205
|
+
end
|
206
|
+
|
207
|
+
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
208
|
+
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
209
|
+
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
210
|
+
|
211
|
+
begin
|
212
|
+
# Set a label
|
213
|
+
result = api_instance.set_label(rpm_distribution_tree_href, set_label)
|
214
|
+
p result
|
215
|
+
rescue PulpRpmClient::ApiError => e
|
216
|
+
puts "Error when calling ContentDistributionTreesApi->set_label: #{e}"
|
217
|
+
end
|
218
|
+
```
|
219
|
+
|
220
|
+
#### Using the set_label_with_http_info variant
|
221
|
+
|
222
|
+
This returns an Array which contains the response data, status code and headers.
|
223
|
+
|
224
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_distribution_tree_href, set_label)
|
225
|
+
|
226
|
+
```ruby
|
227
|
+
begin
|
228
|
+
# Set a label
|
229
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_distribution_tree_href, set_label)
|
230
|
+
p status_code # => 2xx
|
231
|
+
p headers # => { ... }
|
232
|
+
p data # => <SetLabelResponse>
|
233
|
+
rescue PulpRpmClient::ApiError => e
|
234
|
+
puts "Error when calling ContentDistributionTreesApi->set_label_with_http_info: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
| Name | Type | Description | Notes |
|
241
|
+
| ---- | ---- | ----------- | ----- |
|
242
|
+
| **rpm_distribution_tree_href** | **String** | | |
|
243
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
244
|
+
|
245
|
+
### Return type
|
246
|
+
|
247
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
248
|
+
|
249
|
+
### Authorization
|
250
|
+
|
251
|
+
[basicAuth](../README.md#basicAuth)
|
252
|
+
|
253
|
+
### HTTP request headers
|
254
|
+
|
255
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
256
|
+
- **Accept**: application/json
|
257
|
+
|
258
|
+
|
259
|
+
## unset_label
|
260
|
+
|
261
|
+
> <UnsetLabelResponse> unset_label(rpm_distribution_tree_href, unset_label)
|
262
|
+
|
263
|
+
Unset a label
|
264
|
+
|
265
|
+
Unset a single pulp_label on the object.
|
266
|
+
|
267
|
+
### Examples
|
268
|
+
|
269
|
+
```ruby
|
270
|
+
require 'time'
|
271
|
+
require 'pulp_rpm_client'
|
272
|
+
# setup authorization
|
273
|
+
PulpRpmClient.configure do |config|
|
274
|
+
# Configure HTTP basic authorization: basicAuth
|
275
|
+
config.username = 'YOUR USERNAME'
|
276
|
+
config.password = 'YOUR PASSWORD'
|
277
|
+
end
|
278
|
+
|
279
|
+
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
280
|
+
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
281
|
+
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
282
|
+
|
283
|
+
begin
|
284
|
+
# Unset a label
|
285
|
+
result = api_instance.unset_label(rpm_distribution_tree_href, unset_label)
|
286
|
+
p result
|
287
|
+
rescue PulpRpmClient::ApiError => e
|
288
|
+
puts "Error when calling ContentDistributionTreesApi->unset_label: #{e}"
|
289
|
+
end
|
290
|
+
```
|
291
|
+
|
292
|
+
#### Using the unset_label_with_http_info variant
|
293
|
+
|
294
|
+
This returns an Array which contains the response data, status code and headers.
|
295
|
+
|
296
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_distribution_tree_href, unset_label)
|
297
|
+
|
298
|
+
```ruby
|
299
|
+
begin
|
300
|
+
# Unset a label
|
301
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_distribution_tree_href, unset_label)
|
302
|
+
p status_code # => 2xx
|
303
|
+
p headers # => { ... }
|
304
|
+
p data # => <UnsetLabelResponse>
|
305
|
+
rescue PulpRpmClient::ApiError => e
|
306
|
+
puts "Error when calling ContentDistributionTreesApi->unset_label_with_http_info: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
### Parameters
|
311
|
+
|
312
|
+
| Name | Type | Description | Notes |
|
313
|
+
| ---- | ---- | ----------- | ----- |
|
314
|
+
| **rpm_distribution_tree_href** | **String** | | |
|
315
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
316
|
+
|
317
|
+
### Return type
|
318
|
+
|
319
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
320
|
+
|
321
|
+
### Authorization
|
322
|
+
|
323
|
+
[basicAuth](../README.md#basicAuth)
|
324
|
+
|
325
|
+
### HTTP request headers
|
326
|
+
|
327
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
328
|
+
- **Accept**: application/json
|
329
|
+
|