pulp_python_client 3.35.0 → 3.36.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2ba284414b253e6e51a801c9e250eac5536bb0d165331ee047509ba28b8fdb6
4
- data.tar.gz: 39d069edb1f9e5dfe63cc8bec5ea8b5b748d023824b1f9e2042e4ad34abf98d9
3
+ metadata.gz: 3e0e9c583788c3cb3cb3e25c63f2111f66d16fcc0689206a926c1b5a8be249ae
4
+ data.tar.gz: c54b5b4528d95edfa8a9ef1159e24fce7aa472e75f45f622323776c0c6f6ccbe
5
5
  SHA512:
6
- metadata.gz: 0c5b51b130f7638ccb89edf6a691b8de056e3b15f41c67048302ac816087704b46f64fe4facf36c04250309b4278bde8b6a344c63c8aede639de9b0e830c3320
7
- data.tar.gz: 6f094fd6ca3679506f5a456290ad7a590197d3e61d469fc482f59f84ee48b61af07c2d8e6a6b6d3b190e8f7a70b4fca69341ed0022c2f76625c9d39b99d7da1e
6
+ metadata.gz: fdc47ffc5a2325fd055d9850fe96764a60624fea075e3cb923c80cd396273a50ed31c31c2682eb318c427dff43a6313b3fd99463c7b901f35956bac8cf7b9f80
7
+ data.tar.gz: eabd7c2b4ed7c22c420649d85728718affe111994969a656a00fa716e19b4e7d195cd2d6e46649ba54f6d968dc808f9c71a342c513cd9f7205bcf14ba3f3cba7
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.35.0
10
+ - Package version: 3.36.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_python_client-3.35.0.gem
28
+ gem install ./pulp_python_client-3.36.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.35.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.36.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_python_client', '~> 3.35.0'
37
+ gem 'pulp_python_client', '~> 3.36.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -163,11 +163,14 @@ Class | Method | HTTP request | Description
163
163
  *PulpPythonClient::PypiApi* | [**read**](docs/PypiApi.md#read) | **GET** /pypi/{path}/ | Get index summary
164
164
  *PulpPythonClient::PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package
165
165
  *PulpPythonClient::PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata
166
+ *PulpPythonClient::PypiPackagesXmlApi* | [**packages**](docs/PypiPackagesXmlApi.md#packages) | **GET** /pypi/{path}/rss/packages.xml | Get newest packages RSS feed
167
+ *PulpPythonClient::PypiProjectReleasesXmlApi* | [**project_releases**](docs/PypiProjectReleasesXmlApi.md#project_releases) | **GET** /pypi/{path}/rss/project/{package}/releases.xml | Get project releases RSS feed
166
168
  *PulpPythonClient::PypiProvenanceApi* | [**read**](docs/PypiProvenanceApi.md#read) | **GET** /pypi/{path}/integrity/{package}/{version}/{filename}/provenance/ | Get package provenance
167
169
  *PulpPythonClient::PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
168
170
  *PulpPythonClient::PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
169
171
  *PulpPythonClient::PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
170
172
  *PulpPythonClient::PypiUnyankApi* | [**unyank**](docs/PypiUnyankApi.md#unyank) | **POST** /pypi/{path}/unyank/ | Unyank a package version
173
+ *PulpPythonClient::PypiUpdatesXmlApi* | [**updates**](docs/PypiUpdatesXmlApi.md#updates) | **GET** /pypi/{path}/rss/updates.xml | Get latest updates RSS feed
171
174
  *PulpPythonClient::PypiYankApi* | [**yank**](docs/PypiYankApi.md#yank) | **POST** /pypi/{path}/yank/ | Yank a package version
172
175
  *PulpPythonClient::RemotesPythonApi* | [**add_role**](docs/RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role
173
176
  *PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
@@ -0,0 +1,85 @@
1
+ # PulpPythonClient::PypiPackagesXmlApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**packages**](PypiPackagesXmlApi.md#packages) | **GET** /pypi/{path}/rss/packages.xml | Get newest packages RSS feed |
8
+
9
+
10
+ ## packages
11
+
12
+ > packages(path, opts)
13
+
14
+ Get newest packages RSS feed
15
+
16
+ Latest newly added projects, analogous to PyPI `/rss/packages.xml`.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_python_client'
23
+ # setup authorization
24
+ PulpPythonClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpPythonClient::PypiPackagesXmlApi.new
31
+ path = 'path_example' # String |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
35
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+ # Get newest packages RSS feed
40
+ api_instance.packages(path, opts)
41
+ rescue PulpPythonClient::ApiError => e
42
+ puts "Error when calling PypiPackagesXmlApi->packages: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the packages_with_http_info variant
47
+
48
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+
50
+ > <Array(nil, Integer, Hash)> packages_with_http_info(path, opts)
51
+
52
+ ```ruby
53
+ begin
54
+ # Get newest packages RSS feed
55
+ data, status_code, headers = api_instance.packages_with_http_info(path, opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => nil
59
+ rescue PulpPythonClient::ApiError => e
60
+ puts "Error when calling PypiPackagesXmlApi->packages_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **path** | **String** | | |
69
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
71
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
72
+
73
+ ### Return type
74
+
75
+ nil (empty response body)
76
+
77
+ ### Authorization
78
+
79
+ [basicAuth](../README.md#basicAuth)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: Not defined
84
+ - **Accept**: Not defined
85
+
@@ -0,0 +1,87 @@
1
+ # PulpPythonClient::PypiProjectReleasesXmlApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**project_releases**](PypiProjectReleasesXmlApi.md#project_releases) | **GET** /pypi/{path}/rss/project/{package}/releases.xml | Get project releases RSS feed |
8
+
9
+
10
+ ## project_releases
11
+
12
+ > project_releases(package, path, opts)
13
+
14
+ Get project releases RSS feed
15
+
16
+ Latest releases for one project, analogous to PyPI `/rss/project//releases.xml`.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_python_client'
23
+ # setup authorization
24
+ PulpPythonClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpPythonClient::PypiProjectReleasesXmlApi.new
31
+ package = 'package_example' # String |
32
+ path = 'path_example' # String |
33
+ opts = {
34
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
36
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
37
+ }
38
+
39
+ begin
40
+ # Get project releases RSS feed
41
+ api_instance.project_releases(package, path, opts)
42
+ rescue PulpPythonClient::ApiError => e
43
+ puts "Error when calling PypiProjectReleasesXmlApi->project_releases: #{e}"
44
+ end
45
+ ```
46
+
47
+ #### Using the project_releases_with_http_info variant
48
+
49
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
50
+
51
+ > <Array(nil, Integer, Hash)> project_releases_with_http_info(package, path, opts)
52
+
53
+ ```ruby
54
+ begin
55
+ # Get project releases RSS feed
56
+ data, status_code, headers = api_instance.project_releases_with_http_info(package, path, opts)
57
+ p status_code # => 2xx
58
+ p headers # => { ... }
59
+ p data # => nil
60
+ rescue PulpPythonClient::ApiError => e
61
+ puts "Error when calling PypiProjectReleasesXmlApi->project_releases_with_http_info: #{e}"
62
+ end
63
+ ```
64
+
65
+ ### Parameters
66
+
67
+ | Name | Type | Description | Notes |
68
+ | ---- | ---- | ----------- | ----- |
69
+ | **package** | **String** | | |
70
+ | **path** | **String** | | |
71
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
72
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
73
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
74
+
75
+ ### Return type
76
+
77
+ nil (empty response body)
78
+
79
+ ### Authorization
80
+
81
+ [basicAuth](../README.md#basicAuth)
82
+
83
+ ### HTTP request headers
84
+
85
+ - **Content-Type**: Not defined
86
+ - **Accept**: Not defined
87
+
@@ -0,0 +1,85 @@
1
+ # PulpPythonClient::PypiUpdatesXmlApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**updates**](PypiUpdatesXmlApi.md#updates) | **GET** /pypi/{path}/rss/updates.xml | Get latest updates RSS feed |
8
+
9
+
10
+ ## updates
11
+
12
+ > updates(path, opts)
13
+
14
+ Get latest updates RSS feed
15
+
16
+ Latest releases added to this index, analogous to PyPI `/rss/updates.xml`.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_python_client'
23
+ # setup authorization
24
+ PulpPythonClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpPythonClient::PypiUpdatesXmlApi.new
31
+ path = 'path_example' # String |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
35
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+ # Get latest updates RSS feed
40
+ api_instance.updates(path, opts)
41
+ rescue PulpPythonClient::ApiError => e
42
+ puts "Error when calling PypiUpdatesXmlApi->updates: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the updates_with_http_info variant
47
+
48
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+
50
+ > <Array(nil, Integer, Hash)> updates_with_http_info(path, opts)
51
+
52
+ ```ruby
53
+ begin
54
+ # Get latest updates RSS feed
55
+ data, status_code, headers = api_instance.updates_with_http_info(path, opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => nil
59
+ rescue PulpPythonClient::ApiError => e
60
+ puts "Error when calling PypiUpdatesXmlApi->updates_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **path** | **String** | | |
69
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
71
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
72
+
73
+ ### Return type
74
+
75
+ nil (empty response body)
76
+
77
+ ### Authorization
78
+
79
+ [basicAuth](../README.md#basicAuth)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: Not defined
84
+ - **Accept**: Not defined
85
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
8
- | **mirror** | **Boolean** | If &#x60;&#x60;True&#x60;&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;&#x60;False&#x60;&#x60;, sync will be additive only. | [optional][default to false] |
8
+ | **mirror** | **Boolean** | If &#x60;True&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;False&#x60;, sync will be additive only. | [optional][default to false] |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,92 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpPythonClient
16
+ class PypiPackagesXmlApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Get newest packages RSS feed
23
+ # Latest newly added projects, analogous to PyPI `/rss/packages.xml`.
24
+ # @param path [String]
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
28
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
+ # @return [nil]
30
+ def packages(path, opts = {})
31
+ packages_with_http_info(path, opts)
32
+ nil
33
+ end
34
+
35
+ # Get newest packages RSS feed
36
+ # Latest newly added projects, analogous to PyPI &#x60;/rss/packages.xml&#x60;.
37
+ # @param path [String]
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
41
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
43
+ def packages_with_http_info(path, opts = {})
44
+ if @api_client.config.debugging
45
+ @api_client.config.logger.debug 'Calling API: PypiPackagesXmlApi.packages ...'
46
+ end
47
+ # verify the required parameter 'path' is set
48
+ if @api_client.config.client_side_validation && path.nil?
49
+ fail ArgumentError, "Missing the required parameter 'path' when calling PypiPackagesXmlApi.packages"
50
+ end
51
+ # resource path
52
+ local_var_path = '/pypi/{path}/rss/packages.xml'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
53
+
54
+ # query parameters
55
+ query_params = opts[:query_params] || {}
56
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
57
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
58
+
59
+ # header parameters
60
+ header_params = opts[:header_params] || {}
61
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body]
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type]
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"PypiPackagesXmlApi.packages",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: PypiPackagesXmlApi#packages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,98 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpPythonClient
16
+ class PypiProjectReleasesXmlApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Get project releases RSS feed
23
+ # Latest releases for one project, analogous to PyPI `/rss/project//releases.xml`.
24
+ # @param package [String]
25
+ # @param path [String]
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
29
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
30
+ # @return [nil]
31
+ def project_releases(package, path, opts = {})
32
+ project_releases_with_http_info(package, path, opts)
33
+ nil
34
+ end
35
+
36
+ # Get project releases RSS feed
37
+ # Latest releases for one project, analogous to PyPI &#x60;/rss/project//releases.xml&#x60;.
38
+ # @param package [String]
39
+ # @param path [String]
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
43
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
45
+ def project_releases_with_http_info(package, path, opts = {})
46
+ if @api_client.config.debugging
47
+ @api_client.config.logger.debug 'Calling API: PypiProjectReleasesXmlApi.project_releases ...'
48
+ end
49
+ # verify the required parameter 'package' is set
50
+ if @api_client.config.client_side_validation && package.nil?
51
+ fail ArgumentError, "Missing the required parameter 'package' when calling PypiProjectReleasesXmlApi.project_releases"
52
+ end
53
+ # verify the required parameter 'path' is set
54
+ if @api_client.config.client_side_validation && path.nil?
55
+ fail ArgumentError, "Missing the required parameter 'path' when calling PypiProjectReleasesXmlApi.project_releases"
56
+ end
57
+ # resource path
58
+ local_var_path = '/pypi/{path}/rss/project/{package}/releases.xml'.sub('{' + 'package' + '}', CGI.escape(package.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
59
+
60
+ # query parameters
61
+ query_params = opts[:query_params] || {}
62
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
63
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
64
+
65
+ # header parameters
66
+ header_params = opts[:header_params] || {}
67
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
68
+
69
+ # form parameters
70
+ form_params = opts[:form_params] || {}
71
+
72
+ # http body (model)
73
+ post_body = opts[:debug_body]
74
+
75
+ # return_type
76
+ return_type = opts[:debug_return_type]
77
+
78
+ # auth_names
79
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
80
+
81
+ new_options = opts.merge(
82
+ :operation => :"PypiProjectReleasesXmlApi.project_releases",
83
+ :header_params => header_params,
84
+ :query_params => query_params,
85
+ :form_params => form_params,
86
+ :body => post_body,
87
+ :auth_names => auth_names,
88
+ :return_type => return_type
89
+ )
90
+
91
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug "API called: PypiProjectReleasesXmlApi#project_releases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
+ end
95
+ return data, status_code, headers
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,92 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpPythonClient
16
+ class PypiUpdatesXmlApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Get latest updates RSS feed
23
+ # Latest releases added to this index, analogous to PyPI `/rss/updates.xml`.
24
+ # @param path [String]
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
28
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
+ # @return [nil]
30
+ def updates(path, opts = {})
31
+ updates_with_http_info(path, opts)
32
+ nil
33
+ end
34
+
35
+ # Get latest updates RSS feed
36
+ # Latest releases added to this index, analogous to PyPI &#x60;/rss/updates.xml&#x60;.
37
+ # @param path [String]
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
41
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
43
+ def updates_with_http_info(path, opts = {})
44
+ if @api_client.config.debugging
45
+ @api_client.config.logger.debug 'Calling API: PypiUpdatesXmlApi.updates ...'
46
+ end
47
+ # verify the required parameter 'path' is set
48
+ if @api_client.config.client_side_validation && path.nil?
49
+ fail ArgumentError, "Missing the required parameter 'path' when calling PypiUpdatesXmlApi.updates"
50
+ end
51
+ # resource path
52
+ local_var_path = '/pypi/{path}/rss/updates.xml'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
53
+
54
+ # query parameters
55
+ query_params = opts[:query_params] || {}
56
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
57
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
58
+
59
+ # header parameters
60
+ header_params = opts[:header_params] || {}
61
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body]
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type]
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"PypiUpdatesXmlApi.updates",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: PypiUpdatesXmlApi#updates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRole
19
19
  attr_accessor :users
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRoleResponse
19
19
  attr_accessor :users
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
18
18
  class RepositoryAddRemoveContent
19
19
  # A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
20
20
  attr_accessor :add_content_units
@@ -19,7 +19,7 @@ module PulpPythonClient
19
19
  # A remote to sync from. This will override a remote set on repository.
20
20
  attr_accessor :remote
21
21
 
22
- # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
22
+ # If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only.
23
23
  attr_accessor :mirror
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
18
18
  class RepositoryVersionResponse
19
19
  attr_accessor :pulp_href
20
20
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.35.0'
14
+ VERSION = '3.36.0'
15
15
  end
@@ -79,9 +79,12 @@ require 'pulp_python_client/api/publications_pypi_api'
79
79
  require 'pulp_python_client/api/pypi_api'
80
80
  require 'pulp_python_client/api/pypi_legacy_api'
81
81
  require 'pulp_python_client/api/pypi_metadata_api'
82
+ require 'pulp_python_client/api/pypi_packages_xml_api'
83
+ require 'pulp_python_client/api/pypi_project_releases_xml_api'
82
84
  require 'pulp_python_client/api/pypi_provenance_api'
83
85
  require 'pulp_python_client/api/pypi_simple_api'
84
86
  require 'pulp_python_client/api/pypi_unyank_api'
87
+ require 'pulp_python_client/api/pypi_updates_xml_api'
85
88
  require 'pulp_python_client/api/pypi_yank_api'
86
89
  require 'pulp_python_client/api/remotes_python_api'
87
90
  require 'pulp_python_client/api/repositories_python_api'
@@ -0,0 +1,50 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PypiPackagesXmlApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiPackagesXmlApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiPackagesXmlApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiPackagesXmlApi' do
30
+ it 'should create an instance of PypiPackagesXmlApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiPackagesXmlApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for packages
36
+ # Get newest packages RSS feed
37
+ # Latest newly added projects, analogous to PyPI &#x60;/rss/packages.xml&#x60;.
38
+ # @param path
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
42
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [nil]
44
+ describe 'packages test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
47
+ end
48
+ end
49
+
50
+ end
@@ -0,0 +1,51 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PypiProjectReleasesXmlApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiProjectReleasesXmlApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiProjectReleasesXmlApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiProjectReleasesXmlApi' do
30
+ it 'should create an instance of PypiProjectReleasesXmlApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiProjectReleasesXmlApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for project_releases
36
+ # Get project releases RSS feed
37
+ # Latest releases for one project, analogous to PyPI &#x60;/rss/project//releases.xml&#x60;.
38
+ # @param package
39
+ # @param path
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
43
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
+ # @return [nil]
45
+ describe 'project_releases test' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
48
+ end
49
+ end
50
+
51
+ end
@@ -0,0 +1,50 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PypiUpdatesXmlApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiUpdatesXmlApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiUpdatesXmlApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiUpdatesXmlApi' do
30
+ it 'should create an instance of PypiUpdatesXmlApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiUpdatesXmlApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for updates
36
+ # Get latest updates RSS feed
37
+ # Latest releases added to this index, analogous to PyPI &#x60;/rss/updates.xml&#x60;.
38
+ # @param path
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
42
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [nil]
44
+ describe 'updates test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
47
+ end
48
+ end
49
+
50
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.35.0
4
+ version: 3.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-26 00:00:00.000000000 Z
11
+ date: 2026-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -122,9 +122,12 @@ files:
122
122
  - docs/PypiApi.md
123
123
  - docs/PypiLegacyApi.md
124
124
  - docs/PypiMetadataApi.md
125
+ - docs/PypiPackagesXmlApi.md
126
+ - docs/PypiProjectReleasesXmlApi.md
125
127
  - docs/PypiProvenanceApi.md
126
128
  - docs/PypiSimpleApi.md
127
129
  - docs/PypiUnyankApi.md
130
+ - docs/PypiUpdatesXmlApi.md
128
131
  - docs/PypiYankApi.md
129
132
  - docs/PythonPackageProvenanceResponse.md
130
133
  - docs/PythonPackageYankResponse.md
@@ -165,9 +168,12 @@ files:
165
168
  - lib/pulp_python_client/api/pypi_api.rb
166
169
  - lib/pulp_python_client/api/pypi_legacy_api.rb
167
170
  - lib/pulp_python_client/api/pypi_metadata_api.rb
171
+ - lib/pulp_python_client/api/pypi_packages_xml_api.rb
172
+ - lib/pulp_python_client/api/pypi_project_releases_xml_api.rb
168
173
  - lib/pulp_python_client/api/pypi_provenance_api.rb
169
174
  - lib/pulp_python_client/api/pypi_simple_api.rb
170
175
  - lib/pulp_python_client/api/pypi_unyank_api.rb
176
+ - lib/pulp_python_client/api/pypi_updates_xml_api.rb
171
177
  - lib/pulp_python_client/api/pypi_yank_api.rb
172
178
  - lib/pulp_python_client/api/remotes_python_api.rb
173
179
  - lib/pulp_python_client/api/repositories_python_api.rb
@@ -238,9 +244,12 @@ files:
238
244
  - spec/api/pypi_api_spec.rb
239
245
  - spec/api/pypi_legacy_api_spec.rb
240
246
  - spec/api/pypi_metadata_api_spec.rb
247
+ - spec/api/pypi_packages_xml_api_spec.rb
248
+ - spec/api/pypi_project_releases_xml_api_spec.rb
241
249
  - spec/api/pypi_provenance_api_spec.rb
242
250
  - spec/api/pypi_simple_api_spec.rb
243
251
  - spec/api/pypi_unyank_api_spec.rb
252
+ - spec/api/pypi_updates_xml_api_spec.rb
244
253
  - spec/api/pypi_yank_api_spec.rb
245
254
  - spec/api/remotes_python_api_spec.rb
246
255
  - spec/api/repositories_python_api_spec.rb
@@ -330,11 +339,14 @@ test_files:
330
339
  - spec/api/content_packages_api_spec.rb
331
340
  - spec/api/publications_pypi_api_spec.rb
332
341
  - spec/api/pypi_simple_api_spec.rb
342
+ - spec/api/pypi_updates_xml_api_spec.rb
333
343
  - spec/api/pypi_api_spec.rb
334
344
  - spec/api/pypi_provenance_api_spec.rb
335
345
  - spec/api/pypi_yank_api_spec.rb
336
346
  - spec/api/distributions_pypi_api_spec.rb
347
+ - spec/api/pypi_project_releases_xml_api_spec.rb
337
348
  - spec/api/repositories_python_versions_api_spec.rb
349
+ - spec/api/pypi_packages_xml_api_spec.rb
338
350
  - spec/api/content_provenance_api_spec.rb
339
351
  - spec/api/pypi_unyank_api_spec.rb
340
352
  - spec/api/content_yanks_api_spec.rb