pulp_deb_client 3.5.1 → 3.5.2
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 +31 -4
- data/docs/ContentGenericContentsApi.md +152 -2
- data/docs/ContentInstallerFileIndicesApi.md +150 -2
- data/docs/ContentInstallerPackagesApi.md +152 -2
- data/docs/ContentPackageIndicesApi.md +150 -2
- data/docs/ContentPackageReleaseComponentsApi.md +150 -2
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentReleaseArchitecturesApi.md +150 -2
- data/docs/ContentReleaseComponentsApi.md +150 -2
- data/docs/ContentReleaseFilesApi.md +150 -2
- data/docs/ContentReleasesApi.md +150 -2
- data/docs/ContentSourceIndicesApi.md +150 -2
- data/docs/ContentSourcePackagesApi.md +150 -2
- data/docs/ContentSourceReleaseComponentsApi.md +150 -2
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +4 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +29 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
- data/spec/api/content_installer_packages_api_spec.rb +29 -1
- data/spec/api/content_package_indices_api_spec.rb +28 -1
- data/spec/api/content_package_release_components_api_spec.rb +28 -1
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_release_architectures_api_spec.rb +28 -1
- data/spec/api/content_release_components_api_spec.rb +28 -1
- data/spec/api/content_release_files_api_spec.rb +28 -1
- data/spec/api/content_releases_api_spec.rb +28 -1
- data/spec/api/content_source_indices_api_spec.rb +28 -1
- data/spec/api/content_source_packages_api_spec.rb +28 -1
- data/spec/api/content_source_release_components_api_spec.rb +28 -1
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- metadata +73 -93
data/docs/ContentPackagesApi.md
CHANGED
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package |
|
8
8
|
| [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages |
|
9
9
|
| [**read**](ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package |
|
10
|
+
| [**set_label**](ContentPackagesApi.md#set_label) | **POST** {deb_package_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {deb_package_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -32,6 +34,7 @@ end
|
|
32
34
|
api_instance = PulpDebClient::ContentPackagesApi.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
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
39
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
@@ -73,6 +76,7 @@ end
|
|
73
76
|
| Name | Type | Description | Notes |
|
74
77
|
| ---- | ---- | ----------- | ----- |
|
75
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
76
80
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
77
81
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
78
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
@@ -127,7 +131,7 @@ opts = {
|
|
127
131
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
128
132
|
multi_arch: 'allowed', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
129
133
|
offset: 56, # Integer | The initial index from which to return the results.
|
130
|
-
ordering: ['-architecture'], # 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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
134
|
+
ordering: ['-architecture'], # 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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
135
|
origin: 'origin_example', # String | Filter results where origin matches value
|
132
136
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
133
137
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -144,6 +148,7 @@ opts = {
|
|
144
148
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
145
149
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
146
150
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
151
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
147
152
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
148
153
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
149
154
|
release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
@@ -201,7 +206,7 @@ end
|
|
201
206
|
| **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
|
202
207
|
| **multi_arch** | **String** | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed | [optional] |
|
203
208
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
204
|
-
| **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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
209
|
+
| **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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
205
210
|
| **origin** | **String** | Filter results where origin matches value | [optional] |
|
206
211
|
| **original_maintainer** | **String** | Filter results where original_maintainer matches value | [optional] |
|
207
212
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
@@ -218,6 +223,7 @@ end
|
|
218
223
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
219
224
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
220
225
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
226
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
221
227
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
222
228
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
223
229
|
| **release** | **String** | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
@@ -322,3 +328,147 @@ end
|
|
322
328
|
- **Content-Type**: Not defined
|
323
329
|
- **Accept**: application/json
|
324
330
|
|
331
|
+
|
332
|
+
## set_label
|
333
|
+
|
334
|
+
> <SetLabelResponse> set_label(deb_package_href, set_label)
|
335
|
+
|
336
|
+
Set a label
|
337
|
+
|
338
|
+
Set a single pulp_label on the object to a specific value or null.
|
339
|
+
|
340
|
+
### Examples
|
341
|
+
|
342
|
+
```ruby
|
343
|
+
require 'time'
|
344
|
+
require 'pulp_deb_client'
|
345
|
+
# setup authorization
|
346
|
+
PulpDebClient.configure do |config|
|
347
|
+
# Configure HTTP basic authorization: basicAuth
|
348
|
+
config.username = 'YOUR USERNAME'
|
349
|
+
config.password = 'YOUR PASSWORD'
|
350
|
+
end
|
351
|
+
|
352
|
+
api_instance = PulpDebClient::ContentPackagesApi.new
|
353
|
+
deb_package_href = 'deb_package_href_example' # String |
|
354
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
355
|
+
|
356
|
+
begin
|
357
|
+
# Set a label
|
358
|
+
result = api_instance.set_label(deb_package_href, set_label)
|
359
|
+
p result
|
360
|
+
rescue PulpDebClient::ApiError => e
|
361
|
+
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
362
|
+
end
|
363
|
+
```
|
364
|
+
|
365
|
+
#### Using the set_label_with_http_info variant
|
366
|
+
|
367
|
+
This returns an Array which contains the response data, status code and headers.
|
368
|
+
|
369
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_href, set_label)
|
370
|
+
|
371
|
+
```ruby
|
372
|
+
begin
|
373
|
+
# Set a label
|
374
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_href, set_label)
|
375
|
+
p status_code # => 2xx
|
376
|
+
p headers # => { ... }
|
377
|
+
p data # => <SetLabelResponse>
|
378
|
+
rescue PulpDebClient::ApiError => e
|
379
|
+
puts "Error when calling ContentPackagesApi->set_label_with_http_info: #{e}"
|
380
|
+
end
|
381
|
+
```
|
382
|
+
|
383
|
+
### Parameters
|
384
|
+
|
385
|
+
| Name | Type | Description | Notes |
|
386
|
+
| ---- | ---- | ----------- | ----- |
|
387
|
+
| **deb_package_href** | **String** | | |
|
388
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
389
|
+
|
390
|
+
### Return type
|
391
|
+
|
392
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
393
|
+
|
394
|
+
### Authorization
|
395
|
+
|
396
|
+
[basicAuth](../README.md#basicAuth)
|
397
|
+
|
398
|
+
### HTTP request headers
|
399
|
+
|
400
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
401
|
+
- **Accept**: application/json
|
402
|
+
|
403
|
+
|
404
|
+
## unset_label
|
405
|
+
|
406
|
+
> <UnsetLabelResponse> unset_label(deb_package_href, unset_label)
|
407
|
+
|
408
|
+
Unset a label
|
409
|
+
|
410
|
+
Unset a single pulp_label on the object.
|
411
|
+
|
412
|
+
### Examples
|
413
|
+
|
414
|
+
```ruby
|
415
|
+
require 'time'
|
416
|
+
require 'pulp_deb_client'
|
417
|
+
# setup authorization
|
418
|
+
PulpDebClient.configure do |config|
|
419
|
+
# Configure HTTP basic authorization: basicAuth
|
420
|
+
config.username = 'YOUR USERNAME'
|
421
|
+
config.password = 'YOUR PASSWORD'
|
422
|
+
end
|
423
|
+
|
424
|
+
api_instance = PulpDebClient::ContentPackagesApi.new
|
425
|
+
deb_package_href = 'deb_package_href_example' # String |
|
426
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
427
|
+
|
428
|
+
begin
|
429
|
+
# Unset a label
|
430
|
+
result = api_instance.unset_label(deb_package_href, unset_label)
|
431
|
+
p result
|
432
|
+
rescue PulpDebClient::ApiError => e
|
433
|
+
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
434
|
+
end
|
435
|
+
```
|
436
|
+
|
437
|
+
#### Using the unset_label_with_http_info variant
|
438
|
+
|
439
|
+
This returns an Array which contains the response data, status code and headers.
|
440
|
+
|
441
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_href, unset_label)
|
442
|
+
|
443
|
+
```ruby
|
444
|
+
begin
|
445
|
+
# Unset a label
|
446
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_href, unset_label)
|
447
|
+
p status_code # => 2xx
|
448
|
+
p headers # => { ... }
|
449
|
+
p data # => <UnsetLabelResponse>
|
450
|
+
rescue PulpDebClient::ApiError => e
|
451
|
+
puts "Error when calling ContentPackagesApi->unset_label_with_http_info: #{e}"
|
452
|
+
end
|
453
|
+
```
|
454
|
+
|
455
|
+
### Parameters
|
456
|
+
|
457
|
+
| Name | Type | Description | Notes |
|
458
|
+
| ---- | ---- | ----------- | ----- |
|
459
|
+
| **deb_package_href** | **String** | | |
|
460
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
461
|
+
|
462
|
+
### Return type
|
463
|
+
|
464
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
465
|
+
|
466
|
+
### Authorization
|
467
|
+
|
468
|
+
[basicAuth](../README.md#basicAuth)
|
469
|
+
|
470
|
+
### HTTP request headers
|
471
|
+
|
472
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
473
|
+
- **Accept**: application/json
|
474
|
+
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture |
|
8
8
|
| [**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures |
|
9
9
|
| [**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture |
|
10
|
+
| [**set_label**](ContentReleaseArchitecturesApi.md#set_label) | **POST** {deb_release_architecture_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentReleaseArchitecturesApi.md#unset_label) | **POST** {deb_release_architecture_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -105,11 +107,12 @@ opts = {
|
|
105
107
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
106
108
|
limit: 56, # Integer | Number of results to return per page.
|
107
109
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
|
-
ordering: ['-architecture'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
110
|
+
ordering: ['-architecture'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
111
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
110
112
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
111
113
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
112
114
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
115
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
113
116
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
114
117
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
115
118
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -153,11 +156,12 @@ end
|
|
153
156
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
154
157
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
155
158
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
156
|
-
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
159
|
+
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
157
160
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
158
161
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
159
162
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
160
163
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
164
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
161
165
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
162
166
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
163
167
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -254,3 +258,147 @@ end
|
|
254
258
|
- **Content-Type**: Not defined
|
255
259
|
- **Accept**: application/json
|
256
260
|
|
261
|
+
|
262
|
+
## set_label
|
263
|
+
|
264
|
+
> <SetLabelResponse> set_label(deb_release_architecture_href, set_label)
|
265
|
+
|
266
|
+
Set a label
|
267
|
+
|
268
|
+
Set a single pulp_label on the object to a specific value or null.
|
269
|
+
|
270
|
+
### Examples
|
271
|
+
|
272
|
+
```ruby
|
273
|
+
require 'time'
|
274
|
+
require 'pulp_deb_client'
|
275
|
+
# setup authorization
|
276
|
+
PulpDebClient.configure do |config|
|
277
|
+
# Configure HTTP basic authorization: basicAuth
|
278
|
+
config.username = 'YOUR USERNAME'
|
279
|
+
config.password = 'YOUR PASSWORD'
|
280
|
+
end
|
281
|
+
|
282
|
+
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
283
|
+
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
284
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
285
|
+
|
286
|
+
begin
|
287
|
+
# Set a label
|
288
|
+
result = api_instance.set_label(deb_release_architecture_href, set_label)
|
289
|
+
p result
|
290
|
+
rescue PulpDebClient::ApiError => e
|
291
|
+
puts "Error when calling ContentReleaseArchitecturesApi->set_label: #{e}"
|
292
|
+
end
|
293
|
+
```
|
294
|
+
|
295
|
+
#### Using the set_label_with_http_info variant
|
296
|
+
|
297
|
+
This returns an Array which contains the response data, status code and headers.
|
298
|
+
|
299
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_architecture_href, set_label)
|
300
|
+
|
301
|
+
```ruby
|
302
|
+
begin
|
303
|
+
# Set a label
|
304
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_architecture_href, set_label)
|
305
|
+
p status_code # => 2xx
|
306
|
+
p headers # => { ... }
|
307
|
+
p data # => <SetLabelResponse>
|
308
|
+
rescue PulpDebClient::ApiError => e
|
309
|
+
puts "Error when calling ContentReleaseArchitecturesApi->set_label_with_http_info: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
| Name | Type | Description | Notes |
|
316
|
+
| ---- | ---- | ----------- | ----- |
|
317
|
+
| **deb_release_architecture_href** | **String** | | |
|
318
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
319
|
+
|
320
|
+
### Return type
|
321
|
+
|
322
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
323
|
+
|
324
|
+
### Authorization
|
325
|
+
|
326
|
+
[basicAuth](../README.md#basicAuth)
|
327
|
+
|
328
|
+
### HTTP request headers
|
329
|
+
|
330
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
331
|
+
- **Accept**: application/json
|
332
|
+
|
333
|
+
|
334
|
+
## unset_label
|
335
|
+
|
336
|
+
> <UnsetLabelResponse> unset_label(deb_release_architecture_href, unset_label)
|
337
|
+
|
338
|
+
Unset a label
|
339
|
+
|
340
|
+
Unset a single pulp_label on the object.
|
341
|
+
|
342
|
+
### Examples
|
343
|
+
|
344
|
+
```ruby
|
345
|
+
require 'time'
|
346
|
+
require 'pulp_deb_client'
|
347
|
+
# setup authorization
|
348
|
+
PulpDebClient.configure do |config|
|
349
|
+
# Configure HTTP basic authorization: basicAuth
|
350
|
+
config.username = 'YOUR USERNAME'
|
351
|
+
config.password = 'YOUR PASSWORD'
|
352
|
+
end
|
353
|
+
|
354
|
+
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
355
|
+
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
356
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
357
|
+
|
358
|
+
begin
|
359
|
+
# Unset a label
|
360
|
+
result = api_instance.unset_label(deb_release_architecture_href, unset_label)
|
361
|
+
p result
|
362
|
+
rescue PulpDebClient::ApiError => e
|
363
|
+
puts "Error when calling ContentReleaseArchitecturesApi->unset_label: #{e}"
|
364
|
+
end
|
365
|
+
```
|
366
|
+
|
367
|
+
#### Using the unset_label_with_http_info variant
|
368
|
+
|
369
|
+
This returns an Array which contains the response data, status code and headers.
|
370
|
+
|
371
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
372
|
+
|
373
|
+
```ruby
|
374
|
+
begin
|
375
|
+
# Unset a label
|
376
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
377
|
+
p status_code # => 2xx
|
378
|
+
p headers # => { ... }
|
379
|
+
p data # => <UnsetLabelResponse>
|
380
|
+
rescue PulpDebClient::ApiError => e
|
381
|
+
puts "Error when calling ContentReleaseArchitecturesApi->unset_label_with_http_info: #{e}"
|
382
|
+
end
|
383
|
+
```
|
384
|
+
|
385
|
+
### Parameters
|
386
|
+
|
387
|
+
| Name | Type | Description | Notes |
|
388
|
+
| ---- | ---- | ----------- | ----- |
|
389
|
+
| **deb_release_architecture_href** | **String** | | |
|
390
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
391
|
+
|
392
|
+
### Return type
|
393
|
+
|
394
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
395
|
+
|
396
|
+
### Authorization
|
397
|
+
|
398
|
+
[basicAuth](../README.md#basicAuth)
|
399
|
+
|
400
|
+
### HTTP request headers
|
401
|
+
|
402
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
403
|
+
- **Accept**: application/json
|
404
|
+
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component |
|
8
8
|
| [**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components |
|
9
9
|
| [**read**](ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component |
|
10
|
+
| [**set_label**](ContentReleaseComponentsApi.md#set_label) | **POST** {deb_release_component_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentReleaseComponentsApi.md#unset_label) | **POST** {deb_release_component_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -105,12 +107,13 @@ opts = {
|
|
105
107
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
106
108
|
limit: 56, # Integer | Number of results to return per page.
|
107
109
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
|
-
ordering: ['-component'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
110
|
+
ordering: ['-component'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
111
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
110
112
|
package: 'package_example', # String | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
111
113
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
112
114
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
113
115
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
116
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
114
117
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
115
118
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
116
119
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -154,12 +157,13 @@ end
|
|
154
157
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
155
158
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
159
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
157
|
-
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
160
|
+
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
158
161
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
159
162
|
| **package** | **String** | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
160
163
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
161
164
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
162
165
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
166
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
163
167
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
164
168
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
165
169
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -256,3 +260,147 @@ end
|
|
256
260
|
- **Content-Type**: Not defined
|
257
261
|
- **Accept**: application/json
|
258
262
|
|
263
|
+
|
264
|
+
## set_label
|
265
|
+
|
266
|
+
> <SetLabelResponse> set_label(deb_release_component_href, set_label)
|
267
|
+
|
268
|
+
Set a label
|
269
|
+
|
270
|
+
Set a single pulp_label on the object to a specific value or null.
|
271
|
+
|
272
|
+
### Examples
|
273
|
+
|
274
|
+
```ruby
|
275
|
+
require 'time'
|
276
|
+
require 'pulp_deb_client'
|
277
|
+
# setup authorization
|
278
|
+
PulpDebClient.configure do |config|
|
279
|
+
# Configure HTTP basic authorization: basicAuth
|
280
|
+
config.username = 'YOUR USERNAME'
|
281
|
+
config.password = 'YOUR PASSWORD'
|
282
|
+
end
|
283
|
+
|
284
|
+
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
285
|
+
deb_release_component_href = 'deb_release_component_href_example' # String |
|
286
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
287
|
+
|
288
|
+
begin
|
289
|
+
# Set a label
|
290
|
+
result = api_instance.set_label(deb_release_component_href, set_label)
|
291
|
+
p result
|
292
|
+
rescue PulpDebClient::ApiError => e
|
293
|
+
puts "Error when calling ContentReleaseComponentsApi->set_label: #{e}"
|
294
|
+
end
|
295
|
+
```
|
296
|
+
|
297
|
+
#### Using the set_label_with_http_info variant
|
298
|
+
|
299
|
+
This returns an Array which contains the response data, status code and headers.
|
300
|
+
|
301
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_component_href, set_label)
|
302
|
+
|
303
|
+
```ruby
|
304
|
+
begin
|
305
|
+
# Set a label
|
306
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_component_href, set_label)
|
307
|
+
p status_code # => 2xx
|
308
|
+
p headers # => { ... }
|
309
|
+
p data # => <SetLabelResponse>
|
310
|
+
rescue PulpDebClient::ApiError => e
|
311
|
+
puts "Error when calling ContentReleaseComponentsApi->set_label_with_http_info: #{e}"
|
312
|
+
end
|
313
|
+
```
|
314
|
+
|
315
|
+
### Parameters
|
316
|
+
|
317
|
+
| Name | Type | Description | Notes |
|
318
|
+
| ---- | ---- | ----------- | ----- |
|
319
|
+
| **deb_release_component_href** | **String** | | |
|
320
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
321
|
+
|
322
|
+
### Return type
|
323
|
+
|
324
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
325
|
+
|
326
|
+
### Authorization
|
327
|
+
|
328
|
+
[basicAuth](../README.md#basicAuth)
|
329
|
+
|
330
|
+
### HTTP request headers
|
331
|
+
|
332
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
333
|
+
- **Accept**: application/json
|
334
|
+
|
335
|
+
|
336
|
+
## unset_label
|
337
|
+
|
338
|
+
> <UnsetLabelResponse> unset_label(deb_release_component_href, unset_label)
|
339
|
+
|
340
|
+
Unset a label
|
341
|
+
|
342
|
+
Unset a single pulp_label on the object.
|
343
|
+
|
344
|
+
### Examples
|
345
|
+
|
346
|
+
```ruby
|
347
|
+
require 'time'
|
348
|
+
require 'pulp_deb_client'
|
349
|
+
# setup authorization
|
350
|
+
PulpDebClient.configure do |config|
|
351
|
+
# Configure HTTP basic authorization: basicAuth
|
352
|
+
config.username = 'YOUR USERNAME'
|
353
|
+
config.password = 'YOUR PASSWORD'
|
354
|
+
end
|
355
|
+
|
356
|
+
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
357
|
+
deb_release_component_href = 'deb_release_component_href_example' # String |
|
358
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
359
|
+
|
360
|
+
begin
|
361
|
+
# Unset a label
|
362
|
+
result = api_instance.unset_label(deb_release_component_href, unset_label)
|
363
|
+
p result
|
364
|
+
rescue PulpDebClient::ApiError => e
|
365
|
+
puts "Error when calling ContentReleaseComponentsApi->unset_label: #{e}"
|
366
|
+
end
|
367
|
+
```
|
368
|
+
|
369
|
+
#### Using the unset_label_with_http_info variant
|
370
|
+
|
371
|
+
This returns an Array which contains the response data, status code and headers.
|
372
|
+
|
373
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_component_href, unset_label)
|
374
|
+
|
375
|
+
```ruby
|
376
|
+
begin
|
377
|
+
# Unset a label
|
378
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_component_href, unset_label)
|
379
|
+
p status_code # => 2xx
|
380
|
+
p headers # => { ... }
|
381
|
+
p data # => <UnsetLabelResponse>
|
382
|
+
rescue PulpDebClient::ApiError => e
|
383
|
+
puts "Error when calling ContentReleaseComponentsApi->unset_label_with_http_info: #{e}"
|
384
|
+
end
|
385
|
+
```
|
386
|
+
|
387
|
+
### Parameters
|
388
|
+
|
389
|
+
| Name | Type | Description | Notes |
|
390
|
+
| ---- | ---- | ----------- | ----- |
|
391
|
+
| **deb_release_component_href** | **String** | | |
|
392
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
393
|
+
|
394
|
+
### Return type
|
395
|
+
|
396
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
397
|
+
|
398
|
+
### Authorization
|
399
|
+
|
400
|
+
[basicAuth](../README.md#basicAuth)
|
401
|
+
|
402
|
+
### HTTP request headers
|
403
|
+
|
404
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
405
|
+
- **Accept**: application/json
|
406
|
+
|