pulp_python_client 3.0.0b10 → 3.0.0b11
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/docs/InlineResponse200.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse200.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse200.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2001.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse2001.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse2001.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2002.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse2002.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse2002.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2003.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse2003.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse2003.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2004.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse2004.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse2004.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2005.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::InlineResponse2005.new(count:
|
17
|
+
instance = PulpPythonClient::InlineResponse2005.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpPythonClient::PatchedpythonPythonDistribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
|
+
**publication** | **String** | Publication to be served | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpPythonClient'
|
16
|
+
|
17
|
+
instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
|
18
|
+
content_guard: null,
|
19
|
+
name: null,
|
20
|
+
publication: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# PulpPythonClient::PatchedpythonPythonRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
8
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
18
|
+
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
19
|
+
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
20
|
+
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
21
|
+
|
22
|
+
## Code Sample
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'PulpPythonClient'
|
26
|
+
|
27
|
+
instance = PulpPythonClient::PatchedpythonPythonRemote.new(name: null,
|
28
|
+
url: null,
|
29
|
+
ca_cert: null,
|
30
|
+
client_cert: null,
|
31
|
+
client_key: null,
|
32
|
+
tls_validation: null,
|
33
|
+
proxy_url: null,
|
34
|
+
username: null,
|
35
|
+
password: null,
|
36
|
+
download_concurrency: null,
|
37
|
+
policy: null,
|
38
|
+
includes: null,
|
39
|
+
excludes: null,
|
40
|
+
prereleases: null)
|
41
|
+
```
|
42
|
+
|
43
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpPythonClient::PatchedpythonPythonRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpPythonClient'
|
15
|
+
|
16
|
+
instance = PulpPythonClient::PatchedpythonPythonRepository.new(name: null,
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/PolicyEnum.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# PulpPythonClient::PolicyEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'PulpPythonClient'
|
12
|
+
|
13
|
+
instance = PulpPythonClient::PolicyEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -5,15 +5,15 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
8
|
-
[**delete**](PublicationsPypiApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
|
9
9
|
[**list**](PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
|
10
|
-
[**read**](PublicationsPypiApi.md#read) | **GET** {
|
10
|
+
[**read**](PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
|
11
11
|
|
12
12
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse create(
|
16
|
+
> AsyncOperationResponse create(python_python_publication)
|
17
17
|
|
18
18
|
Create a python publication
|
19
19
|
|
@@ -26,17 +26,17 @@ Trigger an asynchronous task to publish python content.
|
|
26
26
|
require 'pulp_python_client'
|
27
27
|
# setup authorization
|
28
28
|
PulpPythonClient.configure do |config|
|
29
|
-
# Configure HTTP basic authorization:
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
30
30
|
config.username = 'YOUR USERNAME'
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
35
|
-
|
35
|
+
python_python_publication = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create a python publication
|
39
|
-
result = api_instance.create(
|
39
|
+
result = api_instance.create(python_python_publication)
|
40
40
|
p result
|
41
41
|
rescue PulpPythonClient::ApiError => e
|
42
42
|
puts "Exception when calling PublicationsPypiApi->create: #{e}"
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**
|
51
|
+
**python_python_publication** | [**PythonPythonPublication**](PythonPythonPublication.md)| |
|
52
52
|
|
53
53
|
### Return type
|
54
54
|
|
@@ -56,17 +56,17 @@ Name | Type | Description | Notes
|
|
56
56
|
|
57
57
|
### Authorization
|
58
58
|
|
59
|
-
[
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
60
60
|
|
61
61
|
### HTTP request headers
|
62
62
|
|
63
|
-
- **Content-Type**: application/json
|
63
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
64
64
|
- **Accept**: application/json
|
65
65
|
|
66
66
|
|
67
67
|
## delete
|
68
68
|
|
69
|
-
> delete(
|
69
|
+
> delete(python_python_publication_href)
|
70
70
|
|
71
71
|
Delete a python publication
|
72
72
|
|
@@ -79,17 +79,17 @@ Delete a python publication
|
|
79
79
|
require 'pulp_python_client'
|
80
80
|
# setup authorization
|
81
81
|
PulpPythonClient.configure do |config|
|
82
|
-
# Configure HTTP basic authorization:
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
83
83
|
config.username = 'YOUR USERNAME'
|
84
84
|
config.password = 'YOUR PASSWORD'
|
85
85
|
end
|
86
86
|
|
87
87
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
88
|
-
|
88
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
89
89
|
|
90
90
|
begin
|
91
91
|
#Delete a python publication
|
92
|
-
api_instance.delete(
|
92
|
+
api_instance.delete(python_python_publication_href)
|
93
93
|
rescue PulpPythonClient::ApiError => e
|
94
94
|
puts "Exception when calling PublicationsPypiApi->delete: #{e}"
|
95
95
|
end
|
@@ -100,7 +100,7 @@ end
|
|
100
100
|
|
101
101
|
Name | Type | Description | Notes
|
102
102
|
------------- | ------------- | ------------- | -------------
|
103
|
-
**
|
103
|
+
**python_python_publication_href** | **String**| |
|
104
104
|
|
105
105
|
### Return type
|
106
106
|
|
@@ -108,7 +108,7 @@ nil (empty response body)
|
|
108
108
|
|
109
109
|
### Authorization
|
110
110
|
|
111
|
-
[
|
111
|
+
[basicAuth](../README.md#basicAuth)
|
112
112
|
|
113
113
|
### HTTP request headers
|
114
114
|
|
@@ -131,23 +131,23 @@ List python publications
|
|
131
131
|
require 'pulp_python_client'
|
132
132
|
# setup authorization
|
133
133
|
PulpPythonClient.configure do |config|
|
134
|
-
# Configure HTTP basic authorization:
|
134
|
+
# Configure HTTP basic authorization: basicAuth
|
135
135
|
config.username = 'YOUR USERNAME'
|
136
136
|
config.password = 'YOUR PASSWORD'
|
137
137
|
end
|
138
138
|
|
139
139
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
140
140
|
opts = {
|
141
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
143
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
144
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
145
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
146
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
147
|
-
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
148
|
-
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
149
141
|
limit: 56, # Integer | Number of results to return per page.
|
150
142
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
147
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
148
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
149
|
+
pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
|
150
|
+
repository_version: 'repository_version_example', # String | repository_version
|
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,16 +166,16 @@ end
|
|
166
166
|
|
167
167
|
Name | Type | Description | Notes
|
168
168
|
------------- | ------------- | ------------- | -------------
|
169
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
171
|
-
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
172
|
-
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
173
|
-
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
174
|
-
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
-
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
176
|
-
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
177
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
170
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
172
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
173
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
174
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
175
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
176
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
177
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
178
|
+
**repository_version** | **String**| repository_version | [optional]
|
179
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
180
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
181
181
|
|
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
|
185
185
|
|
186
186
|
### Authorization
|
187
187
|
|
188
|
-
[
|
188
|
+
[basicAuth](../README.md#basicAuth)
|
189
189
|
|
190
190
|
### HTTP request headers
|
191
191
|
|
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
|
|
195
195
|
|
196
196
|
## read
|
197
197
|
|
198
|
-
>
|
198
|
+
> PythonPythonPublicationResponse read(python_python_publication_href, opts)
|
199
199
|
|
200
200
|
Inspect a python publication
|
201
201
|
|
@@ -208,13 +208,13 @@ Inspect a python publication
|
|
208
208
|
require 'pulp_python_client'
|
209
209
|
# setup authorization
|
210
210
|
PulpPythonClient.configure do |config|
|
211
|
-
# Configure HTTP basic authorization:
|
211
|
+
# Configure HTTP basic authorization: basicAuth
|
212
212
|
config.username = 'YOUR USERNAME'
|
213
213
|
config.password = 'YOUR PASSWORD'
|
214
214
|
end
|
215
215
|
|
216
216
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
217
|
-
|
217
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
218
218
|
opts = {
|
219
219
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
220
220
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -222,7 +222,7 @@ opts = {
|
|
222
222
|
|
223
223
|
begin
|
224
224
|
#Inspect a python publication
|
225
|
-
result = api_instance.read(
|
225
|
+
result = api_instance.read(python_python_publication_href, opts)
|
226
226
|
p result
|
227
227
|
rescue PulpPythonClient::ApiError => e
|
228
228
|
puts "Exception when calling PublicationsPypiApi->read: #{e}"
|
@@ -234,17 +234,17 @@ end
|
|
234
234
|
|
235
235
|
Name | Type | Description | Notes
|
236
236
|
------------- | ------------- | ------------- | -------------
|
237
|
-
**
|
237
|
+
**python_python_publication_href** | **String**| |
|
238
238
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
239
239
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
240
240
|
|
241
241
|
### Return type
|
242
242
|
|
243
|
-
[**
|
243
|
+
[**PythonPythonPublicationResponse**](PythonPythonPublicationResponse.md)
|
244
244
|
|
245
245
|
### Authorization
|
246
246
|
|
247
|
-
[
|
247
|
+
[basicAuth](../README.md#basicAuth)
|
248
248
|
|
249
249
|
### HTTP request headers
|
250
250
|
|