pulp_deb_client 2.21.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -7
  3. data/docs/ContentGenericContentsApi.md +7 -5
  4. data/docs/ContentInstallerFileIndicesApi.md +3 -1
  5. data/docs/ContentInstallerPackagesApi.md +7 -5
  6. data/docs/ContentPackageIndicesApi.md +3 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +3 -1
  8. data/docs/ContentPackagesApi.md +27 -5
  9. data/docs/ContentReleaseArchitecturesApi.md +5 -7
  10. data/docs/ContentReleaseComponentsApi.md +7 -7
  11. data/docs/ContentReleaseFilesApi.md +3 -1
  12. data/docs/ContentReleasesApi.md +13 -3
  13. data/docs/ContentSourceIndicesApi.md +204 -0
  14. data/docs/ContentSourcePackagesApi.md +258 -0
  15. data/docs/ContentSourceReleaseComponentsApi.md +202 -0
  16. data/docs/DebAptPublication.md +4 -2
  17. data/docs/DebAptPublicationResponse.md +4 -2
  18. data/docs/DebAptRepository.md +7 -1
  19. data/docs/DebAptRepositoryResponse.md +7 -1
  20. data/docs/DebCopyApi.md +1 -1
  21. data/docs/DebGenericContent.md +2 -2
  22. data/docs/DebInstallerPackage.md +2 -2
  23. data/docs/DebPackage.md +2 -2
  24. data/docs/DebRelease.md +9 -1
  25. data/docs/DebReleaseArchitecture.md +1 -5
  26. data/docs/DebReleaseArchitectureResponse.md +1 -5
  27. data/docs/DebReleaseComponent.md +1 -5
  28. data/docs/DebReleaseComponentResponse.md +1 -5
  29. data/docs/DebReleaseFile.md +3 -3
  30. data/docs/DebReleaseFileResponse.md +3 -3
  31. data/docs/DebReleaseResponse.md +9 -1
  32. data/docs/DebSourceIndex.md +25 -0
  33. data/docs/DebSourceIndexResponse.md +27 -0
  34. data/docs/DebSourcePackage.md +21 -0
  35. data/docs/DebSourcePackageReleaseComponent.md +21 -0
  36. data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
  37. data/docs/DebSourcePackageResponse.md +77 -0
  38. data/docs/DistributionsAptApi.md +123 -1
  39. data/docs/PaginateddebSourceIndexResponseList.md +23 -0
  40. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
  41. data/docs/PaginateddebSourcePackageResponseList.md +23 -0
  42. data/docs/PatcheddebAptRepository.md +7 -1
  43. data/docs/PublicationsAptApi.md +3 -1
  44. data/docs/PublicationsVerbatimApi.md +3 -1
  45. data/docs/RemotesAptApi.md +123 -1
  46. data/docs/RepositoriesAptApi.md +123 -1
  47. data/docs/RepositoriesAptVersionsApi.md +3 -1
  48. data/docs/SetLabel.md +19 -0
  49. data/docs/SetLabelResponse.md +19 -0
  50. data/docs/UnsetLabel.md +17 -0
  51. data/docs/UnsetLabelResponse.md +19 -0
  52. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -4
  53. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
  54. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
  55. data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
  56. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
  57. data/lib/pulp_deb_client/api/content_packages_api.rb +37 -4
  58. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -9
  59. data/lib/pulp_deb_client/api/content_release_components_api.rb +9 -9
  60. data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
  61. data/lib/pulp_deb_client/api/content_releases_api.rb +18 -3
  62. data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
  63. data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
  64. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
  65. data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
  66. data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
  67. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
  68. data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
  69. data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
  70. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
  71. data/lib/pulp_deb_client/configuration.rb +2 -2
  72. data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
  73. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
  74. data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
  75. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
  76. data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
  77. data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
  78. data/lib/pulp_deb_client/models/deb_package.rb +2 -2
  79. data/lib/pulp_deb_client/models/deb_release.rb +104 -4
  80. data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
  81. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
  82. data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
  83. data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
  84. data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
  85. data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
  86. data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
  87. data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
  88. data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
  89. data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
  90. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
  91. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
  92. data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
  93. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
  94. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
  95. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
  96. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
  97. data/lib/pulp_deb_client/models/set_label.rb +252 -0
  98. data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
  99. data/lib/pulp_deb_client/models/unset_label.rb +242 -0
  100. data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
  101. data/lib/pulp_deb_client/version.rb +1 -1
  102. data/lib/pulp_deb_client.rb +16 -0
  103. data/spec/api/content_generic_contents_api_spec.rb +3 -2
  104. data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
  105. data/spec/api/content_installer_packages_api_spec.rb +3 -2
  106. data/spec/api/content_package_indices_api_spec.rb +1 -0
  107. data/spec/api/content_package_release_components_api_spec.rb +1 -0
  108. data/spec/api/content_packages_api_spec.rb +13 -2
  109. data/spec/api/content_release_architectures_api_spec.rb +2 -3
  110. data/spec/api/content_release_components_api_spec.rb +3 -3
  111. data/spec/api/content_release_files_api_spec.rb +1 -0
  112. data/spec/api/content_releases_api_spec.rb +6 -1
  113. data/spec/api/content_source_indices_api_spec.rb +86 -0
  114. data/spec/api/content_source_packages_api_spec.rb +113 -0
  115. data/spec/api/content_source_release_components_api_spec.rb +85 -0
  116. data/spec/api/distributions_apt_api_spec.rb +31 -0
  117. data/spec/api/publications_apt_api_spec.rb +1 -0
  118. data/spec/api/publications_verbatim_api_spec.rb +1 -0
  119. data/spec/api/remotes_apt_api_spec.rb +31 -0
  120. data/spec/api/repositories_apt_api_spec.rb +31 -0
  121. data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
  122. data/spec/configuration_spec.rb +3 -3
  123. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  124. data/spec/models/deb_apt_publication_spec.rb +6 -0
  125. data/spec/models/deb_apt_repository_response_spec.rb +18 -0
  126. data/spec/models/deb_apt_repository_spec.rb +18 -0
  127. data/spec/models/deb_release_architecture_response_spec.rb +0 -12
  128. data/spec/models/deb_release_architecture_spec.rb +0 -12
  129. data/spec/models/deb_release_component_response_spec.rb +0 -12
  130. data/spec/models/deb_release_component_spec.rb +0 -12
  131. data/spec/models/deb_release_response_spec.rb +24 -0
  132. data/spec/models/deb_release_spec.rb +24 -0
  133. data/spec/models/deb_source_index_response_spec.rb +71 -0
  134. data/spec/models/deb_source_index_spec.rb +65 -0
  135. data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
  136. data/spec/models/deb_source_package_release_component_spec.rb +53 -0
  137. data/spec/models/deb_source_package_response_spec.rb +221 -0
  138. data/spec/models/deb_source_package_spec.rb +53 -0
  139. data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
  140. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
  141. data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
  142. data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
  143. data/spec/models/set_label_response_spec.rb +47 -0
  144. data/spec/models/set_label_spec.rb +47 -0
  145. data/spec/models/unset_label_response_spec.rb +47 -0
  146. data/spec/models/unset_label_spec.rb +41 -0
  147. metadata +122 -58
@@ -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&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
122
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
123
+ **pulp_id__in** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
131
+ **exclude_fields** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
190
+ **exclude_fields** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;format&#x60; - Format * &#x60;-format&#x60; - Format (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;binary&#x60; - Binary * &#x60;-binary&#x60; - Binary (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;uploaders&#x60; - Uploaders * &#x60;-uploaders&#x60; - Uploaders (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;vcs_browser&#x60; - Vcs browser * &#x60;-vcs_browser&#x60; - Vcs browser (descending) * &#x60;vcs_arch&#x60; - Vcs arch * &#x60;-vcs_arch&#x60; - Vcs arch (descending) * &#x60;vcs_bzr&#x60; - Vcs bzr * &#x60;-vcs_bzr&#x60; - Vcs bzr (descending) * &#x60;vcs_cvs&#x60; - Vcs cvs * &#x60;-vcs_cvs&#x60; - Vcs cvs (descending) * &#x60;vcs_darcs&#x60; - Vcs darcs * &#x60;-vcs_darcs&#x60; - Vcs darcs (descending) * &#x60;vcs_git&#x60; - Vcs git * &#x60;-vcs_git&#x60; - Vcs git (descending) * &#x60;vcs_hg&#x60; - Vcs hg * &#x60;-vcs_hg&#x60; - Vcs hg (descending) * &#x60;vcs_mtn&#x60; - Vcs mtn * &#x60;-vcs_mtn&#x60; - Vcs mtn (descending) * &#x60;vcs_snv&#x60; - Vcs snv * &#x60;-vcs_snv&#x60; - Vcs snv (descending) * &#x60;testsuite&#x60; - Testsuite * &#x60;-testsuite&#x60; - Testsuite (descending) * &#x60;dgit&#x60; - Dgit * &#x60;-dgit&#x60; - Dgit (descending) * &#x60;standards_version&#x60; - Standards version * &#x60;-standards_version&#x60; - Standards version (descending) * &#x60;build_depends&#x60; - Build depends * &#x60;-build_depends&#x60; - Build depends (descending) * &#x60;build_depends_indep&#x60; - Build depends indep * &#x60;-build_depends_indep&#x60; - Build depends indep (descending) * &#x60;build_depends_arch&#x60; - Build depends arch * &#x60;-build_depends_arch&#x60; - Build depends arch (descending) * &#x60;build_conflicts&#x60; - Build conflicts * &#x60;-build_conflicts&#x60; - Build conflicts (descending) * &#x60;build_conflicts_indep&#x60; - Build conflicts indep * &#x60;-build_conflicts_indep&#x60; - Build conflicts indep (descending) * &#x60;build_conflicts_arch&#x60; - Build conflicts arch * &#x60;-build_conflicts_arch&#x60; - Build conflicts arch (descending) * &#x60;package_list&#x60; - Package list * &#x60;-package_list&#x60; - Package list (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
160
+ **package_list** | **String**| Filter results where package_list matches value | [optional]
161
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
162
+ **pulp_id__in** | [**Array&lt;String&gt;**](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: \&quot;release_href,repository_or_repository_version_href\&quot; 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: \&quot;release_component_href,repository_or_repository_version_href\&quot; 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&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
185
+ **exclude_fields** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
244
+ **exclude_fields** | [**Array&lt;String&gt;**](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
+