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
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentInstallerPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_packages/ | Create an installer package |
|
8
8
|
| [**list**](ContentInstallerPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_packages/ | List installer packages |
|
9
9
|
| [**read**](ContentInstallerPackagesApi.md#read) | **GET** {deb_installer_package_href} | Inspect an installer package |
|
10
|
+
| [**set_label**](ContentInstallerPackagesApi.md#set_label) | **POST** {deb_installer_package_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentInstallerPackagesApi.md#unset_label) | **POST** {deb_installer_package_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -32,6 +34,7 @@ end
|
|
32
34
|
api_instance = PulpDebClient::ContentInstallerPackagesApi.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.
|
@@ -71,6 +74,7 @@ end
|
|
71
74
|
| Name | Type | Description | Notes |
|
72
75
|
| ---- | ---- | ----------- | ----- |
|
73
76
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
77
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
74
78
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
75
79
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
76
80
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
@@ -123,7 +127,7 @@ opts = {
|
|
123
127
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
124
128
|
multi_arch: 'allowed', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
125
129
|
offset: 56, # Integer | The initial index from which to return the results.
|
126
|
-
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)
|
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) * `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)
|
127
131
|
origin: 'origin_example', # String | Filter results where origin matches value
|
128
132
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
129
133
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -132,6 +136,7 @@ opts = {
|
|
132
136
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
133
137
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
134
138
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
139
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
135
140
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
136
141
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
137
142
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -186,7 +191,7 @@ end
|
|
186
191
|
| **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
|
187
192
|
| **multi_arch** | **String** | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed | [optional] |
|
188
193
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
189
|
-
| **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] |
|
194
|
+
| **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] |
|
190
195
|
| **origin** | **String** | Filter results where origin matches value | [optional] |
|
191
196
|
| **original_maintainer** | **String** | Filter results where original_maintainer matches value | [optional] |
|
192
197
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
@@ -195,6 +200,7 @@ end
|
|
195
200
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
196
201
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
197
202
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
203
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
198
204
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
199
205
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
200
206
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -296,3 +302,147 @@ end
|
|
296
302
|
- **Content-Type**: Not defined
|
297
303
|
- **Accept**: application/json
|
298
304
|
|
305
|
+
|
306
|
+
## set_label
|
307
|
+
|
308
|
+
> <SetLabelResponse> set_label(deb_installer_package_href, set_label)
|
309
|
+
|
310
|
+
Set a label
|
311
|
+
|
312
|
+
Set a single pulp_label on the object to a specific value or null.
|
313
|
+
|
314
|
+
### Examples
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
require 'time'
|
318
|
+
require 'pulp_deb_client'
|
319
|
+
# setup authorization
|
320
|
+
PulpDebClient.configure do |config|
|
321
|
+
# Configure HTTP basic authorization: basicAuth
|
322
|
+
config.username = 'YOUR USERNAME'
|
323
|
+
config.password = 'YOUR PASSWORD'
|
324
|
+
end
|
325
|
+
|
326
|
+
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
327
|
+
deb_installer_package_href = 'deb_installer_package_href_example' # String |
|
328
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
329
|
+
|
330
|
+
begin
|
331
|
+
# Set a label
|
332
|
+
result = api_instance.set_label(deb_installer_package_href, set_label)
|
333
|
+
p result
|
334
|
+
rescue PulpDebClient::ApiError => e
|
335
|
+
puts "Error when calling ContentInstallerPackagesApi->set_label: #{e}"
|
336
|
+
end
|
337
|
+
```
|
338
|
+
|
339
|
+
#### Using the set_label_with_http_info variant
|
340
|
+
|
341
|
+
This returns an Array which contains the response data, status code and headers.
|
342
|
+
|
343
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_installer_package_href, set_label)
|
344
|
+
|
345
|
+
```ruby
|
346
|
+
begin
|
347
|
+
# Set a label
|
348
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_installer_package_href, set_label)
|
349
|
+
p status_code # => 2xx
|
350
|
+
p headers # => { ... }
|
351
|
+
p data # => <SetLabelResponse>
|
352
|
+
rescue PulpDebClient::ApiError => e
|
353
|
+
puts "Error when calling ContentInstallerPackagesApi->set_label_with_http_info: #{e}"
|
354
|
+
end
|
355
|
+
```
|
356
|
+
|
357
|
+
### Parameters
|
358
|
+
|
359
|
+
| Name | Type | Description | Notes |
|
360
|
+
| ---- | ---- | ----------- | ----- |
|
361
|
+
| **deb_installer_package_href** | **String** | | |
|
362
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
363
|
+
|
364
|
+
### Return type
|
365
|
+
|
366
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
367
|
+
|
368
|
+
### Authorization
|
369
|
+
|
370
|
+
[basicAuth](../README.md#basicAuth)
|
371
|
+
|
372
|
+
### HTTP request headers
|
373
|
+
|
374
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
375
|
+
- **Accept**: application/json
|
376
|
+
|
377
|
+
|
378
|
+
## unset_label
|
379
|
+
|
380
|
+
> <UnsetLabelResponse> unset_label(deb_installer_package_href, unset_label)
|
381
|
+
|
382
|
+
Unset a label
|
383
|
+
|
384
|
+
Unset a single pulp_label on the object.
|
385
|
+
|
386
|
+
### Examples
|
387
|
+
|
388
|
+
```ruby
|
389
|
+
require 'time'
|
390
|
+
require 'pulp_deb_client'
|
391
|
+
# setup authorization
|
392
|
+
PulpDebClient.configure do |config|
|
393
|
+
# Configure HTTP basic authorization: basicAuth
|
394
|
+
config.username = 'YOUR USERNAME'
|
395
|
+
config.password = 'YOUR PASSWORD'
|
396
|
+
end
|
397
|
+
|
398
|
+
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
399
|
+
deb_installer_package_href = 'deb_installer_package_href_example' # String |
|
400
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
401
|
+
|
402
|
+
begin
|
403
|
+
# Unset a label
|
404
|
+
result = api_instance.unset_label(deb_installer_package_href, unset_label)
|
405
|
+
p result
|
406
|
+
rescue PulpDebClient::ApiError => e
|
407
|
+
puts "Error when calling ContentInstallerPackagesApi->unset_label: #{e}"
|
408
|
+
end
|
409
|
+
```
|
410
|
+
|
411
|
+
#### Using the unset_label_with_http_info variant
|
412
|
+
|
413
|
+
This returns an Array which contains the response data, status code and headers.
|
414
|
+
|
415
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_installer_package_href, unset_label)
|
416
|
+
|
417
|
+
```ruby
|
418
|
+
begin
|
419
|
+
# Unset a label
|
420
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_installer_package_href, unset_label)
|
421
|
+
p status_code # => 2xx
|
422
|
+
p headers # => { ... }
|
423
|
+
p data # => <UnsetLabelResponse>
|
424
|
+
rescue PulpDebClient::ApiError => e
|
425
|
+
puts "Error when calling ContentInstallerPackagesApi->unset_label_with_http_info: #{e}"
|
426
|
+
end
|
427
|
+
```
|
428
|
+
|
429
|
+
### Parameters
|
430
|
+
|
431
|
+
| Name | Type | Description | Notes |
|
432
|
+
| ---- | ---- | ----------- | ----- |
|
433
|
+
| **deb_installer_package_href** | **String** | | |
|
434
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
435
|
+
|
436
|
+
### Return type
|
437
|
+
|
438
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
439
|
+
|
440
|
+
### Authorization
|
441
|
+
|
442
|
+
[basicAuth](../README.md#basicAuth)
|
443
|
+
|
444
|
+
### HTTP request headers
|
445
|
+
|
446
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
447
|
+
- **Accept**: application/json
|
448
|
+
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentPackageIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/package_indices/ | Create a package index |
|
8
8
|
| [**list**](ContentPackageIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/package_indices/ | List PackageIndices |
|
9
9
|
| [**read**](ContentPackageIndicesApi.md#read) | **GET** {deb_package_index_href} | Inspect a package index |
|
10
|
+
| [**set_label**](ContentPackageIndicesApi.md#set_label) | **POST** {deb_package_index_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentPackageIndicesApi.md#unset_label) | **POST** {deb_package_index_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -105,11 +107,12 @@ opts = {
|
|
105
107
|
component: 'component_example', # String | Filter results where component 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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (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
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
115
118
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
@@ -155,11 +158,12 @@ end
|
|
155
158
|
| **component** | **String** | Filter results where component matches value | [optional] |
|
156
159
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
157
160
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
158
|
-
| **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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
161
|
+
| **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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
159
162
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [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
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
165
169
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -258,3 +262,147 @@ end
|
|
258
262
|
- **Content-Type**: Not defined
|
259
263
|
- **Accept**: application/json
|
260
264
|
|
265
|
+
|
266
|
+
## set_label
|
267
|
+
|
268
|
+
> <SetLabelResponse> set_label(deb_package_index_href, set_label)
|
269
|
+
|
270
|
+
Set a label
|
271
|
+
|
272
|
+
Set a single pulp_label on the object to a specific value or null.
|
273
|
+
|
274
|
+
### Examples
|
275
|
+
|
276
|
+
```ruby
|
277
|
+
require 'time'
|
278
|
+
require 'pulp_deb_client'
|
279
|
+
# setup authorization
|
280
|
+
PulpDebClient.configure do |config|
|
281
|
+
# Configure HTTP basic authorization: basicAuth
|
282
|
+
config.username = 'YOUR USERNAME'
|
283
|
+
config.password = 'YOUR PASSWORD'
|
284
|
+
end
|
285
|
+
|
286
|
+
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
287
|
+
deb_package_index_href = 'deb_package_index_href_example' # String |
|
288
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
289
|
+
|
290
|
+
begin
|
291
|
+
# Set a label
|
292
|
+
result = api_instance.set_label(deb_package_index_href, set_label)
|
293
|
+
p result
|
294
|
+
rescue PulpDebClient::ApiError => e
|
295
|
+
puts "Error when calling ContentPackageIndicesApi->set_label: #{e}"
|
296
|
+
end
|
297
|
+
```
|
298
|
+
|
299
|
+
#### Using the set_label_with_http_info variant
|
300
|
+
|
301
|
+
This returns an Array which contains the response data, status code and headers.
|
302
|
+
|
303
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_index_href, set_label)
|
304
|
+
|
305
|
+
```ruby
|
306
|
+
begin
|
307
|
+
# Set a label
|
308
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_index_href, set_label)
|
309
|
+
p status_code # => 2xx
|
310
|
+
p headers # => { ... }
|
311
|
+
p data # => <SetLabelResponse>
|
312
|
+
rescue PulpDebClient::ApiError => e
|
313
|
+
puts "Error when calling ContentPackageIndicesApi->set_label_with_http_info: #{e}"
|
314
|
+
end
|
315
|
+
```
|
316
|
+
|
317
|
+
### Parameters
|
318
|
+
|
319
|
+
| Name | Type | Description | Notes |
|
320
|
+
| ---- | ---- | ----------- | ----- |
|
321
|
+
| **deb_package_index_href** | **String** | | |
|
322
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
323
|
+
|
324
|
+
### Return type
|
325
|
+
|
326
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
327
|
+
|
328
|
+
### Authorization
|
329
|
+
|
330
|
+
[basicAuth](../README.md#basicAuth)
|
331
|
+
|
332
|
+
### HTTP request headers
|
333
|
+
|
334
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
335
|
+
- **Accept**: application/json
|
336
|
+
|
337
|
+
|
338
|
+
## unset_label
|
339
|
+
|
340
|
+
> <UnsetLabelResponse> unset_label(deb_package_index_href, unset_label)
|
341
|
+
|
342
|
+
Unset a label
|
343
|
+
|
344
|
+
Unset a single pulp_label on the object.
|
345
|
+
|
346
|
+
### Examples
|
347
|
+
|
348
|
+
```ruby
|
349
|
+
require 'time'
|
350
|
+
require 'pulp_deb_client'
|
351
|
+
# setup authorization
|
352
|
+
PulpDebClient.configure do |config|
|
353
|
+
# Configure HTTP basic authorization: basicAuth
|
354
|
+
config.username = 'YOUR USERNAME'
|
355
|
+
config.password = 'YOUR PASSWORD'
|
356
|
+
end
|
357
|
+
|
358
|
+
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
359
|
+
deb_package_index_href = 'deb_package_index_href_example' # String |
|
360
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
361
|
+
|
362
|
+
begin
|
363
|
+
# Unset a label
|
364
|
+
result = api_instance.unset_label(deb_package_index_href, unset_label)
|
365
|
+
p result
|
366
|
+
rescue PulpDebClient::ApiError => e
|
367
|
+
puts "Error when calling ContentPackageIndicesApi->unset_label: #{e}"
|
368
|
+
end
|
369
|
+
```
|
370
|
+
|
371
|
+
#### Using the unset_label_with_http_info variant
|
372
|
+
|
373
|
+
This returns an Array which contains the response data, status code and headers.
|
374
|
+
|
375
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_index_href, unset_label)
|
376
|
+
|
377
|
+
```ruby
|
378
|
+
begin
|
379
|
+
# Unset a label
|
380
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_index_href, unset_label)
|
381
|
+
p status_code # => 2xx
|
382
|
+
p headers # => { ... }
|
383
|
+
p data # => <UnsetLabelResponse>
|
384
|
+
rescue PulpDebClient::ApiError => e
|
385
|
+
puts "Error when calling ContentPackageIndicesApi->unset_label_with_http_info: #{e}"
|
386
|
+
end
|
387
|
+
```
|
388
|
+
|
389
|
+
### Parameters
|
390
|
+
|
391
|
+
| Name | Type | Description | Notes |
|
392
|
+
| ---- | ---- | ----------- | ----- |
|
393
|
+
| **deb_package_index_href** | **String** | | |
|
394
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
395
|
+
|
396
|
+
### Return type
|
397
|
+
|
398
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
399
|
+
|
400
|
+
### Authorization
|
401
|
+
|
402
|
+
[basicAuth](../README.md#basicAuth)
|
403
|
+
|
404
|
+
### HTTP request headers
|
405
|
+
|
406
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
407
|
+
- **Accept**: application/json
|
408
|
+
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentPackageReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/package_release_components/ | Create a package release component |
|
8
8
|
| [**list**](ContentPackageReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/package_release_components/ | List package release components |
|
9
9
|
| [**read**](ContentPackageReleaseComponentsApi.md#read) | **GET** {deb_package_release_component_href} | Inspect a package release component |
|
10
|
+
| [**set_label**](ContentPackageReleaseComponentsApi.md#set_label) | **POST** {deb_package_release_component_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentPackageReleaseComponentsApi.md#unset_label) | **POST** {deb_package_release_component_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -103,12 +105,13 @@ api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
|
103
105
|
opts = {
|
104
106
|
limit: 56, # Integer | Number of results to return per page.
|
105
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: ['-pk'], # 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) * `pk` - Pk * `-pk` - Pk (descending)
|
108
|
+
ordering: ['-pk'], # 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) * `pk` - Pk * `-pk` - Pk (descending)
|
107
109
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
108
110
|
package: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where package matches value
|
109
111
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
110
112
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
111
113
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
114
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
112
115
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
113
116
|
release_component: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where release_component matches value
|
114
117
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
@@ -151,12 +154,13 @@ end
|
|
151
154
|
| ---- | ---- | ----------- | ----- |
|
152
155
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
153
156
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
154
|
-
| **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) * `pk` - Pk * `-pk` - Pk (descending) | [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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
155
158
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
156
159
|
| **package** | **String** | Filter results where package matches value | [optional] |
|
157
160
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
158
161
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
159
162
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
163
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
160
164
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
161
165
|
| **release_component** | **String** | Filter results where release_component matches value | [optional] |
|
162
166
|
| **repository_version** | **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_package_release_component_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::ContentPackageReleaseComponentsApi.new
|
283
|
+
deb_package_release_component_href = 'deb_package_release_component_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_package_release_component_href, set_label)
|
289
|
+
p result
|
290
|
+
rescue PulpDebClient::ApiError => e
|
291
|
+
puts "Error when calling ContentPackageReleaseComponentsApi->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_package_release_component_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_package_release_component_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 ContentPackageReleaseComponentsApi->set_label_with_http_info: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
| Name | Type | Description | Notes |
|
316
|
+
| ---- | ---- | ----------- | ----- |
|
317
|
+
| **deb_package_release_component_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_package_release_component_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::ContentPackageReleaseComponentsApi.new
|
355
|
+
deb_package_release_component_href = 'deb_package_release_component_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_package_release_component_href, unset_label)
|
361
|
+
p result
|
362
|
+
rescue PulpDebClient::ApiError => e
|
363
|
+
puts "Error when calling ContentPackageReleaseComponentsApi->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_package_release_component_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_package_release_component_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 ContentPackageReleaseComponentsApi->unset_label_with_http_info: #{e}"
|
382
|
+
end
|
383
|
+
```
|
384
|
+
|
385
|
+
### Parameters
|
386
|
+
|
387
|
+
| Name | Type | Description | Notes |
|
388
|
+
| ---- | ---- | ----------- | ----- |
|
389
|
+
| **deb_package_release_component_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
|
+
|