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
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/deb/packages/ | Create a package
|
8
8
|
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package
|
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_deb_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpDebClient.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
|
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
|
|
63
63
|
|
64
64
|
### Authorization
|
65
65
|
|
66
|
-
[
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
67
|
|
68
68
|
### HTTP request headers
|
69
69
|
|
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
|
|
77
77
|
|
78
78
|
List packages
|
79
79
|
|
80
|
-
A
|
80
|
+
A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
81
81
|
|
82
82
|
### Example
|
83
83
|
|
@@ -86,37 +86,37 @@ A ViewSet for Package.
|
|
86
86
|
require 'pulp_deb_client'
|
87
87
|
# setup authorization
|
88
88
|
PulpDebClient.configure do |config|
|
89
|
-
# Configure HTTP basic authorization:
|
89
|
+
# Configure HTTP basic authorization: basicAuth
|
90
90
|
config.username = 'YOUR USERNAME'
|
91
91
|
config.password = 'YOUR PASSWORD'
|
92
92
|
end
|
93
93
|
|
94
94
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
95
95
|
opts = {
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
priority: 'priority_example', # String | Filter results where priority matches value
|
103
|
-
origin: 'origin_example', # String | Filter results where origin matches value
|
104
|
-
tag: 'tag_example', # String | Filter results where tag matches value
|
105
|
-
essential: 'essential_example', # String | Filter results where essential matches value
|
106
|
-
build_essential: 'build_essential_example', # String | Filter results where build_essential matches value
|
107
|
-
installed_size: 3.4, # Float | Filter results where installed_size matches value
|
108
|
-
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
109
|
-
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
110
|
-
built_using: 'built_using_example', # String | Filter results where built_using matches value
|
111
|
-
auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
|
112
|
-
multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value
|
113
|
-
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
114
|
-
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
115
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
116
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
117
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
96
|
+
architecture: 'architecture_example', # String | architecture
|
97
|
+
auto_built_package: 'auto_built_package_example', # String | auto_built_package
|
98
|
+
build_essential: 'build_essential_example', # String | build_essential
|
99
|
+
built_using: 'built_using_example', # String | built_using
|
100
|
+
essential: 'essential_example', # String | essential
|
101
|
+
installed_size: 'installed_size_example', # String | installed_size
|
118
102
|
limit: 56, # Integer | Number of results to return per page.
|
103
|
+
maintainer: 'maintainer_example', # String | maintainer
|
104
|
+
multi_arch: 'multi_arch_example', # String | multi_arch
|
119
105
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
107
|
+
origin: 'origin_example', # String | origin
|
108
|
+
original_maintainer: 'original_maintainer_example', # String | original_maintainer
|
109
|
+
package: 'package_example', # String | package
|
110
|
+
priority: 'priority_example', # String | priority
|
111
|
+
relative_path: 'relative_path_example', # String | relative_path
|
112
|
+
repository_version: 'repository_version_example', # String | repository_version
|
113
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
114
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
115
|
+
section: 'section_example', # String | section
|
116
|
+
sha256: 'sha256_example', # String | sha256
|
117
|
+
source: 'source_example', # String | source
|
118
|
+
tag: 'tag_example', # String | tag
|
119
|
+
version: 'version_example', # String | version
|
120
120
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
121
121
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
122
122
|
}
|
@@ -135,30 +135,30 @@ end
|
|
135
135
|
|
136
136
|
Name | Type | Description | Notes
|
137
137
|
------------- | ------------- | ------------- | -------------
|
138
|
-
**
|
139
|
-
**
|
140
|
-
**
|
141
|
-
**
|
142
|
-
**
|
143
|
-
**
|
144
|
-
**priority** | **String**| Filter results where priority matches value | [optional]
|
145
|
-
**origin** | **String**| Filter results where origin matches value | [optional]
|
146
|
-
**tag** | **String**| Filter results where tag matches value | [optional]
|
147
|
-
**essential** | **String**| Filter results where essential matches value | [optional]
|
148
|
-
**build_essential** | **String**| Filter results where build_essential matches value | [optional]
|
149
|
-
**installed_size** | **Float**| Filter results where installed_size matches value | [optional]
|
150
|
-
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
151
|
-
**original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
|
152
|
-
**built_using** | **String**| Filter results where built_using matches value | [optional]
|
153
|
-
**auto_built_package** | **String**| Filter results where auto_built_package matches value | [optional]
|
154
|
-
**multi_arch** | **String**| Filter results where multi_arch matches value | [optional]
|
155
|
-
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
156
|
-
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
157
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
158
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
159
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
138
|
+
**architecture** | **String**| architecture | [optional]
|
139
|
+
**auto_built_package** | **String**| auto_built_package | [optional]
|
140
|
+
**build_essential** | **String**| build_essential | [optional]
|
141
|
+
**built_using** | **String**| built_using | [optional]
|
142
|
+
**essential** | **String**| essential | [optional]
|
143
|
+
**installed_size** | **String**| installed_size | [optional]
|
160
144
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
145
|
+
**maintainer** | **String**| maintainer | [optional]
|
146
|
+
**multi_arch** | **String**| multi_arch | [optional]
|
161
147
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
148
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
149
|
+
**origin** | **String**| origin | [optional]
|
150
|
+
**original_maintainer** | **String**| original_maintainer | [optional]
|
151
|
+
**package** | **String**| package | [optional]
|
152
|
+
**priority** | **String**| priority | [optional]
|
153
|
+
**relative_path** | **String**| relative_path | [optional]
|
154
|
+
**repository_version** | **String**| repository_version | [optional]
|
155
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
156
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
157
|
+
**section** | **String**| section | [optional]
|
158
|
+
**sha256** | **String**| sha256 | [optional]
|
159
|
+
**source** | **String**| source | [optional]
|
160
|
+
**tag** | **String**| tag | [optional]
|
161
|
+
**version** | **String**| version | [optional]
|
162
162
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
163
163
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
164
164
|
|
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
|
|
168
168
|
|
169
169
|
### Authorization
|
170
170
|
|
171
|
-
[
|
171
|
+
[basicAuth](../README.md#basicAuth)
|
172
172
|
|
173
173
|
### HTTP request headers
|
174
174
|
|
@@ -178,11 +178,11 @@ Name | Type | Description | Notes
|
|
178
178
|
|
179
179
|
## read
|
180
180
|
|
181
|
-
>
|
181
|
+
> DebBasePackageResponse read(deb_package_href, opts)
|
182
182
|
|
183
183
|
Inspect a package
|
184
184
|
|
185
|
-
A
|
185
|
+
A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
186
186
|
|
187
187
|
### Example
|
188
188
|
|
@@ -191,13 +191,13 @@ A ViewSet for Package.
|
|
191
191
|
require 'pulp_deb_client'
|
192
192
|
# setup authorization
|
193
193
|
PulpDebClient.configure do |config|
|
194
|
-
# Configure HTTP basic authorization:
|
194
|
+
# Configure HTTP basic authorization: basicAuth
|
195
195
|
config.username = 'YOUR USERNAME'
|
196
196
|
config.password = 'YOUR PASSWORD'
|
197
197
|
end
|
198
198
|
|
199
199
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
200
|
-
|
200
|
+
deb_package_href = 'deb_package_href_example' # String |
|
201
201
|
opts = {
|
202
202
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
203
203
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -205,7 +205,7 @@ opts = {
|
|
205
205
|
|
206
206
|
begin
|
207
207
|
#Inspect a package
|
208
|
-
result = api_instance.read(
|
208
|
+
result = api_instance.read(deb_package_href, opts)
|
209
209
|
p result
|
210
210
|
rescue PulpDebClient::ApiError => e
|
211
211
|
puts "Exception when calling ContentPackagesApi->read: #{e}"
|
@@ -217,17 +217,17 @@ end
|
|
217
217
|
|
218
218
|
Name | Type | Description | Notes
|
219
219
|
------------- | ------------- | ------------- | -------------
|
220
|
-
**
|
220
|
+
**deb_package_href** | **String**| |
|
221
221
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
222
222
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
223
223
|
|
224
224
|
### Return type
|
225
225
|
|
226
|
-
[**
|
226
|
+
[**DebBasePackageResponse**](DebBasePackageResponse.md)
|
227
227
|
|
228
228
|
### Authorization
|
229
229
|
|
230
|
-
[
|
230
|
+
[basicAuth](../README.md#basicAuth)
|
231
231
|
|
232
232
|
### HTTP request headers
|
233
233
|
|
@@ -6,17 +6,17 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture
|
8
8
|
[**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures
|
9
|
-
[**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture
|
10
10
|
|
11
11
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
>
|
15
|
+
> DebReleaseArchitectureResponse create(deb_release_architecture)
|
16
16
|
|
17
17
|
Create a release architecture
|
18
18
|
|
19
|
-
A
|
19
|
+
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -25,17 +25,17 @@ A ViewSet for ReleaseArchitecture.
|
|
25
25
|
require 'pulp_deb_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpDebClient.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
|
32
32
|
|
33
33
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
34
|
-
|
34
|
+
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new # DebReleaseArchitecture |
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Create a release architecture
|
38
|
-
result = api_instance.create(
|
38
|
+
result = api_instance.create(deb_release_architecture)
|
39
39
|
p result
|
40
40
|
rescue PulpDebClient::ApiError => e
|
41
41
|
puts "Exception when calling ContentReleaseArchitecturesApi->create: #{e}"
|
@@ -47,19 +47,19 @@ end
|
|
47
47
|
|
48
48
|
Name | Type | Description | Notes
|
49
49
|
------------- | ------------- | ------------- | -------------
|
50
|
-
**
|
50
|
+
**deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.md)| |
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**DebReleaseArchitectureResponse**](DebReleaseArchitectureResponse.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
58
|
-
[
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
59
|
|
60
60
|
### HTTP request headers
|
61
61
|
|
62
|
-
- **Content-Type**: application/json
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
63
|
- **Accept**: application/json
|
64
64
|
|
65
65
|
|
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
|
70
70
|
List release architectures
|
71
71
|
|
72
|
-
A
|
72
|
+
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
73
73
|
|
74
74
|
### Example
|
75
75
|
|
@@ -78,21 +78,21 @@ A ViewSet for ReleaseArchitecture.
|
|
78
78
|
require 'pulp_deb_client'
|
79
79
|
# setup authorization
|
80
80
|
PulpDebClient.configure do |config|
|
81
|
-
# Configure HTTP basic authorization:
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
82
|
config.username = 'YOUR USERNAME'
|
83
83
|
config.password = 'YOUR PASSWORD'
|
84
84
|
end
|
85
85
|
|
86
86
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
87
87
|
opts = {
|
88
|
-
|
89
|
-
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
90
|
-
release: 'release_example', # String | Filter results where release matches value
|
91
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
92
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
93
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
88
|
+
architecture: 'architecture_example', # String | architecture
|
94
89
|
limit: 56, # Integer | Number of results to return per page.
|
95
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
92
|
+
release: 'release_example', # String | release
|
93
|
+
repository_version: 'repository_version_example', # String | repository_version
|
94
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
95
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
96
96
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
97
97
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
98
98
|
}
|
@@ -111,14 +111,14 @@ end
|
|
111
111
|
|
112
112
|
Name | Type | Description | Notes
|
113
113
|
------------- | ------------- | ------------- | -------------
|
114
|
-
**
|
115
|
-
**architecture** | **String**| Filter results where architecture matches value | [optional]
|
116
|
-
**release** | **String**| Filter results where release matches value | [optional]
|
117
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
114
|
+
**architecture** | **String**| architecture | [optional]
|
120
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
121
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
118
|
+
**release** | **String**| release | [optional]
|
119
|
+
**repository_version** | **String**| repository_version | [optional]
|
120
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
121
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
122
122
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
123
123
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
124
124
|
|
@@ -128,7 +128,7 @@ Name | Type | Description | Notes
|
|
128
128
|
|
129
129
|
### Authorization
|
130
130
|
|
131
|
-
[
|
131
|
+
[basicAuth](../README.md#basicAuth)
|
132
132
|
|
133
133
|
### HTTP request headers
|
134
134
|
|
@@ -138,11 +138,11 @@ Name | Type | Description | Notes
|
|
138
138
|
|
139
139
|
## read
|
140
140
|
|
141
|
-
>
|
141
|
+
> DebReleaseArchitectureResponse read(deb_release_architecture_href, opts)
|
142
142
|
|
143
143
|
Inspect a release architecture
|
144
144
|
|
145
|
-
A
|
145
|
+
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
146
146
|
|
147
147
|
### Example
|
148
148
|
|
@@ -151,13 +151,13 @@ A ViewSet for ReleaseArchitecture.
|
|
151
151
|
require 'pulp_deb_client'
|
152
152
|
# setup authorization
|
153
153
|
PulpDebClient.configure do |config|
|
154
|
-
# Configure HTTP basic authorization:
|
154
|
+
# Configure HTTP basic authorization: basicAuth
|
155
155
|
config.username = 'YOUR USERNAME'
|
156
156
|
config.password = 'YOUR PASSWORD'
|
157
157
|
end
|
158
158
|
|
159
159
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
160
|
-
|
160
|
+
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
161
161
|
opts = {
|
162
162
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
163
163
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -165,7 +165,7 @@ opts = {
|
|
165
165
|
|
166
166
|
begin
|
167
167
|
#Inspect a release architecture
|
168
|
-
result = api_instance.read(
|
168
|
+
result = api_instance.read(deb_release_architecture_href, opts)
|
169
169
|
p result
|
170
170
|
rescue PulpDebClient::ApiError => e
|
171
171
|
puts "Exception when calling ContentReleaseArchitecturesApi->read: #{e}"
|
@@ -177,17 +177,17 @@ end
|
|
177
177
|
|
178
178
|
Name | Type | Description | Notes
|
179
179
|
------------- | ------------- | ------------- | -------------
|
180
|
-
**
|
180
|
+
**deb_release_architecture_href** | **String**| |
|
181
181
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
182
182
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
183
|
|
184
184
|
### Return type
|
185
185
|
|
186
|
-
[**
|
186
|
+
[**DebReleaseArchitectureResponse**](DebReleaseArchitectureResponse.md)
|
187
187
|
|
188
188
|
### Authorization
|
189
189
|
|
190
|
-
[
|
190
|
+
[basicAuth](../README.md#basicAuth)
|
191
191
|
|
192
192
|
### HTTP request headers
|
193
193
|
|
@@ -6,17 +6,17 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component
|
8
8
|
[**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components
|
9
|
-
[**read**](ContentReleaseComponentsApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component
|
10
10
|
|
11
11
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
>
|
15
|
+
> DebReleaseComponentResponse create(deb_release_component)
|
16
16
|
|
17
17
|
Create a release component
|
18
18
|
|
19
|
-
A
|
19
|
+
A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -25,17 +25,17 @@ A ViewSet for ReleaseComponent.
|
|
25
25
|
require 'pulp_deb_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpDebClient.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
|
32
32
|
|
33
33
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
34
|
-
|
34
|
+
deb_release_component = PulpDebClient::DebReleaseComponent.new # DebReleaseComponent |
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Create a release component
|
38
|
-
result = api_instance.create(
|
38
|
+
result = api_instance.create(deb_release_component)
|
39
39
|
p result
|
40
40
|
rescue PulpDebClient::ApiError => e
|
41
41
|
puts "Exception when calling ContentReleaseComponentsApi->create: #{e}"
|
@@ -47,19 +47,19 @@ end
|
|
47
47
|
|
48
48
|
Name | Type | Description | Notes
|
49
49
|
------------- | ------------- | ------------- | -------------
|
50
|
-
**
|
50
|
+
**deb_release_component** | [**DebReleaseComponent**](DebReleaseComponent.md)| |
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**DebReleaseComponentResponse**](DebReleaseComponentResponse.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
58
|
-
[
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
59
|
|
60
60
|
### HTTP request headers
|
61
61
|
|
62
|
-
- **Content-Type**: application/json
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
63
|
- **Accept**: application/json
|
64
64
|
|
65
65
|
|
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
|
70
70
|
List release components
|
71
71
|
|
72
|
-
A
|
72
|
+
A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
73
73
|
|
74
74
|
### Example
|
75
75
|
|
@@ -78,21 +78,21 @@ A ViewSet for ReleaseComponent.
|
|
78
78
|
require 'pulp_deb_client'
|
79
79
|
# setup authorization
|
80
80
|
PulpDebClient.configure do |config|
|
81
|
-
# Configure HTTP basic authorization:
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
82
|
config.username = 'YOUR USERNAME'
|
83
83
|
config.password = 'YOUR PASSWORD'
|
84
84
|
end
|
85
85
|
|
86
86
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
87
87
|
opts = {
|
88
|
-
|
89
|
-
component: 'component_example', # String | Filter results where component matches value
|
90
|
-
release: 'release_example', # String | Filter results where release matches value
|
91
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
92
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
93
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
88
|
+
component: 'component_example', # String | component
|
94
89
|
limit: 56, # Integer | Number of results to return per page.
|
95
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
92
|
+
release: 'release_example', # String | release
|
93
|
+
repository_version: 'repository_version_example', # String | repository_version
|
94
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
95
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
96
96
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
97
97
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
98
98
|
}
|
@@ -111,14 +111,14 @@ end
|
|
111
111
|
|
112
112
|
Name | Type | Description | Notes
|
113
113
|
------------- | ------------- | ------------- | -------------
|
114
|
-
**
|
115
|
-
**component** | **String**| Filter results where component matches value | [optional]
|
116
|
-
**release** | **String**| Filter results where release matches value | [optional]
|
117
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
114
|
+
**component** | **String**| component | [optional]
|
120
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
121
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
118
|
+
**release** | **String**| release | [optional]
|
119
|
+
**repository_version** | **String**| repository_version | [optional]
|
120
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
121
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
122
122
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
123
123
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
124
124
|
|
@@ -128,7 +128,7 @@ Name | Type | Description | Notes
|
|
128
128
|
|
129
129
|
### Authorization
|
130
130
|
|
131
|
-
[
|
131
|
+
[basicAuth](../README.md#basicAuth)
|
132
132
|
|
133
133
|
### HTTP request headers
|
134
134
|
|
@@ -138,11 +138,11 @@ Name | Type | Description | Notes
|
|
138
138
|
|
139
139
|
## read
|
140
140
|
|
141
|
-
>
|
141
|
+
> DebReleaseComponentResponse read(deb_release_component_href, opts)
|
142
142
|
|
143
143
|
Inspect a release component
|
144
144
|
|
145
|
-
A
|
145
|
+
A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
146
146
|
|
147
147
|
### Example
|
148
148
|
|
@@ -151,13 +151,13 @@ A ViewSet for ReleaseComponent.
|
|
151
151
|
require 'pulp_deb_client'
|
152
152
|
# setup authorization
|
153
153
|
PulpDebClient.configure do |config|
|
154
|
-
# Configure HTTP basic authorization:
|
154
|
+
# Configure HTTP basic authorization: basicAuth
|
155
155
|
config.username = 'YOUR USERNAME'
|
156
156
|
config.password = 'YOUR PASSWORD'
|
157
157
|
end
|
158
158
|
|
159
159
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
160
|
-
|
160
|
+
deb_release_component_href = 'deb_release_component_href_example' # String |
|
161
161
|
opts = {
|
162
162
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
163
163
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -165,7 +165,7 @@ opts = {
|
|
165
165
|
|
166
166
|
begin
|
167
167
|
#Inspect a release component
|
168
|
-
result = api_instance.read(
|
168
|
+
result = api_instance.read(deb_release_component_href, opts)
|
169
169
|
p result
|
170
170
|
rescue PulpDebClient::ApiError => e
|
171
171
|
puts "Exception when calling ContentReleaseComponentsApi->read: #{e}"
|
@@ -177,17 +177,17 @@ end
|
|
177
177
|
|
178
178
|
Name | Type | Description | Notes
|
179
179
|
------------- | ------------- | ------------- | -------------
|
180
|
-
**
|
180
|
+
**deb_release_component_href** | **String**| |
|
181
181
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
182
182
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
183
|
|
184
184
|
### Return type
|
185
185
|
|
186
|
-
[**
|
186
|
+
[**DebReleaseComponentResponse**](DebReleaseComponentResponse.md)
|
187
187
|
|
188
188
|
### Authorization
|
189
189
|
|
190
|
-
[
|
190
|
+
[basicAuth](../README.md#basicAuth)
|
191
191
|
|
192
192
|
### HTTP request headers
|
193
193
|
|