pulp_maven_client 0.26.0 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22c4d15a39b134a7b8d2d841d27f87d7dbd16ee2a1d5294dae643951cc0efd5b
4
- data.tar.gz: e75278c0e7f0379bb16b8dc5bbae422b60f4711a27bfba88c954970df421ed6a
3
+ metadata.gz: b7b5b2afd29ecc448178f59848357dd6a6d714f0935abcdefda814defb6a476b
4
+ data.tar.gz: f7af96b6f2246834dee2ccd98dce66d0280111f1c25d32c9a3fe94da81f1c8d8
5
5
  SHA512:
6
- metadata.gz: a53f7f4467815589c653eda47db9317f64b3d84916976c41eb20d8ab1e968d5515baf329a341270c23604a81c6eb71c2e3f58731e66132cdbfe084461bd6418e
7
- data.tar.gz: 13cae39649bc80f6cf35fa080e57f2a99dd8ec10910100508ed4f073d041b33f4e60397496600249e8c8b50c339726e81a67940944d43407f01eca62ad2f5d19
6
+ metadata.gz: 6f1dc67569cc613d5099f0ae11711e6aa9fbc548dd9c571aef468ba84c24c6556feb8502fdda73c8c9b100f987a2ffc23dee93cce9cc0b86bd41c873ae81136c
7
+ data.tar.gz: 85b8b8214c11899723690220ee0db2fdc4114632e334456be8d1a9d9245e2f38b58df7a5a97363a551f77aa747b8dc5d62946f64cc4cc0c04d1d2c5ead814574
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.26.0
10
+ - Package version: 0.27.1
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_maven_client-0.26.0.gem
28
+ gem install ./pulp_maven_client-0.27.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_maven_client-0.26.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.27.1.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_maven_client', '~> 0.26.0'
37
+ gem 'pulp_maven_client', '~> 0.27.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -103,6 +103,10 @@ Class | Method | HTTP request | Description
103
103
  *PulpMavenClient::ContentArtifactApi* | [**set_label**](docs/ContentArtifactApi.md#set_label) | **POST** {maven_maven_artifact_href}set_label/ | Set a label
104
104
  *PulpMavenClient::ContentArtifactApi* | [**unset_label**](docs/ContentArtifactApi.md#unset_label) | **POST** {maven_maven_artifact_href}unset_label/ | Unset a label
105
105
  *PulpMavenClient::ContentArtifactApi* | [**upload**](docs/ContentArtifactApi.md#upload) | **POST** /pulp/api/v3/content/maven/artifact/upload/ | Upload a Maven artifact synchronously.
106
+ *PulpMavenClient::ContentMavenIndexPageApi* | [**list**](docs/ContentMavenIndexPageApi.md#list) | **GET** /pulp/api/v3/content/maven/maven/index-page/ | List maven index pages
107
+ *PulpMavenClient::ContentMavenIndexPageApi* | [**read**](docs/ContentMavenIndexPageApi.md#read) | **GET** {maven_maven_index_page_href} | Inspect a maven index page
108
+ *PulpMavenClient::ContentMavenIndexPageApi* | [**set_label**](docs/ContentMavenIndexPageApi.md#set_label) | **POST** {maven_maven_index_page_href}set_label/ | Set a label
109
+ *PulpMavenClient::ContentMavenIndexPageApi* | [**unset_label**](docs/ContentMavenIndexPageApi.md#unset_label) | **POST** {maven_maven_index_page_href}unset_label/ | Unset a label
106
110
  *PulpMavenClient::ContentMetadataApi* | [**create**](docs/ContentMetadataApi.md#create) | **POST** /pulp/api/v3/content/maven/metadata/ | Create a maven metadata
107
111
  *PulpMavenClient::ContentMetadataApi* | [**list**](docs/ContentMetadataApi.md#list) | **GET** /pulp/api/v3/content/maven/metadata/ | List maven metadatas
108
112
  *PulpMavenClient::ContentMetadataApi* | [**read**](docs/ContentMetadataApi.md#read) | **GET** {maven_maven_metadata_href} | Inspect a maven metadata
@@ -152,6 +156,7 @@ Class | Method | HTTP request | Description
152
156
  *PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
153
157
  *PulpMavenClient::RepositoriesMavenApi* | [**read**](docs/RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
154
158
  *PulpMavenClient::RepositoriesMavenApi* | [**remove_role**](docs/RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role
159
+ *PulpMavenClient::RepositoriesMavenApi* | [**repair_index_pages**](docs/RepositoriesMavenApi.md#repair_index_pages) | **POST** {maven_maven_repository_href}repair_index_pages/ | Repair index pages
155
160
  *PulpMavenClient::RepositoriesMavenApi* | [**repair_metadata**](docs/RepositoriesMavenApi.md#repair_metadata) | **POST** {maven_maven_repository_href}repair_metadata/ | Repair metadata
156
161
  *PulpMavenClient::RepositoriesMavenApi* | [**set_label**](docs/RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label
157
162
  *PulpMavenClient::RepositoriesMavenApi* | [**unset_label**](docs/RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label
@@ -169,6 +174,7 @@ Class | Method | HTTP request | Description
169
174
  - [PulpMavenClient::MavenMavenArtifactResponse](docs/MavenMavenArtifactResponse.md)
170
175
  - [PulpMavenClient::MavenMavenDistribution](docs/MavenMavenDistribution.md)
171
176
  - [PulpMavenClient::MavenMavenDistributionResponse](docs/MavenMavenDistributionResponse.md)
177
+ - [PulpMavenClient::MavenMavenIndexPageResponse](docs/MavenMavenIndexPageResponse.md)
172
178
  - [PulpMavenClient::MavenMavenMetadataResponse](docs/MavenMavenMetadataResponse.md)
173
179
  - [PulpMavenClient::MavenMavenPackageResponse](docs/MavenMavenPackageResponse.md)
174
180
  - [PulpMavenClient::MavenMavenRemote](docs/MavenMavenRemote.md)
@@ -187,6 +193,7 @@ Class | Method | HTTP request | Description
187
193
  - [PulpMavenClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
188
194
  - [PulpMavenClient::PaginatedmavenMavenArtifactResponseList](docs/PaginatedmavenMavenArtifactResponseList.md)
189
195
  - [PulpMavenClient::PaginatedmavenMavenDistributionResponseList](docs/PaginatedmavenMavenDistributionResponseList.md)
196
+ - [PulpMavenClient::PaginatedmavenMavenIndexPageResponseList](docs/PaginatedmavenMavenIndexPageResponseList.md)
190
197
  - [PulpMavenClient::PaginatedmavenMavenMetadataResponseList](docs/PaginatedmavenMavenMetadataResponseList.md)
191
198
  - [PulpMavenClient::PaginatedmavenMavenPackageResponseList](docs/PaginatedmavenMavenPackageResponseList.md)
192
199
  - [PulpMavenClient::PaginatedmavenMavenRemoteResponseList](docs/PaginatedmavenMavenRemoteResponseList.md)
@@ -0,0 +1,341 @@
1
+ # PulpMavenClient::ContentMavenIndexPageApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**list**](ContentMavenIndexPageApi.md#list) | **GET** /pulp/api/v3/content/maven/maven/index-page/ | List maven index pages |
8
+ | [**read**](ContentMavenIndexPageApi.md#read) | **GET** {maven_maven_index_page_href} | Inspect a maven index page |
9
+ | [**set_label**](ContentMavenIndexPageApi.md#set_label) | **POST** {maven_maven_index_page_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentMavenIndexPageApi.md#unset_label) | **POST** {maven_maven_index_page_href}unset_label/ | Unset a label |
11
+
12
+
13
+ ## list
14
+
15
+ > <PaginatedmavenMavenIndexPageResponseList> list(opts)
16
+
17
+ List maven index pages
18
+
19
+ A read-only ViewSet for MavenIndexPage.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'pulp_maven_client'
26
+ # setup authorization
27
+ PulpMavenClient.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 = PulpMavenClient::ContentMavenIndexPageApi.new
34
+ opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
36
+ limit: 56, # Integer | Number of results to return per page.
37
+ offset: 56, # Integer | The initial index from which to return the results.
38
+ ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
39
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
40
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
41
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
42
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
43
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
44
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
45
+ repository_version: 'repository_version_example', # String |
46
+ repository_version_added: 'repository_version_added_example', # String |
47
+ repository_version_removed: 'repository_version_removed_example', # String |
48
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
49
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
50
+ }
51
+
52
+ begin
53
+ # List maven index pages
54
+ result = api_instance.list(opts)
55
+ p result
56
+ rescue PulpMavenClient::ApiError => e
57
+ puts "Error when calling ContentMavenIndexPageApi->list: #{e}"
58
+ end
59
+ ```
60
+
61
+ #### Using the list_with_http_info variant
62
+
63
+ This returns an Array which contains the response data, status code and headers.
64
+
65
+ > <Array(<PaginatedmavenMavenIndexPageResponseList>, Integer, Hash)> list_with_http_info(opts)
66
+
67
+ ```ruby
68
+ begin
69
+ # List maven index pages
70
+ data, status_code, headers = api_instance.list_with_http_info(opts)
71
+ p status_code # => 2xx
72
+ p headers # => { ... }
73
+ p data # => <PaginatedmavenMavenIndexPageResponseList>
74
+ rescue PulpMavenClient::ApiError => e
75
+ puts "Error when calling ContentMavenIndexPageApi->list_with_http_info: #{e}"
76
+ end
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ | Name | Type | Description | Notes |
82
+ | ---- | ---- | ----------- | ----- |
83
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
84
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
85
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
86
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
87
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
88
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
89
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
90
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
91
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
92
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
93
+ | **repository_version** | **String** | | [optional] |
94
+ | **repository_version_added** | **String** | | [optional] |
95
+ | **repository_version_removed** | **String** | | [optional] |
96
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
97
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
98
+
99
+ ### Return type
100
+
101
+ [**PaginatedmavenMavenIndexPageResponseList**](PaginatedmavenMavenIndexPageResponseList.md)
102
+
103
+ ### Authorization
104
+
105
+ [basicAuth](../README.md#basicAuth)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ## read
114
+
115
+ > <MavenMavenIndexPageResponse> read(maven_maven_index_page_href, opts)
116
+
117
+ Inspect a maven index page
118
+
119
+ A read-only ViewSet for MavenIndexPage.
120
+
121
+ ### Examples
122
+
123
+ ```ruby
124
+ require 'time'
125
+ require 'pulp_maven_client'
126
+ # setup authorization
127
+ PulpMavenClient.configure do |config|
128
+ # Configure HTTP basic authorization: basicAuth
129
+ config.username = 'YOUR USERNAME'
130
+ config.password = 'YOUR PASSWORD'
131
+ end
132
+
133
+ api_instance = PulpMavenClient::ContentMavenIndexPageApi.new
134
+ maven_maven_index_page_href = 'maven_maven_index_page_href_example' # String |
135
+ opts = {
136
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
137
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
138
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
139
+ }
140
+
141
+ begin
142
+ # Inspect a maven index page
143
+ result = api_instance.read(maven_maven_index_page_href, opts)
144
+ p result
145
+ rescue PulpMavenClient::ApiError => e
146
+ puts "Error when calling ContentMavenIndexPageApi->read: #{e}"
147
+ end
148
+ ```
149
+
150
+ #### Using the read_with_http_info variant
151
+
152
+ This returns an Array which contains the response data, status code and headers.
153
+
154
+ > <Array(<MavenMavenIndexPageResponse>, Integer, Hash)> read_with_http_info(maven_maven_index_page_href, opts)
155
+
156
+ ```ruby
157
+ begin
158
+ # Inspect a maven index page
159
+ data, status_code, headers = api_instance.read_with_http_info(maven_maven_index_page_href, opts)
160
+ p status_code # => 2xx
161
+ p headers # => { ... }
162
+ p data # => <MavenMavenIndexPageResponse>
163
+ rescue PulpMavenClient::ApiError => e
164
+ puts "Error when calling ContentMavenIndexPageApi->read_with_http_info: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+ | Name | Type | Description | Notes |
171
+ | ---- | ---- | ----------- | ----- |
172
+ | **maven_maven_index_page_href** | **String** | | |
173
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
174
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
175
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
176
+
177
+ ### Return type
178
+
179
+ [**MavenMavenIndexPageResponse**](MavenMavenIndexPageResponse.md)
180
+
181
+ ### Authorization
182
+
183
+ [basicAuth](../README.md#basicAuth)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
190
+
191
+ ## set_label
192
+
193
+ > <SetLabelResponse> set_label(maven_maven_index_page_href, set_label, opts)
194
+
195
+ Set a label
196
+
197
+ Set a single pulp_label on the object to a specific value or null.
198
+
199
+ ### Examples
200
+
201
+ ```ruby
202
+ require 'time'
203
+ require 'pulp_maven_client'
204
+ # setup authorization
205
+ PulpMavenClient.configure do |config|
206
+ # Configure HTTP basic authorization: basicAuth
207
+ config.username = 'YOUR USERNAME'
208
+ config.password = 'YOUR PASSWORD'
209
+ end
210
+
211
+ api_instance = PulpMavenClient::ContentMavenIndexPageApi.new
212
+ maven_maven_index_page_href = 'maven_maven_index_page_href_example' # String |
213
+ set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
214
+ opts = {
215
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
216
+ }
217
+
218
+ begin
219
+ # Set a label
220
+ result = api_instance.set_label(maven_maven_index_page_href, set_label, opts)
221
+ p result
222
+ rescue PulpMavenClient::ApiError => e
223
+ puts "Error when calling ContentMavenIndexPageApi->set_label: #{e}"
224
+ end
225
+ ```
226
+
227
+ #### Using the set_label_with_http_info variant
228
+
229
+ This returns an Array which contains the response data, status code and headers.
230
+
231
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_index_page_href, set_label, opts)
232
+
233
+ ```ruby
234
+ begin
235
+ # Set a label
236
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_index_page_href, set_label, opts)
237
+ p status_code # => 2xx
238
+ p headers # => { ... }
239
+ p data # => <SetLabelResponse>
240
+ rescue PulpMavenClient::ApiError => e
241
+ puts "Error when calling ContentMavenIndexPageApi->set_label_with_http_info: #{e}"
242
+ end
243
+ ```
244
+
245
+ ### Parameters
246
+
247
+ | Name | Type | Description | Notes |
248
+ | ---- | ---- | ----------- | ----- |
249
+ | **maven_maven_index_page_href** | **String** | | |
250
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
251
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
252
+
253
+ ### Return type
254
+
255
+ [**SetLabelResponse**](SetLabelResponse.md)
256
+
257
+ ### Authorization
258
+
259
+ [basicAuth](../README.md#basicAuth)
260
+
261
+ ### HTTP request headers
262
+
263
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
264
+ - **Accept**: application/json
265
+
266
+
267
+ ## unset_label
268
+
269
+ > <UnsetLabelResponse> unset_label(maven_maven_index_page_href, unset_label, opts)
270
+
271
+ Unset a label
272
+
273
+ Unset a single pulp_label on the object.
274
+
275
+ ### Examples
276
+
277
+ ```ruby
278
+ require 'time'
279
+ require 'pulp_maven_client'
280
+ # setup authorization
281
+ PulpMavenClient.configure do |config|
282
+ # Configure HTTP basic authorization: basicAuth
283
+ config.username = 'YOUR USERNAME'
284
+ config.password = 'YOUR PASSWORD'
285
+ end
286
+
287
+ api_instance = PulpMavenClient::ContentMavenIndexPageApi.new
288
+ maven_maven_index_page_href = 'maven_maven_index_page_href_example' # String |
289
+ unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
290
+ opts = {
291
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
292
+ }
293
+
294
+ begin
295
+ # Unset a label
296
+ result = api_instance.unset_label(maven_maven_index_page_href, unset_label, opts)
297
+ p result
298
+ rescue PulpMavenClient::ApiError => e
299
+ puts "Error when calling ContentMavenIndexPageApi->unset_label: #{e}"
300
+ end
301
+ ```
302
+
303
+ #### Using the unset_label_with_http_info variant
304
+
305
+ This returns an Array which contains the response data, status code and headers.
306
+
307
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_index_page_href, unset_label, opts)
308
+
309
+ ```ruby
310
+ begin
311
+ # Unset a label
312
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_index_page_href, unset_label, opts)
313
+ p status_code # => 2xx
314
+ p headers # => { ... }
315
+ p data # => <UnsetLabelResponse>
316
+ rescue PulpMavenClient::ApiError => e
317
+ puts "Error when calling ContentMavenIndexPageApi->unset_label_with_http_info: #{e}"
318
+ end
319
+ ```
320
+
321
+ ### Parameters
322
+
323
+ | Name | Type | Description | Notes |
324
+ | ---- | ---- | ----------- | ----- |
325
+ | **maven_maven_index_page_href** | **String** | | |
326
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
327
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
328
+
329
+ ### Return type
330
+
331
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
332
+
333
+ ### Authorization
334
+
335
+ [basicAuth](../README.md#basicAuth)
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
340
+ - **Accept**: application/json
341
+
@@ -0,0 +1,32 @@
1
+ # PulpMavenClient::MavenMavenIndexPageResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
+ | **vuln_report** | **String** | | [optional][readonly] |
13
+ | **path** | **String** | Directory path this page indexes. | [optional][readonly] |
14
+ | **sha256** | **String** | SHA256 digest of the HTML content. | [optional][readonly] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'pulp_maven_client'
20
+
21
+ instance = PulpMavenClient::MavenMavenIndexPageResponse.new(
22
+ pulp_href: null,
23
+ prn: null,
24
+ pulp_created: null,
25
+ pulp_last_updated: null,
26
+ pulp_labels: null,
27
+ vuln_report: null,
28
+ path: null,
29
+ sha256: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,24 @@
1
+ # PulpMavenClient::PaginatedmavenMavenIndexPageResponseList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array&lt;MavenMavenIndexPageResponse&gt;**](MavenMavenIndexPageResponse.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'pulp_maven_client'
16
+
17
+ instance = PulpMavenClient::PaginatedmavenMavenIndexPageResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
20
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
21
+ results: null
22
+ )
23
+ ```
24
+
@@ -17,6 +17,7 @@ All URIs are relative to *http://localhost:24817*
17
17
  | [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository |
18
18
  | [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository |
19
19
  | [**remove_role**](RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role |
20
+ | [**repair_index_pages**](RepositoriesMavenApi.md#repair_index_pages) | **POST** {maven_maven_repository_href}repair_index_pages/ | Repair index pages |
20
21
  | [**repair_metadata**](RepositoriesMavenApi.md#repair_metadata) | **POST** {maven_maven_repository_href}repair_metadata/ | Repair metadata |
21
22
  | [**set_label**](RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label |
22
23
  | [**unset_label**](RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label |
@@ -1097,6 +1098,80 @@ end
1097
1098
  - **Accept**: application/json
1098
1099
 
1099
1100
 
1101
+ ## repair_index_pages
1102
+
1103
+ > <AsyncOperationResponse> repair_index_pages(maven_maven_repository_href, opts)
1104
+
1105
+ Repair index pages
1106
+
1107
+ Trigger an asynchronous task to generate (or regenerate) HTML directory index pages for every directory in the latest repository version. This is a one-time catch-up for repositories created before the pre-generation feature was deployed. After the task completes every directory URL will be served by a pre-generated page rather than the on-demand fallback.
1108
+
1109
+ ### Examples
1110
+
1111
+ ```ruby
1112
+ require 'time'
1113
+ require 'pulp_maven_client'
1114
+ # setup authorization
1115
+ PulpMavenClient.configure do |config|
1116
+ # Configure HTTP basic authorization: basicAuth
1117
+ config.username = 'YOUR USERNAME'
1118
+ config.password = 'YOUR PASSWORD'
1119
+ end
1120
+
1121
+ api_instance = PulpMavenClient::RepositoriesMavenApi.new
1122
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
1123
+ opts = {
1124
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
1125
+ }
1126
+
1127
+ begin
1128
+ # Repair index pages
1129
+ result = api_instance.repair_index_pages(maven_maven_repository_href, opts)
1130
+ p result
1131
+ rescue PulpMavenClient::ApiError => e
1132
+ puts "Error when calling RepositoriesMavenApi->repair_index_pages: #{e}"
1133
+ end
1134
+ ```
1135
+
1136
+ #### Using the repair_index_pages_with_http_info variant
1137
+
1138
+ This returns an Array which contains the response data, status code and headers.
1139
+
1140
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> repair_index_pages_with_http_info(maven_maven_repository_href, opts)
1141
+
1142
+ ```ruby
1143
+ begin
1144
+ # Repair index pages
1145
+ data, status_code, headers = api_instance.repair_index_pages_with_http_info(maven_maven_repository_href, opts)
1146
+ p status_code # => 2xx
1147
+ p headers # => { ... }
1148
+ p data # => <AsyncOperationResponse>
1149
+ rescue PulpMavenClient::ApiError => e
1150
+ puts "Error when calling RepositoriesMavenApi->repair_index_pages_with_http_info: #{e}"
1151
+ end
1152
+ ```
1153
+
1154
+ ### Parameters
1155
+
1156
+ | Name | Type | Description | Notes |
1157
+ | ---- | ---- | ----------- | ----- |
1158
+ | **maven_maven_repository_href** | **String** | | |
1159
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
1160
+
1161
+ ### Return type
1162
+
1163
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
1164
+
1165
+ ### Authorization
1166
+
1167
+ [basicAuth](../README.md#basicAuth)
1168
+
1169
+ ### HTTP request headers
1170
+
1171
+ - **Content-Type**: Not defined
1172
+ - **Accept**: application/json
1173
+
1174
+
1100
1175
  ## repair_metadata
1101
1176
 
1102
1177
  > <AsyncOperationResponse> repair_metadata(maven_maven_repository_href, opts)