pulp_python_client 3.0.0b10 → 3.0.0b11
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 +46 -33
- data/docs/ContentPackagesApi.md +52 -52
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsPypiApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/PatchedpythonPythonDistribution.md +23 -0
- data/docs/PatchedpythonPythonRemote.md +43 -0
- data/docs/PatchedpythonPythonRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsPypiApi.md +40 -40
- data/docs/PythonBanderRemote.md +19 -0
- data/docs/PythonPythonDistribution.md +1 -7
- data/docs/PythonPythonDistributionResponse.md +29 -0
- data/docs/PythonPythonPackageContent.md +7 -15
- data/docs/PythonPythonPackageContentResponse.md +69 -0
- data/docs/PythonPythonPublication.md +2 -8
- data/docs/PythonPythonPublicationResponse.md +25 -0
- data/docs/PythonPythonRemote.md +4 -10
- data/docs/PythonPythonRemoteResponse.md +49 -0
- data/docs/PythonPythonRepository.md +4 -10
- data/docs/PythonPythonRepositoryResponse.md +29 -0
- data/docs/RemotesPythonApi.md +129 -69
- data/docs/RepositoriesPythonApi.md +97 -73
- data/docs/RepositoriesPythonVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_python_client.rb +14 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +70 -70
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
- data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
- data/lib/pulp_python_client/api/remotes_python_api.rb +185 -108
- data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -92
- data/lib/pulp_python_client/api_client.rb +2 -2
- data/lib/pulp_python_client/api_error.rb +2 -2
- data/lib/pulp_python_client/configuration.rb +3 -3
- data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_python_client/models/content_summary.rb +9 -15
- data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_python_client/models/inline_response200.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
- data/lib/pulp_python_client/models/policy_enum.rb +37 -0
- data/lib/pulp_python_client/models/python_bander_remote.rb +228 -0
- data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +279 -0
- data/lib/pulp_python_client/models/python_python_package_content.rb +28 -136
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +467 -0
- data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
- data/lib/pulp_python_client/models/python_python_publication_response.rb +248 -0
- data/lib/pulp_python_client/models/python_python_remote.rb +7 -199
- data/lib/pulp_python_client/models/python_python_remote_response.rb +398 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
- data/lib/pulp_python_client/models/python_python_repository_response.rb +271 -0
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_python_client/models/repository_version.rb +7 -43
- data/lib/pulp_python_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_python_client/version.rb +3 -3
- data/pulp_python_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +24 -24
- data/spec/api/distributions_pypi_api_spec.rb +39 -18
- data/spec/api/publications_pypi_api_spec.rb +14 -14
- data/spec/api/remotes_python_api_spec.rb +49 -22
- data/spec/api/repositories_python_api_spec.rb +28 -19
- data/spec/api/repositories_python_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
- data/spec/models/patchedpython_python_remote_spec.rb +119 -0
- data/spec/models/patchedpython_python_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/python_bander_remote_spec.rb +47 -0
- data/spec/models/python_python_distribution_response_spec.rb +77 -0
- data/spec/models/python_python_distribution_spec.rb +2 -20
- data/spec/models/python_python_package_content_response_spec.rb +197 -0
- data/spec/models/python_python_package_content_spec.rb +5 -29
- data/spec/models/python_python_publication_response_spec.rb +65 -0
- data/spec/models/python_python_publication_spec.rb +2 -20
- data/spec/models/python_python_remote_response_spec.rb +137 -0
- data/spec/models/python_python_remote_spec.rb +2 -24
- data/spec/models/python_python_repository_response_spec.rb +77 -0
- data/spec/models/python_python_repository_spec.rb +5 -23
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +52 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a430180b62937a1b6c04db3d4935ab7757d55fea03c2eeb577cef9a1f5512b6
|
|
4
|
+
data.tar.gz: 3aebc53e66b40eff17882fc3eadcc054fe597609098e173dff9919ae5507e631
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 840e070ac2a7445f025eeaf0999ed1183d07db996d3cf82e9dc9869acac52c2e86b71a7ad319df2a6474462b42842f5fcd8a72ea5eb46f020aa5ef1970c5a23f
|
|
7
|
+
data.tar.gz: dc23180d8d55da6e4274550b3d42d0e8d9c82b9fd232eb7ceec3ad7042c26ff0764cedc42930c788764adc5263335c8392231bc6557407f426e744b42c520385
|
data/README.md
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
PulpPythonClient - the Ruby gem for the Pulp 3 API
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
6
6
|
|
|
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.0.
|
|
10
|
+
- Package version: 3.0.0b11
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
12
13
|
|
|
13
14
|
## Installation
|
|
14
15
|
|
|
@@ -23,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
|
23
24
|
Then either install the gem locally:
|
|
24
25
|
|
|
25
26
|
```shell
|
|
26
|
-
gem install ./pulp_python_client-3.0.
|
|
27
|
+
gem install ./pulp_python_client-3.0.0b11.gem
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
(for development, run `gem install --dev ./pulp_python_client-3.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.0.0b11.gem` to install the development dependencies)
|
|
30
31
|
|
|
31
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
33
|
|
|
33
34
|
Finally add this to the Gemfile:
|
|
34
35
|
|
|
35
|
-
gem 'pulp_python_client', '~> 3.0.
|
|
36
|
+
gem 'pulp_python_client', '~> 3.0.0b11'
|
|
36
37
|
|
|
37
38
|
### Install from Git
|
|
38
39
|
|
|
@@ -58,7 +59,7 @@ require 'pulp_python_client'
|
|
|
58
59
|
|
|
59
60
|
# Setup authorization
|
|
60
61
|
PulpPythonClient.configure do |config|
|
|
61
|
-
# Configure HTTP basic authorization:
|
|
62
|
+
# Configure HTTP basic authorization: basicAuth
|
|
62
63
|
config.username = 'YOUR_USERNAME'
|
|
63
64
|
config.password = 'YOUR_PASSWORD'
|
|
64
65
|
end
|
|
@@ -83,11 +84,11 @@ opts = {
|
|
|
83
84
|
project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
|
|
84
85
|
platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
85
86
|
supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
|
|
86
|
-
requires_dist:
|
|
87
|
-
provides_dist:
|
|
88
|
-
obsoletes_dist:
|
|
89
|
-
requires_external:
|
|
90
|
-
classifiers:
|
|
87
|
+
requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
|
|
88
|
+
provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
|
|
89
|
+
obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
90
|
+
requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
|
|
91
|
+
classifiers: nil # Object | A JSON list containing classification values for a Python package.
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
begin
|
|
@@ -108,62 +109,74 @@ Class | Method | HTTP request | Description
|
|
|
108
109
|
------------ | ------------- | ------------- | -------------
|
|
109
110
|
*PulpPythonClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
|
|
110
111
|
*PulpPythonClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
|
|
111
|
-
*PulpPythonClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {
|
|
112
|
+
*PulpPythonClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
|
|
112
113
|
*PulpPythonClient::DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
|
|
113
|
-
*PulpPythonClient::DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {
|
|
114
|
+
*PulpPythonClient::DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
|
|
114
115
|
*PulpPythonClient::DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
|
115
|
-
*PulpPythonClient::DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {
|
|
116
|
-
*PulpPythonClient::DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {
|
|
117
|
-
*PulpPythonClient::DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {
|
|
116
|
+
*PulpPythonClient::DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
|
117
|
+
*PulpPythonClient::DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
|
118
|
+
*PulpPythonClient::DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
|
118
119
|
*PulpPythonClient::PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
|
119
|
-
*PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {
|
|
120
|
+
*PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
|
|
120
121
|
*PulpPythonClient::PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
|
|
121
|
-
*PulpPythonClient::PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {
|
|
122
|
+
*PulpPythonClient::PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
|
|
122
123
|
*PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
|
|
123
|
-
*PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {
|
|
124
|
+
*PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
|
|
124
125
|
*PulpPythonClient::RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
|
|
125
126
|
*PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
|
126
|
-
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {
|
|
127
|
-
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {
|
|
128
|
-
*PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {
|
|
127
|
+
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
|
|
128
|
+
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
|
|
129
|
+
*PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
|
|
129
130
|
*PulpPythonClient::RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
|
|
130
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {
|
|
131
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
|
|
131
132
|
*PulpPythonClient::RepositoriesPythonApi* | [**list**](docs/RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
|
|
132
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {
|
|
133
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {
|
|
134
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {
|
|
135
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {
|
|
136
|
-
*PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {
|
|
137
|
-
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {
|
|
138
|
-
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {
|
|
139
|
-
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {
|
|
140
|
-
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {
|
|
133
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
|
|
134
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
|
|
135
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
|
|
136
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
|
|
137
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
|
|
138
|
+
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
|
|
139
|
+
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
140
|
+
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
141
|
+
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
141
142
|
|
|
142
143
|
|
|
143
144
|
## Documentation for Models
|
|
144
145
|
|
|
145
146
|
- [PulpPythonClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
146
147
|
- [PulpPythonClient::ContentSummary](docs/ContentSummary.md)
|
|
148
|
+
- [PulpPythonClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
147
149
|
- [PulpPythonClient::InlineResponse200](docs/InlineResponse200.md)
|
|
148
150
|
- [PulpPythonClient::InlineResponse2001](docs/InlineResponse2001.md)
|
|
149
151
|
- [PulpPythonClient::InlineResponse2002](docs/InlineResponse2002.md)
|
|
150
152
|
- [PulpPythonClient::InlineResponse2003](docs/InlineResponse2003.md)
|
|
151
153
|
- [PulpPythonClient::InlineResponse2004](docs/InlineResponse2004.md)
|
|
152
154
|
- [PulpPythonClient::InlineResponse2005](docs/InlineResponse2005.md)
|
|
155
|
+
- [PulpPythonClient::PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)
|
|
156
|
+
- [PulpPythonClient::PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
|
|
157
|
+
- [PulpPythonClient::PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
|
|
158
|
+
- [PulpPythonClient::PolicyEnum](docs/PolicyEnum.md)
|
|
159
|
+
- [PulpPythonClient::PythonBanderRemote](docs/PythonBanderRemote.md)
|
|
153
160
|
- [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
|
|
161
|
+
- [PulpPythonClient::PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
|
|
154
162
|
- [PulpPythonClient::PythonPythonPackageContent](docs/PythonPythonPackageContent.md)
|
|
163
|
+
- [PulpPythonClient::PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
|
|
155
164
|
- [PulpPythonClient::PythonPythonPublication](docs/PythonPythonPublication.md)
|
|
165
|
+
- [PulpPythonClient::PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)
|
|
156
166
|
- [PulpPythonClient::PythonPythonRemote](docs/PythonPythonRemote.md)
|
|
167
|
+
- [PulpPythonClient::PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)
|
|
157
168
|
- [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
|
|
169
|
+
- [PulpPythonClient::PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
|
|
158
170
|
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
159
171
|
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
160
172
|
- [PulpPythonClient::RepositoryVersion](docs/RepositoryVersion.md)
|
|
173
|
+
- [PulpPythonClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
161
174
|
|
|
162
175
|
|
|
163
176
|
## Documentation for Authorization
|
|
164
177
|
|
|
165
178
|
|
|
166
|
-
###
|
|
179
|
+
### basicAuth
|
|
167
180
|
|
|
168
181
|
- **Type**: HTTP basic authentication
|
|
169
182
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -6,7 +6,7 @@ Method | HTTP request | Description
|
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
|
|
8
8
|
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
|
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {
|
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ Trigger an asynchronous task to create content,optionally create new repository
|
|
|
25
25
|
require 'pulp_python_client'
|
|
26
26
|
# setup authorization
|
|
27
27
|
PulpPythonClient.configure do |config|
|
|
28
|
-
# Configure HTTP basic authorization:
|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
|
29
29
|
config.username = 'YOUR USERNAME'
|
|
30
30
|
config.password = 'YOUR PASSWORD'
|
|
31
31
|
end
|
|
@@ -50,11 +50,11 @@ opts = {
|
|
|
50
50
|
project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
|
|
51
51
|
platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
|
52
52
|
supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
|
|
53
|
-
requires_dist:
|
|
54
|
-
provides_dist:
|
|
55
|
-
obsoletes_dist:
|
|
56
|
-
requires_external:
|
|
57
|
-
classifiers:
|
|
53
|
+
requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
|
|
54
|
+
provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
|
|
55
|
+
obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
|
56
|
+
requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
|
|
57
|
+
classifiers: nil # Object | A JSON list containing classification values for a Python package.
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
begin
|
|
@@ -89,11 +89,11 @@ Name | Type | Description | Notes
|
|
|
89
89
|
**project_url** | **String**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
90
90
|
**platform** | **String**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
91
91
|
**supported_platform** | **String**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
92
|
-
**requires_dist** | **
|
|
93
|
-
**provides_dist** | **
|
|
94
|
-
**obsoletes_dist** | **
|
|
95
|
-
**requires_external** | **
|
|
96
|
-
**classifiers** | **
|
|
92
|
+
**requires_dist** | [**Object**](Object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
93
|
+
**provides_dist** | [**Object**](Object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
94
|
+
**obsoletes_dist** | [**Object**](Object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
|
95
|
+
**requires_external** | [**Object**](Object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
96
|
+
**classifiers** | [**Object**](Object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
97
97
|
|
|
98
98
|
### Return type
|
|
99
99
|
|
|
@@ -101,7 +101,7 @@ Name | Type | Description | Notes
|
|
|
101
101
|
|
|
102
102
|
### Authorization
|
|
103
103
|
|
|
104
|
-
[
|
|
104
|
+
[basicAuth](../README.md#basicAuth)
|
|
105
105
|
|
|
106
106
|
### HTTP request headers
|
|
107
107
|
|
|
@@ -124,30 +124,30 @@ List python package contents
|
|
|
124
124
|
require 'pulp_python_client'
|
|
125
125
|
# setup authorization
|
|
126
126
|
PulpPythonClient.configure do |config|
|
|
127
|
-
# Configure HTTP basic authorization:
|
|
127
|
+
# Configure HTTP basic authorization: basicAuth
|
|
128
128
|
config.username = 'YOUR USERNAME'
|
|
129
129
|
config.password = 'YOUR PASSWORD'
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
133
133
|
opts = {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
filename: 'filename_example', # String | Filter results where filename matches value
|
|
142
|
-
filename__in: 'filename__in_example', # String | Filter results where filename is in a comma-separated list of values
|
|
143
|
-
filename__contains: 'filename__contains_example', # String | Filter results where filename contains value
|
|
144
|
-
keywords__in: 'keywords__in_example', # String | Filter results where keywords is in a comma-separated list of values
|
|
145
|
-
keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
|
|
146
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
147
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
148
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
134
|
+
author: 'author_example', # String | author
|
|
135
|
+
author__in: 'author__in_example', # String | author__in
|
|
136
|
+
filename: 'filename_example', # String | filename
|
|
137
|
+
filename__contains: 'filename__contains_example', # String | filename__contains
|
|
138
|
+
filename__in: 'filename__in_example', # String | filename__in
|
|
139
|
+
keywords__contains: 'keywords__contains_example', # String | keywords__contains
|
|
140
|
+
keywords__in: 'keywords__in_example', # String | keywords__in
|
|
149
141
|
limit: 56, # Integer | Number of results to return per page.
|
|
142
|
+
name: 'name_example', # String | name
|
|
143
|
+
name__in: 'name__in_example', # String | name__in
|
|
150
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
145
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
146
|
+
packagetype: 'packagetype_example', # String | packagetype
|
|
147
|
+
packagetype__in: 'packagetype__in_example', # String | packagetype__in
|
|
148
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
149
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
|
150
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
|
151
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
152
152
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
153
153
|
}
|
|
@@ -166,23 +166,23 @@ end
|
|
|
166
166
|
|
|
167
167
|
Name | Type | Description | Notes
|
|
168
168
|
------------- | ------------- | ------------- | -------------
|
|
169
|
-
**
|
|
170
|
-
**
|
|
171
|
-
**
|
|
172
|
-
**
|
|
173
|
-
**
|
|
174
|
-
**
|
|
175
|
-
**
|
|
176
|
-
**filename** | **String**| Filter results where filename matches value | [optional]
|
|
177
|
-
**filename__in** | **String**| Filter results where filename is in a comma-separated list of values | [optional]
|
|
178
|
-
**filename__contains** | **String**| Filter results where filename contains value | [optional]
|
|
179
|
-
**keywords__in** | **String**| Filter results where keywords is in a comma-separated list of values | [optional]
|
|
180
|
-
**keywords__contains** | **String**| Filter results where keywords contains value | [optional]
|
|
181
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
182
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
183
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
169
|
+
**author** | **String**| author | [optional]
|
|
170
|
+
**author__in** | **String**| author__in | [optional]
|
|
171
|
+
**filename** | **String**| filename | [optional]
|
|
172
|
+
**filename__contains** | **String**| filename__contains | [optional]
|
|
173
|
+
**filename__in** | **String**| filename__in | [optional]
|
|
174
|
+
**keywords__contains** | **String**| keywords__contains | [optional]
|
|
175
|
+
**keywords__in** | **String**| keywords__in | [optional]
|
|
184
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
177
|
+
**name** | **String**| name | [optional]
|
|
178
|
+
**name__in** | **String**| name__in | [optional]
|
|
185
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
180
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
181
|
+
**packagetype** | **String**| packagetype | [optional]
|
|
182
|
+
**packagetype__in** | **String**| packagetype__in | [optional]
|
|
183
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
184
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
|
185
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
|
186
186
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
187
187
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
188
188
|
|
|
@@ -192,7 +192,7 @@ Name | Type | Description | Notes
|
|
|
192
192
|
|
|
193
193
|
### Authorization
|
|
194
194
|
|
|
195
|
-
[
|
|
195
|
+
[basicAuth](../README.md#basicAuth)
|
|
196
196
|
|
|
197
197
|
### HTTP request headers
|
|
198
198
|
|
|
@@ -202,7 +202,7 @@ Name | Type | Description | Notes
|
|
|
202
202
|
|
|
203
203
|
## read
|
|
204
204
|
|
|
205
|
-
>
|
|
205
|
+
> PythonPythonPackageContentResponse read(python_python_package_content_href, opts)
|
|
206
206
|
|
|
207
207
|
Inspect a python package content
|
|
208
208
|
|
|
@@ -215,13 +215,13 @@ Inspect a python package content
|
|
|
215
215
|
require 'pulp_python_client'
|
|
216
216
|
# setup authorization
|
|
217
217
|
PulpPythonClient.configure do |config|
|
|
218
|
-
# Configure HTTP basic authorization:
|
|
218
|
+
# Configure HTTP basic authorization: basicAuth
|
|
219
219
|
config.username = 'YOUR USERNAME'
|
|
220
220
|
config.password = 'YOUR PASSWORD'
|
|
221
221
|
end
|
|
222
222
|
|
|
223
223
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
224
|
-
|
|
224
|
+
python_python_package_content_href = 'python_python_package_content_href_example' # String |
|
|
225
225
|
opts = {
|
|
226
226
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
227
227
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -229,7 +229,7 @@ opts = {
|
|
|
229
229
|
|
|
230
230
|
begin
|
|
231
231
|
#Inspect a python package content
|
|
232
|
-
result = api_instance.read(
|
|
232
|
+
result = api_instance.read(python_python_package_content_href, opts)
|
|
233
233
|
p result
|
|
234
234
|
rescue PulpPythonClient::ApiError => e
|
|
235
235
|
puts "Exception when calling ContentPackagesApi->read: #{e}"
|
|
@@ -241,17 +241,17 @@ end
|
|
|
241
241
|
|
|
242
242
|
Name | Type | Description | Notes
|
|
243
243
|
------------- | ------------- | ------------- | -------------
|
|
244
|
-
**
|
|
244
|
+
**python_python_package_content_href** | **String**| |
|
|
245
245
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
246
246
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
247
247
|
|
|
248
248
|
### Return type
|
|
249
249
|
|
|
250
|
-
[**
|
|
250
|
+
[**PythonPythonPackageContentResponse**](PythonPythonPackageContentResponse.md)
|
|
251
251
|
|
|
252
252
|
### Authorization
|
|
253
253
|
|
|
254
|
-
[
|
|
254
|
+
[basicAuth](../README.md#basicAuth)
|
|
255
255
|
|
|
256
256
|
### HTTP request headers
|
|
257
257
|
|
data/docs/ContentSummary.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**added** | **
|
|
8
|
-
**removed** | **
|
|
9
|
-
**present** | **
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpPythonClient::ContentSummaryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpPythonClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpPythonClient::ContentSummaryResponse.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
|
|
8
|
-
[**delete**](DistributionsPypiApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
|
|
9
9
|
[**list**](DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
|
10
|
-
[**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](DistributionsPypiApi.md#read) | **GET** {
|
|
12
|
-
[**update**](DistributionsPypiApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
|
11
|
+
[**read**](DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
|
12
|
+
[**update**](DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> AsyncOperationResponse create(
|
|
18
|
+
> AsyncOperationResponse create(python_python_distribution)
|
|
19
19
|
|
|
20
20
|
Create a python distribution
|
|
21
21
|
|
|
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
|
|
|
28
28
|
require 'pulp_python_client'
|
|
29
29
|
# setup authorization
|
|
30
30
|
PulpPythonClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
32
|
config.username = 'YOUR USERNAME'
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
37
|
-
|
|
37
|
+
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a python distribution
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(python_python_distribution)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpPythonClient::ApiError => e
|
|
44
44
|
puts "Exception when calling DistributionsPypiApi->create: #{e}"
|
|
@@ -50,7 +50,7 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
|
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
61
|
-
[
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
62
|
|
|
63
63
|
### HTTP request headers
|
|
64
64
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## delete
|
|
70
70
|
|
|
71
|
-
> AsyncOperationResponse delete(
|
|
71
|
+
> AsyncOperationResponse delete(python_python_distribution_href, opts)
|
|
72
72
|
|
|
73
73
|
Delete a python distribution
|
|
74
74
|
|
|
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
|
|
|
81
81
|
require 'pulp_python_client'
|
|
82
82
|
# setup authorization
|
|
83
83
|
PulpPythonClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
85
|
config.username = 'YOUR USERNAME'
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
90
|
-
|
|
90
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
91
|
+
opts = {
|
|
92
|
+
base_path: 'base_path_example', # String | base_path
|
|
93
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
94
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
95
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
96
|
+
name: 'name_example', # String | name
|
|
97
|
+
name__in: 'name__in_example', # String | name__in
|
|
98
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
99
|
+
}
|
|
91
100
|
|
|
92
101
|
begin
|
|
93
102
|
#Delete a python distribution
|
|
94
|
-
result = api_instance.delete(
|
|
103
|
+
result = api_instance.delete(python_python_distribution_href, opts)
|
|
95
104
|
p result
|
|
96
105
|
rescue PulpPythonClient::ApiError => e
|
|
97
106
|
puts "Exception when calling DistributionsPypiApi->delete: #{e}"
|
|
@@ -103,7 +112,14 @@ end
|
|
|
103
112
|
|
|
104
113
|
Name | Type | Description | Notes
|
|
105
114
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
115
|
+
**python_python_distribution_href** | **String**| |
|
|
116
|
+
**base_path** | **String**| base_path | [optional]
|
|
117
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
118
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
119
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
120
|
+
**name** | **String**| name | [optional]
|
|
121
|
+
**name__in** | **String**| name__in | [optional]
|
|
122
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
107
123
|
|
|
108
124
|
### Return type
|
|
109
125
|
|
|
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
|
|
|
111
127
|
|
|
112
128
|
### Authorization
|
|
113
129
|
|
|
114
|
-
[
|
|
130
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
131
|
|
|
116
132
|
### HTTP request headers
|
|
117
133
|
|
|
@@ -134,22 +150,22 @@ List python distributions
|
|
|
134
150
|
require 'pulp_python_client'
|
|
135
151
|
# setup authorization
|
|
136
152
|
PulpPythonClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization:
|
|
153
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
154
|
config.username = 'YOUR USERNAME'
|
|
139
155
|
config.password = 'YOUR PASSWORD'
|
|
140
156
|
end
|
|
141
157
|
|
|
142
158
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
143
159
|
opts = {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
149
|
-
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
150
|
-
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
|
160
|
+
base_path: 'base_path_example', # String | base_path
|
|
161
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
162
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
163
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
151
164
|
limit: 56, # Integer | Number of results to return per page.
|
|
165
|
+
name: 'name_example', # String | name
|
|
166
|
+
name__in: 'name__in_example', # String | name__in
|
|
152
167
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
168
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
153
169
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
154
170
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
155
171
|
}
|
|
@@ -168,15 +184,15 @@ end
|
|
|
168
184
|
|
|
169
185
|
Name | Type | Description | Notes
|
|
170
186
|
------------- | ------------- | ------------- | -------------
|
|
171
|
-
**
|
|
172
|
-
**
|
|
173
|
-
**
|
|
174
|
-
**
|
|
175
|
-
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
|
176
|
-
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
|
177
|
-
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
|
187
|
+
**base_path** | **String**| base_path | [optional]
|
|
188
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
189
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
190
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
178
191
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
192
|
+
**name** | **String**| name | [optional]
|
|
193
|
+
**name__in** | **String**| name__in | [optional]
|
|
179
194
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
195
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
180
196
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
181
197
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
182
198
|
|
|
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
|
|
|
186
202
|
|
|
187
203
|
### Authorization
|
|
188
204
|
|
|
189
|
-
[
|
|
205
|
+
[basicAuth](../README.md#basicAuth)
|
|
190
206
|
|
|
191
207
|
### HTTP request headers
|
|
192
208
|
|
|
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
|
|
|
196
212
|
|
|
197
213
|
## partial_update
|
|
198
214
|
|
|
199
|
-
> AsyncOperationResponse partial_update(
|
|
215
|
+
> AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
200
216
|
|
|
201
|
-
|
|
217
|
+
Update a python distribution
|
|
202
218
|
|
|
203
219
|
Trigger an asynchronous partial update task
|
|
204
220
|
|
|
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
|
|
|
209
225
|
require 'pulp_python_client'
|
|
210
226
|
# setup authorization
|
|
211
227
|
PulpPythonClient.configure do |config|
|
|
212
|
-
# Configure HTTP basic authorization:
|
|
228
|
+
# Configure HTTP basic authorization: basicAuth
|
|
213
229
|
config.username = 'YOUR USERNAME'
|
|
214
230
|
config.password = 'YOUR PASSWORD'
|
|
215
231
|
end
|
|
216
232
|
|
|
217
233
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
218
|
-
|
|
219
|
-
|
|
234
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
235
|
+
patchedpython_python_distribution = PulpPythonClient::PatchedpythonPythonDistribution.new # PatchedpythonPythonDistribution |
|
|
236
|
+
opts = {
|
|
237
|
+
base_path: 'base_path_example', # String | base_path
|
|
238
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
239
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
240
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
241
|
+
name: 'name_example', # String | name
|
|
242
|
+
name__in: 'name__in_example', # String | name__in
|
|
243
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
244
|
+
}
|
|
220
245
|
|
|
221
246
|
begin
|
|
222
|
-
#
|
|
223
|
-
result = api_instance.partial_update(
|
|
247
|
+
#Update a python distribution
|
|
248
|
+
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
224
249
|
p result
|
|
225
250
|
rescue PulpPythonClient::ApiError => e
|
|
226
251
|
puts "Exception when calling DistributionsPypiApi->partial_update: #{e}"
|
|
@@ -232,8 +257,15 @@ end
|
|
|
232
257
|
|
|
233
258
|
Name | Type | Description | Notes
|
|
234
259
|
------------- | ------------- | ------------- | -------------
|
|
235
|
-
**
|
|
236
|
-
**
|
|
260
|
+
**python_python_distribution_href** | **String**| |
|
|
261
|
+
**patchedpython_python_distribution** | [**PatchedpythonPythonDistribution**](PatchedpythonPythonDistribution.md)| |
|
|
262
|
+
**base_path** | **String**| base_path | [optional]
|
|
263
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
264
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
265
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
266
|
+
**name** | **String**| name | [optional]
|
|
267
|
+
**name__in** | **String**| name__in | [optional]
|
|
268
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
237
269
|
|
|
238
270
|
### Return type
|
|
239
271
|
|
|
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
|
|
|
241
273
|
|
|
242
274
|
### Authorization
|
|
243
275
|
|
|
244
|
-
[
|
|
276
|
+
[basicAuth](../README.md#basicAuth)
|
|
245
277
|
|
|
246
278
|
### HTTP request headers
|
|
247
279
|
|
|
248
|
-
- **Content-Type**: application/json
|
|
280
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
249
281
|
- **Accept**: application/json
|
|
250
282
|
|
|
251
283
|
|
|
252
284
|
## read
|
|
253
285
|
|
|
254
|
-
>
|
|
286
|
+
> PythonPythonDistributionResponse read(python_python_distribution_href, opts)
|
|
255
287
|
|
|
256
288
|
Inspect a python distribution
|
|
257
289
|
|
|
@@ -264,13 +296,13 @@ Inspect a python distribution
|
|
|
264
296
|
require 'pulp_python_client'
|
|
265
297
|
# setup authorization
|
|
266
298
|
PulpPythonClient.configure do |config|
|
|
267
|
-
# Configure HTTP basic authorization:
|
|
299
|
+
# Configure HTTP basic authorization: basicAuth
|
|
268
300
|
config.username = 'YOUR USERNAME'
|
|
269
301
|
config.password = 'YOUR PASSWORD'
|
|
270
302
|
end
|
|
271
303
|
|
|
272
304
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
273
|
-
|
|
305
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
274
306
|
opts = {
|
|
275
307
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
276
308
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -278,7 +310,7 @@ opts = {
|
|
|
278
310
|
|
|
279
311
|
begin
|
|
280
312
|
#Inspect a python distribution
|
|
281
|
-
result = api_instance.read(
|
|
313
|
+
result = api_instance.read(python_python_distribution_href, opts)
|
|
282
314
|
p result
|
|
283
315
|
rescue PulpPythonClient::ApiError => e
|
|
284
316
|
puts "Exception when calling DistributionsPypiApi->read: #{e}"
|
|
@@ -290,17 +322,17 @@ end
|
|
|
290
322
|
|
|
291
323
|
Name | Type | Description | Notes
|
|
292
324
|
------------- | ------------- | ------------- | -------------
|
|
293
|
-
**
|
|
325
|
+
**python_python_distribution_href** | **String**| |
|
|
294
326
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
295
327
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
296
328
|
|
|
297
329
|
### Return type
|
|
298
330
|
|
|
299
|
-
[**
|
|
331
|
+
[**PythonPythonDistributionResponse**](PythonPythonDistributionResponse.md)
|
|
300
332
|
|
|
301
333
|
### Authorization
|
|
302
334
|
|
|
303
|
-
[
|
|
335
|
+
[basicAuth](../README.md#basicAuth)
|
|
304
336
|
|
|
305
337
|
### HTTP request headers
|
|
306
338
|
|
|
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
|
|
|
310
342
|
|
|
311
343
|
## update
|
|
312
344
|
|
|
313
|
-
> AsyncOperationResponse update(
|
|
345
|
+
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution, opts)
|
|
314
346
|
|
|
315
347
|
Update a python distribution
|
|
316
348
|
|
|
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
|
|
|
323
355
|
require 'pulp_python_client'
|
|
324
356
|
# setup authorization
|
|
325
357
|
PulpPythonClient.configure do |config|
|
|
326
|
-
# Configure HTTP basic authorization:
|
|
358
|
+
# Configure HTTP basic authorization: basicAuth
|
|
327
359
|
config.username = 'YOUR USERNAME'
|
|
328
360
|
config.password = 'YOUR PASSWORD'
|
|
329
361
|
end
|
|
330
362
|
|
|
331
363
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
332
|
-
|
|
333
|
-
|
|
364
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
365
|
+
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
|
|
366
|
+
opts = {
|
|
367
|
+
base_path: 'base_path_example', # String | base_path
|
|
368
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
369
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
370
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
371
|
+
name: 'name_example', # String | name
|
|
372
|
+
name__in: 'name__in_example', # String | name__in
|
|
373
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
374
|
+
}
|
|
334
375
|
|
|
335
376
|
begin
|
|
336
377
|
#Update a python distribution
|
|
337
|
-
result = api_instance.update(
|
|
378
|
+
result = api_instance.update(python_python_distribution_href, python_python_distribution, opts)
|
|
338
379
|
p result
|
|
339
380
|
rescue PulpPythonClient::ApiError => e
|
|
340
381
|
puts "Exception when calling DistributionsPypiApi->update: #{e}"
|
|
@@ -346,8 +387,15 @@ end
|
|
|
346
387
|
|
|
347
388
|
Name | Type | Description | Notes
|
|
348
389
|
------------- | ------------- | ------------- | -------------
|
|
349
|
-
**
|
|
350
|
-
**
|
|
390
|
+
**python_python_distribution_href** | **String**| |
|
|
391
|
+
**python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
|
|
392
|
+
**base_path** | **String**| base_path | [optional]
|
|
393
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
394
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
395
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
396
|
+
**name** | **String**| name | [optional]
|
|
397
|
+
**name__in** | **String**| name__in | [optional]
|
|
398
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
351
399
|
|
|
352
400
|
### Return type
|
|
353
401
|
|
|
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
|
|
|
355
403
|
|
|
356
404
|
### Authorization
|
|
357
405
|
|
|
358
|
-
[
|
|
406
|
+
[basicAuth](../README.md#basicAuth)
|
|
359
407
|
|
|
360
408
|
### HTTP request headers
|
|
361
409
|
|
|
362
|
-
- **Content-Type**: application/json
|
|
410
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
363
411
|
- **Accept**: application/json
|
|
364
412
|
|