README.md in pulp_python_client-3.0.0b9 vs README.md in pulp_python_client-3.0.0b10
- old
+ new
@@ -5,11 +5,11 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
-- Package version: 3.0.0b9
+- Package version: 3.0.0b10
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
## Installation
### Build a gem
@@ -21,20 +21,20 @@
```
Then either install the gem locally:
```shell
-gem install ./pulp_python_client-3.0.0b9.gem
+gem install ./pulp_python_client-3.0.0b10.gem
```
-(for development, run `gem install --dev ./pulp_python_client-3.0.0b9.gem` to install the development dependencies)
+(for development, run `gem install --dev ./pulp_python_client-3.0.0b10.gem` to install the development dependencies)
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
Finally add this to the Gemfile:
- gem 'pulp_python_client', '~> 3.0.0b9'
+ gem 'pulp_python_client', '~> 3.0.0b10'
### Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
@@ -63,11 +63,10 @@
config.password = 'YOUR_PASSWORD'
end
api_instance = PulpPythonClient::ContentPackagesApi.new
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
-filename = 'filename_example' # String | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
opts = {
artifact: 'artifact_example', # String | Artifact file representing the physical content
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
summary: 'summary_example', # String | A one-line summary of what the package does.
@@ -91,11 +90,11 @@
classifiers: 'classifiers_example' # String | A JSON list containing classification values for a Python package.
}
begin
#Create a python package content
- result = api_instance.create(relative_path, filename, opts)
+ result = api_instance.create(relative_path, opts)
p result
rescue PulpPythonClient::ApiError => e
puts "Exception when calling ContentPackagesApi->create: #{e}"
end
@@ -120,10 +119,11 @@
*PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_publication_href} | Delete a python publication
*PulpPythonClient::PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
*PulpPythonClient::PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_publication_href} | Inspect a python publication
*PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
*PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
+*PulpPythonClient::RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
*PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
*PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_remote_href} | Update a python remote
*PulpPythonClient::RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
@@ -148,23 +148,17 @@
- [PulpPythonClient::InlineResponse2001](docs/InlineResponse2001.md)
- [PulpPythonClient::InlineResponse2002](docs/InlineResponse2002.md)
- [PulpPythonClient::InlineResponse2003](docs/InlineResponse2003.md)
- [PulpPythonClient::InlineResponse2004](docs/InlineResponse2004.md)
- [PulpPythonClient::InlineResponse2005](docs/InlineResponse2005.md)
- - [PulpPythonClient::ProjectSpecifier](docs/ProjectSpecifier.md)
- [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
- - [PulpPythonClient::PythonPythonDistributionRead](docs/PythonPythonDistributionRead.md)
- - [PulpPythonClient::PythonPythonPackageContentRead](docs/PythonPythonPackageContentRead.md)
+ - [PulpPythonClient::PythonPythonPackageContent](docs/PythonPythonPackageContent.md)
- [PulpPythonClient::PythonPythonPublication](docs/PythonPythonPublication.md)
- - [PulpPythonClient::PythonPythonPublicationRead](docs/PythonPythonPublicationRead.md)
- [PulpPythonClient::PythonPythonRemote](docs/PythonPythonRemote.md)
- - [PulpPythonClient::PythonPythonRemoteRead](docs/PythonPythonRemoteRead.md)
- [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
- - [PulpPythonClient::PythonPythonRepositoryRead](docs/PythonPythonRepositoryRead.md)
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
- [PulpPythonClient::RepositoryVersion](docs/RepositoryVersion.md)
- - [PulpPythonClient::RepositoryVersionRead](docs/RepositoryVersionRead.md)
## Documentation for Authorization