pulp_deb_client 3.5.1 → 3.6.0
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 +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- 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 +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- 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/patcheddeb_apt_distribution.rb +14 -5
- 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 +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- 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
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
@@ -7,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file |
|
8
8
|
| [**list**](ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files |
|
9
9
|
| [**read**](ContentReleaseFilesApi.md#read) | **GET** {deb_release_file_href} | Inspect a release file |
|
10
|
+
| [**set_label**](ContentReleaseFilesApi.md#set_label) | **POST** {deb_release_file_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentReleaseFilesApi.md#unset_label) | **POST** {deb_release_file_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
13
15
|
|
14
|
-
> <DebReleaseFileResponse> create(deb_release_file)
|
16
|
+
> <DebReleaseFileResponse> create(deb_release_file, opts)
|
15
17
|
|
16
18
|
Create a release file
|
17
19
|
|
@@ -31,10 +33,13 @@ end
|
|
31
33
|
|
32
34
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
33
35
|
deb_release_file = PulpDebClient::DebReleaseFile.new({artifacts: 3.56, distribution: 'distribution_example'}) # DebReleaseFile |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
34
39
|
|
35
40
|
begin
|
36
41
|
# Create a release file
|
37
|
-
result = api_instance.create(deb_release_file)
|
42
|
+
result = api_instance.create(deb_release_file, opts)
|
38
43
|
p result
|
39
44
|
rescue PulpDebClient::ApiError => e
|
40
45
|
puts "Error when calling ContentReleaseFilesApi->create: #{e}"
|
@@ -45,12 +50,12 @@ end
|
|
45
50
|
|
46
51
|
This returns an Array which contains the response data, status code and headers.
|
47
52
|
|
48
|
-
> <Array(<DebReleaseFileResponse>, Integer, Hash)> create_with_http_info(deb_release_file)
|
53
|
+
> <Array(<DebReleaseFileResponse>, Integer, Hash)> create_with_http_info(deb_release_file, opts)
|
49
54
|
|
50
55
|
```ruby
|
51
56
|
begin
|
52
57
|
# Create a release file
|
53
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release_file)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_file, opts)
|
54
59
|
p status_code # => 2xx
|
55
60
|
p headers # => { ... }
|
56
61
|
p data # => <DebReleaseFileResponse>
|
@@ -64,6 +69,7 @@ end
|
|
64
69
|
| Name | Type | Description | Notes |
|
65
70
|
| ---- | ---- | ----------- | ----- |
|
66
71
|
| **deb_release_file** | [**DebReleaseFile**](DebReleaseFile.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
67
73
|
|
68
74
|
### Return type
|
69
75
|
|
@@ -101,14 +107,16 @@ end
|
|
101
107
|
|
102
108
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
103
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
104
111
|
codename: 'codename_example', # String | Filter results where codename matches value
|
105
112
|
limit: 56, # Integer | Number of results to return per page.
|
106
113
|
offset: 56, # Integer | The initial index from which to return the results.
|
107
|
-
ordering: ['-architectures'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (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)
|
114
|
+
ordering: ['-architectures'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (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)
|
108
115
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
109
116
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
110
117
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
111
118
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
119
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
112
120
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
113
121
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
114
122
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
@@ -151,14 +159,16 @@ end
|
|
151
159
|
|
152
160
|
| Name | Type | Description | Notes |
|
153
161
|
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
154
163
|
| **codename** | **String** | Filter results where codename matches value | [optional] |
|
155
164
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
165
|
| **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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (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] |
|
166
|
+
| **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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (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] |
|
158
167
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
159
168
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
160
169
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
161
170
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
171
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
162
172
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
163
173
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
164
174
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -206,6 +216,7 @@ end
|
|
206
216
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
207
217
|
deb_release_file_href = 'deb_release_file_href_example' # String |
|
208
218
|
opts = {
|
219
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
209
220
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
221
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
211
222
|
}
|
@@ -242,6 +253,7 @@ end
|
|
242
253
|
| Name | Type | Description | Notes |
|
243
254
|
| ---- | ---- | ----------- | ----- |
|
244
255
|
| **deb_release_file_href** | **String** | | |
|
256
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
245
257
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
258
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
247
259
|
|
@@ -258,3 +270,155 @@ end
|
|
258
270
|
- **Content-Type**: Not defined
|
259
271
|
- **Accept**: application/json
|
260
272
|
|
273
|
+
|
274
|
+
## set_label
|
275
|
+
|
276
|
+
> <SetLabelResponse> set_label(deb_release_file_href, set_label, opts)
|
277
|
+
|
278
|
+
Set a label
|
279
|
+
|
280
|
+
Set a single pulp_label on the object to a specific value or null.
|
281
|
+
|
282
|
+
### Examples
|
283
|
+
|
284
|
+
```ruby
|
285
|
+
require 'time'
|
286
|
+
require 'pulp_deb_client'
|
287
|
+
# setup authorization
|
288
|
+
PulpDebClient.configure do |config|
|
289
|
+
# Configure HTTP basic authorization: basicAuth
|
290
|
+
config.username = 'YOUR USERNAME'
|
291
|
+
config.password = 'YOUR PASSWORD'
|
292
|
+
end
|
293
|
+
|
294
|
+
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
295
|
+
deb_release_file_href = 'deb_release_file_href_example' # String |
|
296
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
297
|
+
opts = {
|
298
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
299
|
+
}
|
300
|
+
|
301
|
+
begin
|
302
|
+
# Set a label
|
303
|
+
result = api_instance.set_label(deb_release_file_href, set_label, opts)
|
304
|
+
p result
|
305
|
+
rescue PulpDebClient::ApiError => e
|
306
|
+
puts "Error when calling ContentReleaseFilesApi->set_label: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
#### Using the set_label_with_http_info variant
|
311
|
+
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
313
|
+
|
314
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_file_href, set_label, opts)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
# Set a label
|
319
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_file_href, set_label, opts)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <SetLabelResponse>
|
323
|
+
rescue PulpDebClient::ApiError => e
|
324
|
+
puts "Error when calling ContentReleaseFilesApi->set_label_with_http_info: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
| **deb_release_file_href** | **String** | | |
|
333
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
334
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
335
|
+
|
336
|
+
### Return type
|
337
|
+
|
338
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
339
|
+
|
340
|
+
### Authorization
|
341
|
+
|
342
|
+
[basicAuth](../README.md#basicAuth)
|
343
|
+
|
344
|
+
### HTTP request headers
|
345
|
+
|
346
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
347
|
+
- **Accept**: application/json
|
348
|
+
|
349
|
+
|
350
|
+
## unset_label
|
351
|
+
|
352
|
+
> <UnsetLabelResponse> unset_label(deb_release_file_href, unset_label, opts)
|
353
|
+
|
354
|
+
Unset a label
|
355
|
+
|
356
|
+
Unset a single pulp_label on the object.
|
357
|
+
|
358
|
+
### Examples
|
359
|
+
|
360
|
+
```ruby
|
361
|
+
require 'time'
|
362
|
+
require 'pulp_deb_client'
|
363
|
+
# setup authorization
|
364
|
+
PulpDebClient.configure do |config|
|
365
|
+
# Configure HTTP basic authorization: basicAuth
|
366
|
+
config.username = 'YOUR USERNAME'
|
367
|
+
config.password = 'YOUR PASSWORD'
|
368
|
+
end
|
369
|
+
|
370
|
+
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
371
|
+
deb_release_file_href = 'deb_release_file_href_example' # String |
|
372
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
373
|
+
opts = {
|
374
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
375
|
+
}
|
376
|
+
|
377
|
+
begin
|
378
|
+
# Unset a label
|
379
|
+
result = api_instance.unset_label(deb_release_file_href, unset_label, opts)
|
380
|
+
p result
|
381
|
+
rescue PulpDebClient::ApiError => e
|
382
|
+
puts "Error when calling ContentReleaseFilesApi->unset_label: #{e}"
|
383
|
+
end
|
384
|
+
```
|
385
|
+
|
386
|
+
#### Using the unset_label_with_http_info variant
|
387
|
+
|
388
|
+
This returns an Array which contains the response data, status code and headers.
|
389
|
+
|
390
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_file_href, unset_label, opts)
|
391
|
+
|
392
|
+
```ruby
|
393
|
+
begin
|
394
|
+
# Unset a label
|
395
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_file_href, unset_label, opts)
|
396
|
+
p status_code # => 2xx
|
397
|
+
p headers # => { ... }
|
398
|
+
p data # => <UnsetLabelResponse>
|
399
|
+
rescue PulpDebClient::ApiError => e
|
400
|
+
puts "Error when calling ContentReleaseFilesApi->unset_label_with_http_info: #{e}"
|
401
|
+
end
|
402
|
+
```
|
403
|
+
|
404
|
+
### Parameters
|
405
|
+
|
406
|
+
| Name | Type | Description | Notes |
|
407
|
+
| ---- | ---- | ----------- | ----- |
|
408
|
+
| **deb_release_file_href** | **String** | | |
|
409
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
411
|
+
|
412
|
+
### Return type
|
413
|
+
|
414
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
415
|
+
|
416
|
+
### Authorization
|
417
|
+
|
418
|
+
[basicAuth](../README.md#basicAuth)
|
419
|
+
|
420
|
+
### HTTP request headers
|
421
|
+
|
422
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
423
|
+
- **Accept**: application/json
|
424
|
+
|
data/docs/ContentReleasesApi.md
CHANGED
@@ -7,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release |
|
8
8
|
| [**list**](ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases |
|
9
9
|
| [**read**](ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release |
|
10
|
+
| [**set_label**](ContentReleasesApi.md#set_label) | **POST** {deb_release_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentReleasesApi.md#unset_label) | **POST** {deb_release_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
13
15
|
|
14
|
-
> <AsyncOperationResponse> create(deb_release)
|
16
|
+
> <AsyncOperationResponse> create(deb_release, opts)
|
15
17
|
|
16
18
|
Create a release
|
17
19
|
|
@@ -31,10 +33,13 @@ end
|
|
31
33
|
|
32
34
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
33
35
|
deb_release = PulpDebClient::DebRelease.new({codename: 'codename_example', suite: 'suite_example', distribution: 'distribution_example'}) # DebRelease |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
34
39
|
|
35
40
|
begin
|
36
41
|
# Create a release
|
37
|
-
result = api_instance.create(deb_release)
|
42
|
+
result = api_instance.create(deb_release, opts)
|
38
43
|
p result
|
39
44
|
rescue PulpDebClient::ApiError => e
|
40
45
|
puts "Error when calling ContentReleasesApi->create: #{e}"
|
@@ -45,12 +50,12 @@ end
|
|
45
50
|
|
46
51
|
This returns an Array which contains the response data, status code and headers.
|
47
52
|
|
48
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release, opts)
|
49
54
|
|
50
55
|
```ruby
|
51
56
|
begin
|
52
57
|
# Create a release
|
53
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release, opts)
|
54
59
|
p status_code # => 2xx
|
55
60
|
p headers # => { ... }
|
56
61
|
p data # => <AsyncOperationResponse>
|
@@ -64,6 +69,7 @@ end
|
|
64
69
|
| Name | Type | Description | Notes |
|
65
70
|
| ---- | ---- | ----------- | ----- |
|
66
71
|
| **deb_release** | [**DebRelease**](DebRelease.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
67
73
|
|
68
74
|
### Return type
|
69
75
|
|
@@ -101,18 +107,20 @@ end
|
|
101
107
|
|
102
108
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
103
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
104
111
|
codename: 'codename_example', # String | Filter results where codename matches value
|
105
112
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
106
113
|
label: 'label_example', # String | Filter results where label matches value
|
107
114
|
limit: 56, # Integer | Number of results to return per page.
|
108
115
|
offset: 56, # Integer | The initial index from which to return the results.
|
109
|
-
ordering: ['-codename'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
116
|
+
ordering: ['-codename'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
110
117
|
origin: 'origin_example', # String | Filter results where origin matches value
|
111
118
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
112
119
|
package: 'package_example', # String | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
113
120
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
114
121
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
115
122
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
123
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
116
124
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
117
125
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
118
126
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -154,18 +162,20 @@ end
|
|
154
162
|
|
155
163
|
| Name | Type | Description | Notes |
|
156
164
|
| ---- | ---- | ----------- | ----- |
|
165
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
157
166
|
| **codename** | **String** | Filter results where codename matches value | [optional] |
|
158
167
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
159
168
|
| **label** | **String** | Filter results where label matches value | [optional] |
|
160
169
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
161
170
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
162
|
-
| **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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
171
|
+
| **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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
163
172
|
| **origin** | **String** | Filter results where origin matches value | [optional] |
|
164
173
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
165
174
|
| **package** | **String** | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
166
175
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
167
176
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
168
177
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
178
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
169
179
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
170
180
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
171
181
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -212,6 +222,7 @@ end
|
|
212
222
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
213
223
|
deb_release_href = 'deb_release_href_example' # String |
|
214
224
|
opts = {
|
225
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
215
226
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
216
227
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
217
228
|
}
|
@@ -248,6 +259,7 @@ end
|
|
248
259
|
| Name | Type | Description | Notes |
|
249
260
|
| ---- | ---- | ----------- | ----- |
|
250
261
|
| **deb_release_href** | **String** | | |
|
262
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
251
263
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
252
264
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
253
265
|
|
@@ -264,3 +276,155 @@ end
|
|
264
276
|
- **Content-Type**: Not defined
|
265
277
|
- **Accept**: application/json
|
266
278
|
|
279
|
+
|
280
|
+
## set_label
|
281
|
+
|
282
|
+
> <SetLabelResponse> set_label(deb_release_href, set_label, opts)
|
283
|
+
|
284
|
+
Set a label
|
285
|
+
|
286
|
+
Set a single pulp_label on the object to a specific value or null.
|
287
|
+
|
288
|
+
### Examples
|
289
|
+
|
290
|
+
```ruby
|
291
|
+
require 'time'
|
292
|
+
require 'pulp_deb_client'
|
293
|
+
# setup authorization
|
294
|
+
PulpDebClient.configure do |config|
|
295
|
+
# Configure HTTP basic authorization: basicAuth
|
296
|
+
config.username = 'YOUR USERNAME'
|
297
|
+
config.password = 'YOUR PASSWORD'
|
298
|
+
end
|
299
|
+
|
300
|
+
api_instance = PulpDebClient::ContentReleasesApi.new
|
301
|
+
deb_release_href = 'deb_release_href_example' # String |
|
302
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
303
|
+
opts = {
|
304
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
305
|
+
}
|
306
|
+
|
307
|
+
begin
|
308
|
+
# Set a label
|
309
|
+
result = api_instance.set_label(deb_release_href, set_label, opts)
|
310
|
+
p result
|
311
|
+
rescue PulpDebClient::ApiError => e
|
312
|
+
puts "Error when calling ContentReleasesApi->set_label: #{e}"
|
313
|
+
end
|
314
|
+
```
|
315
|
+
|
316
|
+
#### Using the set_label_with_http_info variant
|
317
|
+
|
318
|
+
This returns an Array which contains the response data, status code and headers.
|
319
|
+
|
320
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_href, set_label, opts)
|
321
|
+
|
322
|
+
```ruby
|
323
|
+
begin
|
324
|
+
# Set a label
|
325
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_href, set_label, opts)
|
326
|
+
p status_code # => 2xx
|
327
|
+
p headers # => { ... }
|
328
|
+
p data # => <SetLabelResponse>
|
329
|
+
rescue PulpDebClient::ApiError => e
|
330
|
+
puts "Error when calling ContentReleasesApi->set_label_with_http_info: #{e}"
|
331
|
+
end
|
332
|
+
```
|
333
|
+
|
334
|
+
### Parameters
|
335
|
+
|
336
|
+
| Name | Type | Description | Notes |
|
337
|
+
| ---- | ---- | ----------- | ----- |
|
338
|
+
| **deb_release_href** | **String** | | |
|
339
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
340
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
341
|
+
|
342
|
+
### Return type
|
343
|
+
|
344
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
345
|
+
|
346
|
+
### Authorization
|
347
|
+
|
348
|
+
[basicAuth](../README.md#basicAuth)
|
349
|
+
|
350
|
+
### HTTP request headers
|
351
|
+
|
352
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
353
|
+
- **Accept**: application/json
|
354
|
+
|
355
|
+
|
356
|
+
## unset_label
|
357
|
+
|
358
|
+
> <UnsetLabelResponse> unset_label(deb_release_href, unset_label, opts)
|
359
|
+
|
360
|
+
Unset a label
|
361
|
+
|
362
|
+
Unset a single pulp_label on the object.
|
363
|
+
|
364
|
+
### Examples
|
365
|
+
|
366
|
+
```ruby
|
367
|
+
require 'time'
|
368
|
+
require 'pulp_deb_client'
|
369
|
+
# setup authorization
|
370
|
+
PulpDebClient.configure do |config|
|
371
|
+
# Configure HTTP basic authorization: basicAuth
|
372
|
+
config.username = 'YOUR USERNAME'
|
373
|
+
config.password = 'YOUR PASSWORD'
|
374
|
+
end
|
375
|
+
|
376
|
+
api_instance = PulpDebClient::ContentReleasesApi.new
|
377
|
+
deb_release_href = 'deb_release_href_example' # String |
|
378
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
379
|
+
opts = {
|
380
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
381
|
+
}
|
382
|
+
|
383
|
+
begin
|
384
|
+
# Unset a label
|
385
|
+
result = api_instance.unset_label(deb_release_href, unset_label, opts)
|
386
|
+
p result
|
387
|
+
rescue PulpDebClient::ApiError => e
|
388
|
+
puts "Error when calling ContentReleasesApi->unset_label: #{e}"
|
389
|
+
end
|
390
|
+
```
|
391
|
+
|
392
|
+
#### Using the unset_label_with_http_info variant
|
393
|
+
|
394
|
+
This returns an Array which contains the response data, status code and headers.
|
395
|
+
|
396
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_href, unset_label, opts)
|
397
|
+
|
398
|
+
```ruby
|
399
|
+
begin
|
400
|
+
# Unset a label
|
401
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_href, unset_label, opts)
|
402
|
+
p status_code # => 2xx
|
403
|
+
p headers # => { ... }
|
404
|
+
p data # => <UnsetLabelResponse>
|
405
|
+
rescue PulpDebClient::ApiError => e
|
406
|
+
puts "Error when calling ContentReleasesApi->unset_label_with_http_info: #{e}"
|
407
|
+
end
|
408
|
+
```
|
409
|
+
|
410
|
+
### Parameters
|
411
|
+
|
412
|
+
| Name | Type | Description | Notes |
|
413
|
+
| ---- | ---- | ----------- | ----- |
|
414
|
+
| **deb_release_href** | **String** | | |
|
415
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
416
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
417
|
+
|
418
|
+
### Return type
|
419
|
+
|
420
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
421
|
+
|
422
|
+
### Authorization
|
423
|
+
|
424
|
+
[basicAuth](../README.md#basicAuth)
|
425
|
+
|
426
|
+
### HTTP request headers
|
427
|
+
|
428
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
429
|
+
- **Accept**: application/json
|
430
|
+
|