pulp_deb_client 2.5.0b1 → 2.6.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -39
- data/docs/ContentGenericContentsApi.md +26 -26
- data/docs/ContentInstallerFileIndicesApi.md +37 -37
- data/docs/ContentInstallerPackagesApi.md +56 -56
- data/docs/ContentPackageIndicesApi.md +37 -37
- data/docs/ContentPackageReleaseComponentsApi.md +33 -33
- data/docs/ContentPackagesApi.md +58 -58
- data/docs/ContentReleaseArchitecturesApi.md +33 -33
- data/docs/ContentReleaseComponentsApi.md +33 -33
- data/docs/ContentReleaseFilesApi.md +37 -37
- data/docs/ContentReleasesApi.md +35 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DebAptDistribution.md +1 -7
- data/docs/DebAptDistributionResponse.md +29 -0
- data/docs/DebAptPublication.md +1 -5
- data/docs/DebAptPublicationResponse.md +29 -0
- data/docs/DebAptRemote.md +4 -10
- data/docs/DebAptRemoteResponse.md +57 -0
- data/docs/DebAptRepository.md +4 -10
- data/docs/DebAptRepositoryResponse.md +29 -0
- data/docs/DebBasePackage.md +5 -75
- data/docs/DebBasePackageResponse.md +93 -0
- data/docs/DebGenericContent.md +5 -17
- data/docs/DebGenericContentResponse.md +35 -0
- data/docs/DebInstallerFileIndex.md +2 -6
- data/docs/DebInstallerFileIndexResponse.md +29 -0
- data/docs/DebPackageIndex.md +2 -6
- data/docs/DebPackageIndexResponse.md +29 -0
- data/docs/DebPackageReleaseComponent.md +1 -5
- data/docs/DebPackageReleaseComponentResponse.md +23 -0
- data/docs/DebRelease.md +1 -5
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +23 -0
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +23 -0
- data/docs/DebReleaseFile.md +2 -6
- data/docs/DebReleaseFileResponse.md +29 -0
- data/docs/DebReleaseResponse.md +25 -0
- data/docs/DebVerbatimPublication.md +1 -5
- data/docs/DebVerbatimPublicationResponse.md +23 -0
- data/docs/DistributionsAptApi.md +110 -62
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +3 -3
- data/docs/InlineResponse20013.md +3 -3
- data/docs/InlineResponse20014.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/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/PatcheddebAptDistribution.md +23 -0
- data/docs/PatcheddebAptRemote.md +51 -0
- data/docs/PatcheddebAptRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsAptApi.md +43 -43
- data/docs/PublicationsVerbatimApi.md +43 -43
- data/docs/RemotesAptApi.md +128 -68
- data/docs/RepositoriesAptApi.md +100 -76
- data/docs/RepositoriesDebVersionsApi.md +96 -64
- 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_deb_client/api/content_generic_contents_api.rb +36 -40
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +90 -82
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +50 -50
- data/lib/pulp_deb_client/api/content_packages_api.rb +92 -84
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_components_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_files_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_releases_api.rb +54 -54
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +157 -94
- data/lib/pulp_deb_client/api/publications_apt_api.rb +65 -65
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +65 -65
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +187 -106
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +151 -124
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +141 -96
- data/lib/pulp_deb_client/api_client.rb +2 -2
- data/lib/pulp_deb_client/api_error.rb +2 -2
- data/lib/pulp_deb_client/configuration.rb +3 -3
- data/lib/pulp_deb_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_deb_client/models/content_summary.rb +9 -15
- data/lib/pulp_deb_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -85
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +279 -0
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +270 -0
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +7 -263
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +446 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +18 -78
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +271 -0
- data/lib/pulp_deb_client/models/deb_base_package.rb +18 -847
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +558 -0
- data/lib/pulp_deb_client/models/deb_generic_content.rb +18 -185
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +4 -22
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release.rb +4 -79
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +6 -90
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +277 -0
- data/lib/pulp_deb_client/models/deb_release_response.rb +259 -0
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +236 -0
- data/lib/pulp_deb_client/models/inline_response200.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20010.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20011.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20012.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20013.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20014.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2009.rb +3 -13
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +240 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +402 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +229 -0
- data/lib/pulp_deb_client/models/policy_enum.rb +37 -0
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_deb_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_deb_client/models/repository_version.rb +7 -43
- data/lib/pulp_deb_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_deb_client/version.rb +3 -3
- data/lib/pulp_deb_client.rb +22 -2
- data/pulp_deb_client.gemspec +4 -4
- data/spec/api/content_generic_contents_api_spec.rb +12 -12
- data/spec/api/content_installer_file_indices_api_spec.rb +17 -17
- data/spec/api/content_installer_packages_api_spec.rb +27 -27
- data/spec/api/content_package_indices_api_spec.rb +17 -17
- data/spec/api/content_package_release_components_api_spec.rb +15 -15
- data/spec/api/content_packages_api_spec.rb +28 -28
- data/spec/api/content_release_architectures_api_spec.rb +15 -15
- data/spec/api/content_release_components_api_spec.rb +15 -15
- data/spec/api/content_release_files_api_spec.rb +17 -17
- data/spec/api/content_releases_api_spec.rb +16 -16
- data/spec/api/distributions_apt_api_spec.rb +41 -20
- data/spec/api/publications_apt_api_spec.rb +17 -17
- data/spec/api/publications_verbatim_api_spec.rb +17 -17
- data/spec/api/remotes_apt_api_spec.rb +51 -24
- data/spec/api/repositories_apt_api_spec.rb +31 -22
- data/spec/api/repositories_deb_versions_api_spec.rb +40 -25
- 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/deb_apt_distribution_response_spec.rb +77 -0
- data/spec/models/deb_apt_distribution_spec.rb +2 -20
- data/spec/models/deb_apt_publication_response_spec.rb +77 -0
- data/spec/models/deb_apt_publication_spec.rb +2 -14
- data/spec/models/deb_apt_remote_response_spec.rb +161 -0
- data/spec/models/deb_apt_remote_spec.rb +2 -24
- data/spec/models/deb_apt_repository_response_spec.rb +77 -0
- data/spec/models/deb_apt_repository_spec.rb +5 -23
- data/spec/models/deb_base_package_response_spec.rb +269 -0
- data/spec/models/deb_base_package_spec.rb +4 -214
- data/spec/models/deb_generic_content_response_spec.rb +95 -0
- data/spec/models/deb_generic_content_spec.rb +4 -40
- data/spec/models/deb_installer_file_index_response_spec.rb +77 -0
- data/spec/models/deb_installer_file_index_spec.rb +2 -14
- data/spec/models/deb_package_index_response_spec.rb +77 -0
- data/spec/models/deb_package_index_spec.rb +2 -14
- data/spec/models/deb_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_package_release_component_spec.rb +2 -14
- data/spec/models/deb_release_architecture_response_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +2 -14
- data/spec/models/deb_release_component_response_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +2 -14
- data/spec/models/deb_release_file_response_spec.rb +77 -0
- data/spec/models/deb_release_file_spec.rb +2 -14
- data/spec/models/deb_release_response_spec.rb +65 -0
- data/spec/models/deb_release_spec.rb +2 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +59 -0
- data/spec/models/deb_verbatim_publication_spec.rb +2 -14
- data/spec/models/inline_response20010_spec.rb +2 -2
- data/spec/models/inline_response20011_spec.rb +2 -2
- data/spec/models/inline_response20012_spec.rb +2 -2
- data/spec/models/inline_response20013_spec.rb +2 -2
- data/spec/models/inline_response20014_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_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patcheddeb_apt_distribution_spec.rb +59 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +143 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- 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 +120 -40
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpDebClient::DebReleaseResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**codename** | **String** | |
|
10
|
+
**suite** | **String** | |
|
11
|
+
**distribution** | **String** | |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpDebClient'
|
17
|
+
|
18
|
+
instance = PulpDebClient::DebReleaseResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
codename: null,
|
21
|
+
suite: null,
|
22
|
+
distribution: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -4,8 +4,6 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**repository_version** | **String** | | [optional]
|
10
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
9
|
|
@@ -14,9 +12,7 @@ Name | Type | Description | Notes
|
|
14
12
|
```ruby
|
15
13
|
require 'PulpDebClient'
|
16
14
|
|
17
|
-
instance = PulpDebClient::DebVerbatimPublication.new(
|
18
|
-
pulp_created: null,
|
19
|
-
repository_version: null,
|
15
|
+
instance = PulpDebClient::DebVerbatimPublication.new(repository_version: null,
|
20
16
|
repository: null)
|
21
17
|
```
|
22
18
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::DebVerbatimPublicationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**repository_version** | **String** | | [optional]
|
10
|
+
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::DebVerbatimPublicationResponse.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
repository_version: null,
|
20
|
+
repository: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution
|
8
|
-
[**delete**](DistributionsAptApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](DistributionsAptApi.md#delete) | **DELETE** {deb_apt_distribution_href} | Delete an apt distribution
|
9
9
|
[**list**](DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List apt distributions
|
10
|
-
[**partial_update**](DistributionsAptApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](DistributionsAptApi.md#read) | **GET** {
|
12
|
-
[**update**](DistributionsAptApi.md#update) | **PUT** {
|
10
|
+
[**partial_update**](DistributionsAptApi.md#partial_update) | **PATCH** {deb_apt_distribution_href} | Update an apt distribution
|
11
|
+
[**read**](DistributionsAptApi.md#read) | **GET** {deb_apt_distribution_href} | Inspect an apt distribution
|
12
|
+
[**update**](DistributionsAptApi.md#update) | **PUT** {deb_apt_distribution_href} | Update an apt distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
> AsyncOperationResponse create(
|
18
|
+
> AsyncOperationResponse create(deb_apt_distribution)
|
19
19
|
|
20
20
|
Create an apt distribution
|
21
21
|
|
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
|
|
28
28
|
require 'pulp_deb_client'
|
29
29
|
# setup authorization
|
30
30
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.new
|
37
|
-
|
37
|
+
deb_apt_distribution = PulpDebClient::DebAptDistribution.new # DebAptDistribution |
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create an apt distribution
|
41
|
-
result = api_instance.create(
|
41
|
+
result = api_instance.create(deb_apt_distribution)
|
42
42
|
p result
|
43
43
|
rescue PulpDebClient::ApiError => e
|
44
44
|
puts "Exception when calling DistributionsAptApi->create: #{e}"
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**
|
53
|
+
**deb_apt_distribution** | [**DebAptDistribution**](DebAptDistribution.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(deb_apt_distribution_href, opts)
|
72
72
|
|
73
73
|
Delete an apt distribution
|
74
74
|
|
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
|
|
81
81
|
require 'pulp_deb_client'
|
82
82
|
# setup authorization
|
83
83
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.new
|
90
|
-
|
90
|
+
deb_apt_distribution_href = 'deb_apt_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 an apt distribution
|
94
|
-
result = api_instance.delete(
|
103
|
+
result = api_instance.delete(deb_apt_distribution_href, opts)
|
95
104
|
p result
|
96
105
|
rescue PulpDebClient::ApiError => e
|
97
106
|
puts "Exception when calling DistributionsAptApi->delete: #{e}"
|
@@ -103,7 +112,14 @@ end
|
|
103
112
|
|
104
113
|
Name | Type | Description | Notes
|
105
114
|
------------- | ------------- | ------------- | -------------
|
106
|
-
**
|
115
|
+
**deb_apt_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
|
|
@@ -125,7 +141,7 @@ Name | Type | Description | Notes
|
|
125
141
|
|
126
142
|
List apt distributions
|
127
143
|
|
128
|
-
|
144
|
+
An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
129
145
|
|
130
146
|
### Example
|
131
147
|
|
@@ -134,22 +150,22 @@ ViewSet for AptDistributions.
|
|
134
150
|
require 'pulp_deb_client'
|
135
151
|
# setup authorization
|
136
152
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.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(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
200
216
|
|
201
|
-
|
217
|
+
Update an apt 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_deb_client'
|
210
226
|
# setup authorization
|
211
227
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.new
|
218
|
-
|
219
|
-
|
234
|
+
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
235
|
+
patcheddeb_apt_distribution = PulpDebClient::PatcheddebAptDistribution.new # PatcheddebAptDistribution |
|
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 an apt distribution
|
248
|
+
result = api_instance.partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
224
249
|
p result
|
225
250
|
rescue PulpDebClient::ApiError => e
|
226
251
|
puts "Exception when calling DistributionsAptApi->partial_update: #{e}"
|
@@ -232,8 +257,15 @@ end
|
|
232
257
|
|
233
258
|
Name | Type | Description | Notes
|
234
259
|
------------- | ------------- | ------------- | -------------
|
235
|
-
**
|
236
|
-
**
|
260
|
+
**deb_apt_distribution_href** | **String**| |
|
261
|
+
**patcheddeb_apt_distribution** | [**PatcheddebAptDistribution**](PatcheddebAptDistribution.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,21 +273,21 @@ 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
|
+
> DebAptDistributionResponse read(deb_apt_distribution_href, opts)
|
255
287
|
|
256
288
|
Inspect an apt distribution
|
257
289
|
|
258
|
-
|
290
|
+
An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
259
291
|
|
260
292
|
### Example
|
261
293
|
|
@@ -264,13 +296,13 @@ ViewSet for AptDistributions.
|
|
264
296
|
require 'pulp_deb_client'
|
265
297
|
# setup authorization
|
266
298
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.new
|
273
|
-
|
305
|
+
deb_apt_distribution_href = 'deb_apt_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 an apt distribution
|
281
|
-
result = api_instance.read(
|
313
|
+
result = api_instance.read(deb_apt_distribution_href, opts)
|
282
314
|
p result
|
283
315
|
rescue PulpDebClient::ApiError => e
|
284
316
|
puts "Exception when calling DistributionsAptApi->read: #{e}"
|
@@ -290,17 +322,17 @@ end
|
|
290
322
|
|
291
323
|
Name | Type | Description | Notes
|
292
324
|
------------- | ------------- | ------------- | -------------
|
293
|
-
**
|
325
|
+
**deb_apt_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
|
+
[**DebAptDistributionResponse**](DebAptDistributionResponse.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(deb_apt_distribution_href, deb_apt_distribution, opts)
|
314
346
|
|
315
347
|
Update an apt distribution
|
316
348
|
|
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
|
|
323
355
|
require 'pulp_deb_client'
|
324
356
|
# setup authorization
|
325
357
|
PulpDebClient.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 = PulpDebClient::DistributionsAptApi.new
|
332
|
-
|
333
|
-
|
364
|
+
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
365
|
+
deb_apt_distribution = PulpDebClient::DebAptDistribution.new # DebAptDistribution |
|
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 an apt distribution
|
337
|
-
result = api_instance.update(
|
378
|
+
result = api_instance.update(deb_apt_distribution_href, deb_apt_distribution, opts)
|
338
379
|
p result
|
339
380
|
rescue PulpDebClient::ApiError => e
|
340
381
|
puts "Exception when calling DistributionsAptApi->update: #{e}"
|
@@ -346,8 +387,15 @@ end
|
|
346
387
|
|
347
388
|
Name | Type | Description | Notes
|
348
389
|
------------- | ------------- | ------------- | -------------
|
349
|
-
**
|
350
|
-
**
|
390
|
+
**deb_apt_distribution_href** | **String**| |
|
391
|
+
**deb_apt_distribution** | [**DebAptDistribution**](DebAptDistribution.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
|
|
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<DebGenericContentResponse>**](DebGenericContentResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse200.new(count:
|
17
|
+
instance = PulpDebClient::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<DebInstallerFileIndexResponse>**](DebInstallerFileIndexResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse2001.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse2001.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse20010.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<DebAptPublicationResponse>**](DebAptPublicationResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse20010.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse20010.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse20011.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<DebVerbatimPublicationResponse>**](DebVerbatimPublicationResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse20011.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse20011.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse20012.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<DebAptRemoteResponse>**](DebAptRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse20012.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse20012.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse20013.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<DebAptRepositoryResponse>**](DebAptRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse20013.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse20013.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse20014.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 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse20014.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse20014.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<DebBasePackageResponse>**](DebBasePackageResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDebClient'
|
16
16
|
|
17
|
-
instance = PulpDebClient::InlineResponse2002.new(count:
|
17
|
+
instance = PulpDebClient::InlineResponse2002.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|