pulp_deb_client 3.0.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -7
- data/docs/ContentGenericContentsApi.md +7 -5
- data/docs/ContentInstallerFileIndicesApi.md +3 -1
- data/docs/ContentInstallerPackagesApi.md +7 -5
- data/docs/ContentPackageIndicesApi.md +3 -1
- data/docs/ContentPackageReleaseComponentsApi.md +3 -1
- data/docs/ContentPackagesApi.md +23 -5
- data/docs/ContentReleaseArchitecturesApi.md +3 -1
- data/docs/ContentReleaseComponentsApi.md +3 -1
- data/docs/ContentReleaseFilesApi.md +3 -1
- data/docs/ContentReleasesApi.md +3 -1
- data/docs/ContentSourceIndicesApi.md +204 -0
- data/docs/ContentSourcePackagesApi.md +258 -0
- data/docs/ContentSourceReleaseComponentsApi.md +202 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +2 -2
- data/docs/DebInstallerPackage.md +2 -2
- data/docs/DebPackage.md +2 -2
- data/docs/DebSourceIndex.md +25 -0
- data/docs/DebSourceIndexResponse.md +27 -0
- data/docs/DebSourcePackage.md +21 -0
- data/docs/DebSourcePackageReleaseComponent.md +21 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
- data/docs/DebSourcePackageResponse.md +77 -0
- data/docs/DistributionsAptApi.md +123 -1
- data/docs/PaginateddebSourceIndexResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageResponseList.md +23 -0
- data/docs/PublicationsAptApi.md +3 -1
- data/docs/PublicationsVerbatimApi.md +3 -1
- data/docs/RemotesAptApi.md +123 -1
- data/docs/RepositoriesAptApi.md +123 -1
- data/docs/RepositoriesAptVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +31 -4
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
- data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
- data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/set_label.rb +252 -0
- data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
- data/lib/pulp_deb_client/models/unset_label.rb +242 -0
- data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +16 -0
- data/spec/api/content_generic_contents_api_spec.rb +3 -2
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
- data/spec/api/content_installer_packages_api_spec.rb +3 -2
- data/spec/api/content_package_indices_api_spec.rb +1 -0
- data/spec/api/content_package_release_components_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +11 -2
- data/spec/api/content_release_architectures_api_spec.rb +1 -0
- data/spec/api/content_release_components_api_spec.rb +1 -0
- data/spec/api/content_release_files_api_spec.rb +1 -0
- data/spec/api/content_releases_api_spec.rb +1 -0
- data/spec/api/content_source_indices_api_spec.rb +86 -0
- data/spec/api/content_source_packages_api_spec.rb +113 -0
- data/spec/api/content_source_release_components_api_spec.rb +85 -0
- data/spec/api/distributions_apt_api_spec.rb +31 -0
- data/spec/api/publications_apt_api_spec.rb +1 -0
- data/spec/api/publications_verbatim_api_spec.rb +1 -0
- data/spec/api/remotes_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_source_index_response_spec.rb +71 -0
- data/spec/models/deb_source_index_spec.rb +65 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_source_package_release_component_spec.rb +53 -0
- data/spec/models/deb_source_package_response_spec.rb +221 -0
- data/spec/models/deb_source_package_spec.rb +53 -0
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +120 -56
@@ -0,0 +1,204 @@
|
|
1
|
+
# PulpDebClient::ContentSourceIndicesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
|
8
|
+
[**list**](ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
|
9
|
+
[**read**](ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> DebSourceIndexResponse create(deb_source_index)
|
16
|
+
|
17
|
+
Create a source index
|
18
|
+
|
19
|
+
A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_deb_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpDebClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
34
|
+
deb_source_index = PulpDebClient::DebSourceIndex.new # DebSourceIndex |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a source index
|
38
|
+
result = api_instance.create(deb_source_index)
|
39
|
+
p result
|
40
|
+
rescue PulpDebClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentSourceIndicesApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**deb_source_index** | [**DebSourceIndex**](DebSourceIndex.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**DebSourceIndexResponse**](DebSourceIndexResponse.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> PaginateddebSourceIndexResponseList list(opts)
|
69
|
+
|
70
|
+
List SourceIndices
|
71
|
+
|
72
|
+
A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_deb_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpDebClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
87
|
+
opts = {
|
88
|
+
component: 'component_example', # String | Filter results where component matches value
|
89
|
+
limit: 56, # Integer | Number of results to return per page.
|
90
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
93
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
94
|
+
q: 'q_example', # String |
|
95
|
+
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
96
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
97
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
98
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
99
|
+
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
100
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
101
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
102
|
+
}
|
103
|
+
|
104
|
+
begin
|
105
|
+
#List SourceIndices
|
106
|
+
result = api_instance.list(opts)
|
107
|
+
p result
|
108
|
+
rescue PulpDebClient::ApiError => e
|
109
|
+
puts "Exception when calling ContentSourceIndicesApi->list: #{e}"
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
### Parameters
|
114
|
+
|
115
|
+
|
116
|
+
Name | Type | Description | Notes
|
117
|
+
------------- | ------------- | ------------- | -------------
|
118
|
+
**component** | **String**| Filter results where component matches value | [optional]
|
119
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
120
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
121
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
122
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
123
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
124
|
+
**q** | **String**| | [optional]
|
125
|
+
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
126
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
127
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
128
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
129
|
+
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
130
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
131
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
132
|
+
|
133
|
+
### Return type
|
134
|
+
|
135
|
+
[**PaginateddebSourceIndexResponseList**](PaginateddebSourceIndexResponseList.md)
|
136
|
+
|
137
|
+
### Authorization
|
138
|
+
|
139
|
+
[basicAuth](../README.md#basicAuth)
|
140
|
+
|
141
|
+
### HTTP request headers
|
142
|
+
|
143
|
+
- **Content-Type**: Not defined
|
144
|
+
- **Accept**: application/json
|
145
|
+
|
146
|
+
|
147
|
+
## read
|
148
|
+
|
149
|
+
> DebSourceIndexResponse read(deb_source_index_href, opts)
|
150
|
+
|
151
|
+
Inspect a source index
|
152
|
+
|
153
|
+
A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
154
|
+
|
155
|
+
### Example
|
156
|
+
|
157
|
+
```ruby
|
158
|
+
# load the gem
|
159
|
+
require 'pulp_deb_client'
|
160
|
+
# setup authorization
|
161
|
+
PulpDebClient.configure do |config|
|
162
|
+
# Configure HTTP basic authorization: basicAuth
|
163
|
+
config.username = 'YOUR USERNAME'
|
164
|
+
config.password = 'YOUR PASSWORD'
|
165
|
+
end
|
166
|
+
|
167
|
+
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
168
|
+
deb_source_index_href = 'deb_source_index_href_example' # String |
|
169
|
+
opts = {
|
170
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
171
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
172
|
+
}
|
173
|
+
|
174
|
+
begin
|
175
|
+
#Inspect a source index
|
176
|
+
result = api_instance.read(deb_source_index_href, opts)
|
177
|
+
p result
|
178
|
+
rescue PulpDebClient::ApiError => e
|
179
|
+
puts "Exception when calling ContentSourceIndicesApi->read: #{e}"
|
180
|
+
end
|
181
|
+
```
|
182
|
+
|
183
|
+
### Parameters
|
184
|
+
|
185
|
+
|
186
|
+
Name | Type | Description | Notes
|
187
|
+
------------- | ------------- | ------------- | -------------
|
188
|
+
**deb_source_index_href** | **String**| |
|
189
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
190
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
191
|
+
|
192
|
+
### Return type
|
193
|
+
|
194
|
+
[**DebSourceIndexResponse**](DebSourceIndexResponse.md)
|
195
|
+
|
196
|
+
### Authorization
|
197
|
+
|
198
|
+
[basicAuth](../README.md#basicAuth)
|
199
|
+
|
200
|
+
### HTTP request headers
|
201
|
+
|
202
|
+
- **Content-Type**: Not defined
|
203
|
+
- **Accept**: application/json
|
204
|
+
|
@@ -0,0 +1,258 @@
|
|
1
|
+
# PulpDebClient::ContentSourcePackagesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
|
8
|
+
[**list**](ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
|
9
|
+
[**read**](ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> AsyncOperationResponse create(deb_source_package)
|
16
|
+
|
17
|
+
Create a source package
|
18
|
+
|
19
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_deb_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpDebClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
34
|
+
deb_source_package = PulpDebClient::DebSourcePackage.new # DebSourcePackage |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a source package
|
38
|
+
result = api_instance.create(deb_source_package)
|
39
|
+
p result
|
40
|
+
rescue PulpDebClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentSourcePackagesApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**deb_source_package** | [**DebSourcePackage**](DebSourcePackage.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> PaginateddebSourcePackageResponseList list(opts)
|
69
|
+
|
70
|
+
List source packages
|
71
|
+
|
72
|
+
A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_deb_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpDebClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
87
|
+
opts = {
|
88
|
+
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
89
|
+
binary: 'binary_example', # String | Filter results where binary matches value
|
90
|
+
build_conflicts: 'build_conflicts_example', # String | Filter results where build_conflicts matches value
|
91
|
+
build_conflicts_arch: 'build_conflicts_arch_example', # String | Filter results where build_conflicts_arch matches value
|
92
|
+
build_conflicts_indep: 'build_conflicts_indep_example', # String | Filter results where build_conflicts_indep matches value
|
93
|
+
build_depends: 'build_depends_example', # String | Filter results where build_depends matches value
|
94
|
+
build_depends_arch: 'build_depends_arch_example', # String | Filter results where build_depends_arch matches value
|
95
|
+
build_depends_indep: 'build_depends_indep_example', # String | Filter results where build_depends_indep matches value
|
96
|
+
dgit: 'dgit_example', # String | Filter results where dgit matches value
|
97
|
+
format: 'format_example', # String | Filter results where format matches value
|
98
|
+
homepage: 'homepage_example', # String | Filter results where homepage matches value
|
99
|
+
limit: 56, # Integer | Number of results to return per page.
|
100
|
+
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
101
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
102
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
package_list: 'package_list_example', # String | Filter results where package_list matches value
|
104
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
105
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
106
|
+
q: 'q_example', # String |
|
107
|
+
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
108
|
+
release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
109
|
+
release_component: 'release_component_example', # String | Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
110
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
111
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
112
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
113
|
+
source: 'source_example', # String | Filter results where source matches value
|
114
|
+
standards_version: 'standards_version_example', # String | Filter results where standards_version matches value
|
115
|
+
testsuite: 'testsuite_example', # String | Filter results where testsuite matches value
|
116
|
+
uploaders: 'uploaders_example', # String | Filter results where uploaders matches value
|
117
|
+
vcs_arch: 'vcs_arch_example', # String | Filter results where vcs_arch matches value
|
118
|
+
vcs_browser: 'vcs_browser_example', # String | Filter results where vcs_browser matches value
|
119
|
+
vcs_bzr: 'vcs_bzr_example', # String | Filter results where vcs_bzr matches value
|
120
|
+
vcs_cvs: 'vcs_cvs_example', # String | Filter results where vcs_cvs matches value
|
121
|
+
vcs_darcs: 'vcs_darcs_example', # String | Filter results where vcs_darcs matches value
|
122
|
+
vcs_git: 'vcs_git_example', # String | Filter results where vcs_git matches value
|
123
|
+
vcs_hg: 'vcs_hg_example', # String | Filter results where vcs_hg matches value
|
124
|
+
vcs_mtn: 'vcs_mtn_example', # String | Filter results where vcs_mtn matches value
|
125
|
+
vcs_snv: 'vcs_snv_example', # String | Filter results where vcs_snv matches value
|
126
|
+
version: 'version_example', # String | Filter results where version matches value
|
127
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
128
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
129
|
+
}
|
130
|
+
|
131
|
+
begin
|
132
|
+
#List source packages
|
133
|
+
result = api_instance.list(opts)
|
134
|
+
p result
|
135
|
+
rescue PulpDebClient::ApiError => e
|
136
|
+
puts "Exception when calling ContentSourcePackagesApi->list: #{e}"
|
137
|
+
end
|
138
|
+
```
|
139
|
+
|
140
|
+
### Parameters
|
141
|
+
|
142
|
+
|
143
|
+
Name | Type | Description | Notes
|
144
|
+
------------- | ------------- | ------------- | -------------
|
145
|
+
**architecture** | **String**| Filter results where architecture matches value | [optional]
|
146
|
+
**binary** | **String**| Filter results where binary matches value | [optional]
|
147
|
+
**build_conflicts** | **String**| Filter results where build_conflicts matches value | [optional]
|
148
|
+
**build_conflicts_arch** | **String**| Filter results where build_conflicts_arch matches value | [optional]
|
149
|
+
**build_conflicts_indep** | **String**| Filter results where build_conflicts_indep matches value | [optional]
|
150
|
+
**build_depends** | **String**| Filter results where build_depends matches value | [optional]
|
151
|
+
**build_depends_arch** | **String**| Filter results where build_depends_arch matches value | [optional]
|
152
|
+
**build_depends_indep** | **String**| Filter results where build_depends_indep matches value | [optional]
|
153
|
+
**dgit** | **String**| Filter results where dgit matches value | [optional]
|
154
|
+
**format** | **String**| Filter results where format matches value | [optional]
|
155
|
+
**homepage** | **String**| Filter results where homepage matches value | [optional]
|
156
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
157
|
+
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
158
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
159
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
160
|
+
**package_list** | **String**| Filter results where package_list matches value | [optional]
|
161
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
162
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
163
|
+
**q** | **String**| | [optional]
|
164
|
+
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
165
|
+
**release** | **String**| Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
|
166
|
+
**release_component** | **String**| Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
|
167
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
168
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
169
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
170
|
+
**source** | **String**| Filter results where source matches value | [optional]
|
171
|
+
**standards_version** | **String**| Filter results where standards_version matches value | [optional]
|
172
|
+
**testsuite** | **String**| Filter results where testsuite matches value | [optional]
|
173
|
+
**uploaders** | **String**| Filter results where uploaders matches value | [optional]
|
174
|
+
**vcs_arch** | **String**| Filter results where vcs_arch matches value | [optional]
|
175
|
+
**vcs_browser** | **String**| Filter results where vcs_browser matches value | [optional]
|
176
|
+
**vcs_bzr** | **String**| Filter results where vcs_bzr matches value | [optional]
|
177
|
+
**vcs_cvs** | **String**| Filter results where vcs_cvs matches value | [optional]
|
178
|
+
**vcs_darcs** | **String**| Filter results where vcs_darcs matches value | [optional]
|
179
|
+
**vcs_git** | **String**| Filter results where vcs_git matches value | [optional]
|
180
|
+
**vcs_hg** | **String**| Filter results where vcs_hg matches value | [optional]
|
181
|
+
**vcs_mtn** | **String**| Filter results where vcs_mtn matches value | [optional]
|
182
|
+
**vcs_snv** | **String**| Filter results where vcs_snv matches value | [optional]
|
183
|
+
**version** | **String**| Filter results where version matches value | [optional]
|
184
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
185
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
186
|
+
|
187
|
+
### Return type
|
188
|
+
|
189
|
+
[**PaginateddebSourcePackageResponseList**](PaginateddebSourcePackageResponseList.md)
|
190
|
+
|
191
|
+
### Authorization
|
192
|
+
|
193
|
+
[basicAuth](../README.md#basicAuth)
|
194
|
+
|
195
|
+
### HTTP request headers
|
196
|
+
|
197
|
+
- **Content-Type**: Not defined
|
198
|
+
- **Accept**: application/json
|
199
|
+
|
200
|
+
|
201
|
+
## read
|
202
|
+
|
203
|
+
> DebSourcePackageResponse read(deb_source_package_href, opts)
|
204
|
+
|
205
|
+
Inspect a source package
|
206
|
+
|
207
|
+
A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
208
|
+
|
209
|
+
### Example
|
210
|
+
|
211
|
+
```ruby
|
212
|
+
# load the gem
|
213
|
+
require 'pulp_deb_client'
|
214
|
+
# setup authorization
|
215
|
+
PulpDebClient.configure do |config|
|
216
|
+
# Configure HTTP basic authorization: basicAuth
|
217
|
+
config.username = 'YOUR USERNAME'
|
218
|
+
config.password = 'YOUR PASSWORD'
|
219
|
+
end
|
220
|
+
|
221
|
+
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
222
|
+
deb_source_package_href = 'deb_source_package_href_example' # String |
|
223
|
+
opts = {
|
224
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
225
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
226
|
+
}
|
227
|
+
|
228
|
+
begin
|
229
|
+
#Inspect a source package
|
230
|
+
result = api_instance.read(deb_source_package_href, opts)
|
231
|
+
p result
|
232
|
+
rescue PulpDebClient::ApiError => e
|
233
|
+
puts "Exception when calling ContentSourcePackagesApi->read: #{e}"
|
234
|
+
end
|
235
|
+
```
|
236
|
+
|
237
|
+
### Parameters
|
238
|
+
|
239
|
+
|
240
|
+
Name | Type | Description | Notes
|
241
|
+
------------- | ------------- | ------------- | -------------
|
242
|
+
**deb_source_package_href** | **String**| |
|
243
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
244
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
245
|
+
|
246
|
+
### Return type
|
247
|
+
|
248
|
+
[**DebSourcePackageResponse**](DebSourcePackageResponse.md)
|
249
|
+
|
250
|
+
### Authorization
|
251
|
+
|
252
|
+
[basicAuth](../README.md#basicAuth)
|
253
|
+
|
254
|
+
### HTTP request headers
|
255
|
+
|
256
|
+
- **Content-Type**: Not defined
|
257
|
+
- **Accept**: application/json
|
258
|
+
|