pulp_python_client 3.10.0 → 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -8
  3. data/docs/ContentPackagesApi.md +9 -7
  4. data/docs/DistributionsPypiApi.md +126 -4
  5. data/docs/PatchedpythonPythonDistribution.md +2 -0
  6. data/docs/PublicationsPypiApi.md +3 -1
  7. data/docs/PypiApi.md +1 -1
  8. data/docs/PypiLegacyApi.md +1 -1
  9. data/docs/PypiMetadataApi.md +1 -1
  10. data/docs/PypiSimpleApi.md +1 -1
  11. data/docs/PythonPythonDistribution.md +2 -0
  12. data/docs/PythonPythonDistributionResponse.md +2 -0
  13. data/docs/PythonPythonPackageContent.md +5 -5
  14. data/docs/RemotesPythonApi.md +123 -1
  15. data/docs/RepositoriesPythonApi.md +124 -2
  16. data/docs/RepositoriesPythonVersionsApi.md +3 -1
  17. data/docs/SetLabel.md +19 -0
  18. data/docs/SetLabelResponse.md +19 -0
  19. data/docs/UnsetLabel.md +17 -0
  20. data/docs/UnsetLabelResponse.md +19 -0
  21. data/lib/pulp_python_client/api/content_packages_api.rb +10 -7
  22. data/lib/pulp_python_client/api/distributions_pypi_api.rb +158 -3
  23. data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -0
  24. data/lib/pulp_python_client/api/remotes_python_api.rb +155 -0
  25. data/lib/pulp_python_client/api/repositories_python_api.rb +155 -0
  26. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -0
  27. data/lib/pulp_python_client/configuration.rb +2 -2
  28. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
  29. data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
  30. data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
  31. data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
  32. data/lib/pulp_python_client/models/set_label.rb +252 -0
  33. data/lib/pulp_python_client/models/set_label_response.rb +243 -0
  34. data/lib/pulp_python_client/models/unset_label.rb +242 -0
  35. data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
  36. data/lib/pulp_python_client/version.rb +1 -1
  37. data/lib/pulp_python_client.rb +4 -0
  38. data/spec/api/content_packages_api_spec.rb +4 -3
  39. data/spec/api/distributions_pypi_api_spec.rb +32 -1
  40. data/spec/api/publications_pypi_api_spec.rb +1 -0
  41. data/spec/api/remotes_python_api_spec.rb +31 -0
  42. data/spec/api/repositories_python_api_spec.rb +31 -0
  43. data/spec/api/repositories_python_versions_api_spec.rb +1 -0
  44. data/spec/configuration_spec.rb +3 -3
  45. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  46. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  47. data/spec/models/python_python_distribution_spec.rb +6 -0
  48. data/spec/models/python_python_package_content_spec.rb +4 -4
  49. data/spec/models/set_label_response_spec.rb +47 -0
  50. data/spec/models/set_label_spec.rb +47 -0
  51. data/spec/models/unset_label_response_spec.rb +47 -0
  52. data/spec/models/unset_label_spec.rb +41 -0
  53. metadata +48 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33d23e4ad5f8819aceec8c13fb27791533782305ab71e2254af3ef6e1c996173
4
- data.tar.gz: 85defeba569f3667543827e35eb6d03b1cf53cebeee9361f5d0fb241453a2196
3
+ metadata.gz: ac15138007e3c1e6a71126eefe3dcc59aba28172aa189ead2d046eb202fbdf3e
4
+ data.tar.gz: f246263cae4a945069c87fd0f0ff101d8971fb0d8f0b7400b593c52b36e03084
5
5
  SHA512:
6
- metadata.gz: 6e35c1aeb30973ba2ac77592ee31d3c9653dccac7db2302e34f4021d20f0c08747b4a56cc2f5d215d9d0ab12f9233f8aa68cffb8879c024b8a71f198f52f8141
7
- data.tar.gz: b3a78506af5bd7cedd9da83c62bd8819a5da8437b838298b4d7657f6e36a717cf5dea41cf3754c8264214d7eee53dc2c94a6e51056eeadbb39c6ace07552e8d4
6
+ metadata.gz: 485432cb562c800b1a2c47df7f1507f321d8b9dd4e2e74f2f0a519d0d7e6404da2ea9a969b036e6226e3bb3a5b782cd77a017653839dee34b4a8812cb3a43d10
7
+ data.tar.gz: 716318072790d742e2752b3e3515a2c11c2d5b702e7f6680c9850050b55e1e84be9e1464c98a2e2084400ab381ca70d6a3b26ea77faf9da3448c41bcc0f4f35e
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.10.0
10
+ - Package version: 3.11.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_python_client-3.10.0.gem
27
+ gem install ./pulp_python_client-3.11.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.10.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.11.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_python_client', '~> 3.10.0'
36
+ gem 'pulp_python_client', '~> 3.11.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -67,10 +67,10 @@ end
67
67
  api_instance = PulpPythonClient::ContentPackagesApi.new
68
68
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
69
69
  opts = {
70
- artifact: 'artifact_example', # String | Artifact file representing the physical content
71
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
72
70
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
73
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
71
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
72
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
73
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
74
74
  sha256: '', # String | The SHA256 digest of this package.
75
75
  summary: 'summary_example', # String | A one-line summary of what the package does.
76
76
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
@@ -107,7 +107,7 @@ end
107
107
 
108
108
  ## Documentation for API Endpoints
109
109
 
110
- All URIs are relative to *https://pulp*
110
+ All URIs are relative to *http://pulp*
111
111
 
112
112
  Class | Method | HTTP request | Description
113
113
  ------------ | ------------- | ------------- | -------------
@@ -119,6 +119,8 @@ Class | Method | HTTP request | Description
119
119
  *PulpPythonClient::DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
120
120
  *PulpPythonClient::DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
121
121
  *PulpPythonClient::DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
122
+ *PulpPythonClient::DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
123
+ *PulpPythonClient::DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
122
124
  *PulpPythonClient::DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
123
125
  *PulpPythonClient::PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
124
126
  *PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
@@ -136,6 +138,8 @@ Class | Method | HTTP request | Description
136
138
  *PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
137
139
  *PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
138
140
  *PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
141
+ *PulpPythonClient::RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
142
+ *PulpPythonClient::RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
139
143
  *PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
140
144
  *PulpPythonClient::RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
141
145
  *PulpPythonClient::RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
@@ -143,7 +147,9 @@ Class | Method | HTTP request | Description
143
147
  *PulpPythonClient::RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
144
148
  *PulpPythonClient::RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
145
149
  *PulpPythonClient::RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
150
+ *PulpPythonClient::RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
146
151
  *PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
152
+ *PulpPythonClient::RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
147
153
  *PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
148
154
  *PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
149
155
  *PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
@@ -186,7 +192,11 @@ Class | Method | HTTP request | Description
186
192
  - [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
187
193
  - [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
188
194
  - [PulpPythonClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
195
+ - [PulpPythonClient::SetLabel](docs/SetLabel.md)
196
+ - [PulpPythonClient::SetLabelResponse](docs/SetLabelResponse.md)
189
197
  - [PulpPythonClient::SummaryResponse](docs/SummaryResponse.md)
198
+ - [PulpPythonClient::UnsetLabel](docs/UnsetLabel.md)
199
+ - [PulpPythonClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
190
200
 
191
201
 
192
202
  ## Documentation for Authorization
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -33,10 +33,10 @@ end
33
33
  api_instance = PulpPythonClient::ContentPackagesApi.new
34
34
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
35
  opts = {
36
- artifact: 'artifact_example', # String | Artifact file representing the physical content
37
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
38
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
37
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
39
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
40
  sha256: '', # String | The SHA256 digest of this package.
41
41
  summary: 'summary_example', # String | A one-line summary of what the package does.
42
42
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
@@ -76,10 +76,10 @@ end
76
76
  Name | Type | Description | Notes
77
77
  ------------- | ------------- | ------------- | -------------
78
78
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
79
- **artifact** | **String**| Artifact file representing the physical content | [optional]
80
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
81
79
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
82
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
80
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
81
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
82
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
83
83
  **sha256** | **String**| The SHA256 digest of this package. | [optional] [default to '']
84
84
  **summary** | **String**| A one-line summary of what the package does. | [optional]
85
85
  **description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
@@ -155,6 +155,7 @@ opts = {
155
155
  packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
156
156
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
157
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
+ q: 'q_example', # String |
158
159
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
159
160
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
160
161
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -202,6 +203,7 @@ Name | Type | Description | Notes
202
203
  **packagetype__in** | [**Array&lt;String&gt;**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
203
204
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
204
205
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
206
+ **q** | **String**| | [optional]
205
207
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
206
208
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
207
209
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::DistributionsPypiApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -9,6 +9,8 @@ Method | HTTP request | Description
9
9
  [**list**](DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
10
10
  [**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
11
11
  [**read**](DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
12
+ [**set_label**](DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
13
+ [**unset_label**](DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
12
14
  [**update**](DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
13
15
 
14
16
 
@@ -149,13 +151,18 @@ opts = {
149
151
  name: 'name_example', # String | Filter results where name matches value
150
152
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
153
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
154
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
152
155
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
156
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
157
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
158
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
153
159
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
160
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
161
+ ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
162
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
163
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
164
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
165
+ q: 'q_example', # String |
159
166
  repository: 'repository_example', # String | Filter results where repository matches value
160
167
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
168
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,14 +192,19 @@ Name | Type | Description | Notes
185
192
  **name** | **String**| Filter results where name matches value | [optional]
186
193
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
194
  **name__icontains** | **String**| Filter results where name contains value | [optional]
195
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
196
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
197
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
198
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
199
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
189
200
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
201
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
202
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
203
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
204
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
205
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
195
- **repository** | **String**| Filter results where repository matches value | [optional]
206
+ **q** | **String**| | [optional]
207
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
208
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
209
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
198
210
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
326
338
  - **Accept**: application/json
327
339
 
328
340
 
341
+ ## set_label
342
+
343
+ > SetLabelResponse set_label(python_python_distribution_href, set_label)
344
+
345
+ Set a label
346
+
347
+ Set a single pulp_label on the object to a specific value or null.
348
+
349
+ ### Example
350
+
351
+ ```ruby
352
+ # load the gem
353
+ require 'pulp_python_client'
354
+ # setup authorization
355
+ PulpPythonClient.configure do |config|
356
+ # Configure HTTP basic authorization: basicAuth
357
+ config.username = 'YOUR USERNAME'
358
+ config.password = 'YOUR PASSWORD'
359
+ end
360
+
361
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
362
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
363
+ set_label = PulpPythonClient::SetLabel.new # SetLabel |
364
+
365
+ begin
366
+ #Set a label
367
+ result = api_instance.set_label(python_python_distribution_href, set_label)
368
+ p result
369
+ rescue PulpPythonClient::ApiError => e
370
+ puts "Exception when calling DistributionsPypiApi->set_label: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+
377
+ Name | Type | Description | Notes
378
+ ------------- | ------------- | ------------- | -------------
379
+ **python_python_distribution_href** | **String**| |
380
+ **set_label** | [**SetLabel**](SetLabel.md)| |
381
+
382
+ ### Return type
383
+
384
+ [**SetLabelResponse**](SetLabelResponse.md)
385
+
386
+ ### Authorization
387
+
388
+ [basicAuth](../README.md#basicAuth)
389
+
390
+ ### HTTP request headers
391
+
392
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
393
+ - **Accept**: application/json
394
+
395
+
396
+ ## unset_label
397
+
398
+ > UnsetLabelResponse unset_label(python_python_distribution_href, unset_label)
399
+
400
+ Unset a label
401
+
402
+ Unset a single pulp_label on the object.
403
+
404
+ ### Example
405
+
406
+ ```ruby
407
+ # load the gem
408
+ require 'pulp_python_client'
409
+ # setup authorization
410
+ PulpPythonClient.configure do |config|
411
+ # Configure HTTP basic authorization: basicAuth
412
+ config.username = 'YOUR USERNAME'
413
+ config.password = 'YOUR PASSWORD'
414
+ end
415
+
416
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
417
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
418
+ unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
419
+
420
+ begin
421
+ #Unset a label
422
+ result = api_instance.unset_label(python_python_distribution_href, unset_label)
423
+ p result
424
+ rescue PulpPythonClient::ApiError => e
425
+ puts "Exception when calling DistributionsPypiApi->unset_label: #{e}"
426
+ end
427
+ ```
428
+
429
+ ### Parameters
430
+
431
+
432
+ Name | Type | Description | Notes
433
+ ------------- | ------------- | ------------- | -------------
434
+ **python_python_distribution_href** | **String**| |
435
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
436
+
437
+ ### Return type
438
+
439
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
440
+
441
+ ### Authorization
442
+
443
+ [basicAuth](../README.md#basicAuth)
444
+
445
+ ### HTTP request headers
446
+
447
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
448
+ - **Accept**: application/json
449
+
450
+
329
451
  ## update
330
452
 
331
453
  > AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
10
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
10
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
11
12
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
20
21
 
21
22
  instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
22
23
  content_guard: null,
24
+ hidden: null,
23
25
  pulp_labels: null,
24
26
  name: null,
25
27
  repository: null,
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PublicationsPypiApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -151,6 +151,7 @@ opts = {
151
151
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
152
152
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
153
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
154
+ q: 'q_example', # String |
154
155
  repository: 'repository_example', # String | Repository referenced by HREF
155
156
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
156
157
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
184
185
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
186
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
187
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
+ **q** | **String**| | [optional]
187
189
  **repository** | **String**| Repository referenced by HREF | [optional]
188
190
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
189
191
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
data/docs/PypiApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiLegacyApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiMetadataApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiSimpleApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
10
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
10
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
11
12
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
20
21
 
21
22
  instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
22
23
  content_guard: null,
24
+ hidden: null,
23
25
  pulp_labels: null,
24
26
  name: null,
25
27
  repository: null,
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
10
10
  **base_url** | **String** | | [optional] [readonly]
11
11
  **content_guard** | **String** | An optional content-guard. | [optional]
12
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
13
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
13
14
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
14
15
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
@@ -26,6 +27,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: nul
26
27
  base_path: null,
27
28
  base_url: null,
28
29
  content_guard: null,
30
+ hidden: null,
29
31
  pulp_labels: null,
30
32
  name: null,
31
33
  repository: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
7
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
8
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
9
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
10
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
  **sha256** | **String** | The SHA256 digest of this package. | [optional] [default to &#39;&#39;]
13
13
  **summary** | **String** | A one-line summary of what the package does. | [optional]
14
14
  **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
@@ -37,10 +37,10 @@ Name | Type | Description | Notes
37
37
  ```ruby
38
38
  require 'PulpPythonClient'
39
39
 
40
- instance = PulpPythonClient::PythonPythonPackageContent.new(artifact: null,
40
+ instance = PulpPythonClient::PythonPythonPackageContent.new(repository: null,
41
+ artifact: null,
41
42
  relative_path: null,
42
43
  file: null,
43
- repository: null,
44
44
  upload: null,
45
45
  sha256: null,
46
46
  summary: null,