pulp_container_client 2.0.0b2 → 2.0.0b3

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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -20
  3. data/docs/{ContainerBlobRead.md → ContainerBlob.md} +2 -2
  4. data/docs/ContainerContainerDistribution.md +8 -8
  5. data/docs/{ContainerContainerRepositoryRead.md → ContainerContainerPushRepository.md} +2 -2
  6. data/docs/ContainerContentRedirectContentGuard.md +23 -0
  7. data/docs/{ContainerManifestRead.md → ContainerManifest.md} +2 -2
  8. data/docs/{ContainerTagRead.md → ContainerTag.md} +2 -2
  9. data/docs/ContentBlobsApi.md +2 -2
  10. data/docs/ContentManifestsApi.md +2 -2
  11. data/docs/ContentTagsApi.md +2 -2
  12. data/docs/ContentguardsContentRedirectApi.md +355 -0
  13. data/docs/DistributionsContainerApi.md +4 -4
  14. data/docs/InlineResponse200.md +1 -1
  15. data/docs/InlineResponse2001.md +1 -1
  16. data/docs/InlineResponse2002.md +1 -1
  17. data/docs/InlineResponse2003.md +1 -1
  18. data/docs/InlineResponse2004.md +1 -1
  19. data/docs/InlineResponse2005.md +1 -1
  20. data/docs/InlineResponse2006.md +1 -1
  21. data/docs/InlineResponse2007.md +23 -0
  22. data/docs/InlineResponse2008.md +23 -0
  23. data/docs/RemotesContainerApi.md +6 -6
  24. data/docs/RepositoriesContainerApi.md +6 -6
  25. data/docs/RepositoriesContainerPushApi.md +356 -0
  26. data/docs/RepositoriesContainerVersionsApi.md +285 -20
  27. data/docs/{V2Api.md → TokenApi.md} +5 -5
  28. data/lib/pulp_container_client.rb +10 -12
  29. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
  30. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  31. data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
  32. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +431 -0
  33. data/lib/pulp_container_client/api/distributions_container_api.rb +6 -6
  34. data/lib/pulp_container_client/api/remotes_container_api.rb +9 -9
  35. data/lib/pulp_container_client/api/repositories_container_api.rb +9 -9
  36. data/lib/pulp_container_client/api/repositories_container_push_api.rb +433 -0
  37. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +354 -34
  38. data/lib/pulp_container_client/api/{v2_api.rb → token_api.rb} +6 -6
  39. data/lib/pulp_container_client/models/{container_blob_read.rb → container_blob.rb} +3 -3
  40. data/lib/pulp_container_client/models/container_container_distribution.rb +60 -61
  41. data/lib/pulp_container_client/models/{container_container_repository_read.rb → container_container_push_repository.rb} +3 -3
  42. data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +276 -0
  43. data/lib/pulp_container_client/models/{container_manifest_read.rb → container_manifest.rb} +3 -3
  44. data/lib/pulp_container_client/models/{container_tag_read.rb → container_tag.rb} +3 -3
  45. data/lib/pulp_container_client/models/inline_response200.rb +1 -1
  46. data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
  47. data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
  48. data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
  49. data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
  50. data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
  51. data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
  52. data/lib/pulp_container_client/models/{repository_version_read.rb → inline_response2007.rb} +42 -39
  53. data/lib/pulp_container_client/models/inline_response2008.rb +247 -0
  54. data/lib/pulp_container_client/version.rb +1 -1
  55. data/spec/api/content_blobs_api_spec.rb +1 -1
  56. data/spec/api/content_manifests_api_spec.rb +1 -1
  57. data/spec/api/content_tags_api_spec.rb +1 -1
  58. data/spec/api/contentguards_content_redirect_api_spec.rb +117 -0
  59. data/spec/api/distributions_container_api_spec.rb +2 -2
  60. data/spec/api/remotes_container_api_spec.rb +3 -3
  61. data/spec/api/repositories_container_api_spec.rb +3 -3
  62. data/spec/api/repositories_container_push_api_spec.rb +117 -0
  63. data/spec/api/repositories_container_versions_api_spec.rb +77 -7
  64. data/spec/api/{v2_api_spec.rb → token_api_spec.rb} +7 -7
  65. data/spec/models/{container_blob_read_spec.rb → container_blob_spec.rb} +6 -6
  66. data/spec/models/container_container_distribution_spec.rb +7 -7
  67. data/spec/models/{container_container_repository_read_spec.rb → container_container_push_repository_spec.rb} +6 -6
  68. data/spec/models/{repository_version_read_spec.rb → container_content_redirect_content_guard_spec.rb} +8 -14
  69. data/spec/models/{container_manifest_read_spec.rb → container_manifest_spec.rb} +6 -6
  70. data/spec/models/{container_tag_read_spec.rb → container_tag_spec.rb} +6 -6
  71. data/spec/models/inline_response2007_spec.rb +59 -0
  72. data/spec/models/inline_response2008_spec.rb +59 -0
  73. metadata +42 -50
  74. data/docs/ContainerContainerDistributionRead.md +0 -31
  75. data/docs/ContainerContainerRemoteRead.md +0 -47
  76. data/docs/RepositoryVersionRead.md +0 -25
  77. data/docs/V2BlobsApi.md +0 -63
  78. data/docs/V2CatalogApi.md +0 -64
  79. data/docs/V2ListApi.md +0 -66
  80. data/docs/V2UploadsApi.md +0 -61
  81. data/lib/pulp_container_client/api/v2_blobs_api.rb +0 -88
  82. data/lib/pulp_container_client/api/v2_catalog_api.rb +0 -80
  83. data/lib/pulp_container_client/api/v2_list_api.rb +0 -86
  84. data/lib/pulp_container_client/api/v2_uploads_api.rb +0 -82
  85. data/lib/pulp_container_client/models/container_container_distribution_read.rb +0 -342
  86. data/lib/pulp_container_client/models/container_container_remote_read.rb +0 -578
  87. data/spec/api/v2_blobs_api_spec.rb +0 -48
  88. data/spec/api/v2_catalog_api_spec.rb +0 -47
  89. data/spec/api/v2_list_api_spec.rb +0 -48
  90. data/spec/api/v2_uploads_api_spec.rb +0 -47
  91. data/spec/models/container_container_distribution_read_spec.rb +0 -83
  92. data/spec/models/container_container_remote_read_spec.rb +0 -135
@@ -4,16 +4,20 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_repository_version_href} | Delete a repository version
8
- [**list**](RepositoriesContainerVersionsApi.md#list) | **GET** {container_repository_href}versions/ | List repository versions
9
- [**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {container_repository_version_href} | Inspect a repository version
10
- [**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {container_repository_version_href}repair/ |
7
+ [**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container-push_repository_version_href} | Delete a repository version
8
+ [**delete_0**](RepositoriesContainerVersionsApi.md#delete_0) | **DELETE** {container_repository_version_href} | Delete a repository version
9
+ [**list**](RepositoriesContainerVersionsApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/{container-push_repository_pk}/versions/ | List repository versions
10
+ [**list_0**](RepositoriesContainerVersionsApi.md#list_0) | **GET** {container_repository_href}versions/ | List repository versions
11
+ [**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {container-push_repository_version_href} | Inspect a repository version
12
+ [**read_0**](RepositoriesContainerVersionsApi.md#read_0) | **GET** {container_repository_version_href} | Inspect a repository version
13
+ [**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {container-push_repository_version_href}repair/ |
14
+ [**repair_0**](RepositoriesContainerVersionsApi.md#repair_0) | **POST** {container_repository_version_href}repair/ |
11
15
 
12
16
 
13
17
 
14
18
  ## delete
15
19
 
16
- > AsyncOperationResponse delete(container_repository_version_href)
20
+ > AsyncOperationResponse delete(container_push_repository_version_href)
17
21
 
18
22
  Delete a repository version
19
23
 
@@ -32,11 +36,11 @@ PulpContainerClient.configure do |config|
32
36
  end
33
37
 
34
38
  api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
35
- container_repository_version_href = 'container_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
39
+ container_push_repository_version_href = 'container_push_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
36
40
 
37
41
  begin
38
42
  #Delete a repository version
39
- result = api_instance.delete(container_repository_version_href)
43
+ result = api_instance.delete(container_push_repository_version_href)
40
44
  p result
41
45
  rescue PulpContainerClient::ApiError => e
42
46
  puts "Exception when calling RepositoriesContainerVersionsApi->delete: #{e}"
@@ -46,6 +50,59 @@ end
46
50
  ### Parameters
47
51
 
48
52
 
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **container_push_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/ |
56
+
57
+ ### Return type
58
+
59
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
60
+
61
+ ### Authorization
62
+
63
+ [Basic](../README.md#Basic)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: application/json
69
+
70
+
71
+ ## delete_0
72
+
73
+ > AsyncOperationResponse delete_0(container_repository_version_href)
74
+
75
+ Delete a repository version
76
+
77
+ Trigger an asynchronous task to delete a repositroy version.
78
+
79
+ ### Example
80
+
81
+ ```ruby
82
+ # load the gem
83
+ require 'pulp_container_client'
84
+ # setup authorization
85
+ PulpContainerClient.configure do |config|
86
+ # Configure HTTP basic authorization: Basic
87
+ config.username = 'YOUR USERNAME'
88
+ config.password = 'YOUR PASSWORD'
89
+ end
90
+
91
+ api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
92
+ container_repository_version_href = 'container_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
93
+
94
+ begin
95
+ #Delete a repository version
96
+ result = api_instance.delete_0(container_repository_version_href)
97
+ p result
98
+ rescue PulpContainerClient::ApiError => e
99
+ puts "Exception when calling RepositoriesContainerVersionsApi->delete_0: #{e}"
100
+ end
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+
49
106
  Name | Type | Description | Notes
50
107
  ------------- | ------------- | ------------- | -------------
51
108
  **container_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/ |
@@ -66,7 +123,100 @@ Name | Type | Description | Notes
66
123
 
67
124
  ## list
68
125
 
69
- > InlineResponse2006 list(container_repository_href, opts)
126
+ > InlineResponse2007 list(container_push_repository_pk, opts)
127
+
128
+ List repository versions
129
+
130
+ ContainerPushRepositoryVersion represents a single container push repository version.
131
+
132
+ ### Example
133
+
134
+ ```ruby
135
+ # load the gem
136
+ require 'pulp_container_client'
137
+ # setup authorization
138
+ PulpContainerClient.configure do |config|
139
+ # Configure HTTP basic authorization: Basic
140
+ config.username = 'YOUR USERNAME'
141
+ config.password = 'YOUR PASSWORD'
142
+ end
143
+
144
+ api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
145
+ container_push_repository_pk = 'container_push_repository_pk_example' # String |
146
+ opts = {
147
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
148
+ number: 3.4, # Float |
149
+ number__lt: 3.4, # Float | Filter results where number is less than value
150
+ number__lte: 3.4, # Float | Filter results where number is less than or equal to value
151
+ number__gt: 3.4, # Float | Filter results where number is greater than value
152
+ number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
153
+ number__range: 3.4, # Float | Filter results where number is between two comma separated values
154
+ pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
155
+ pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
156
+ pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
157
+ pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
158
+ pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
159
+ pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
160
+ content: 'content_example', # String | Content Unit referenced by HREF
161
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
162
+ limit: 56, # Integer | Number of results to return per page.
163
+ offset: 56, # Integer | The initial index from which to return the results.
164
+ fields: 'fields_example', # String | A list of fields to include in the response.
165
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
166
+ }
167
+
168
+ begin
169
+ #List repository versions
170
+ result = api_instance.list(container_push_repository_pk, opts)
171
+ p result
172
+ rescue PulpContainerClient::ApiError => e
173
+ puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
174
+ end
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+
180
+ Name | Type | Description | Notes
181
+ ------------- | ------------- | ------------- | -------------
182
+ **container_push_repository_pk** | **String**| |
183
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
184
+ **number** | **Float**| | [optional]
185
+ **number__lt** | **Float**| Filter results where number is less than value | [optional]
186
+ **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
187
+ **number__gt** | **Float**| Filter results where number is greater than value | [optional]
188
+ **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
189
+ **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
190
+ **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
191
+ **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
192
+ **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
193
+ **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
194
+ **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
195
+ **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
196
+ **content** | **String**| Content Unit referenced by HREF | [optional]
197
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
198
+ **limit** | **Integer**| Number of results to return per page. | [optional]
199
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
200
+ **fields** | **String**| A list of fields to include in the response. | [optional]
201
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
202
+
203
+ ### Return type
204
+
205
+ [**InlineResponse2007**](InlineResponse2007.md)
206
+
207
+ ### Authorization
208
+
209
+ [Basic](../README.md#Basic)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
217
+ ## list_0
218
+
219
+ > InlineResponse2007 list_0(container_repository_href, opts)
70
220
 
71
221
  List repository versions
72
222
 
@@ -99,8 +249,9 @@ opts = {
99
249
  pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
250
  pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
251
  pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
- content: 'content_example', # String | Content Unit referenced by HREF
103
252
  pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
253
+ content: 'content_example', # String | Content Unit referenced by HREF
254
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
104
255
  limit: 56, # Integer | Number of results to return per page.
105
256
  offset: 56, # Integer | The initial index from which to return the results.
106
257
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -109,10 +260,10 @@ opts = {
109
260
 
110
261
  begin
111
262
  #List repository versions
112
- result = api_instance.list(container_repository_href, opts)
263
+ result = api_instance.list_0(container_repository_href, opts)
113
264
  p result
114
265
  rescue PulpContainerClient::ApiError => e
115
- puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
266
+ puts "Exception when calling RepositoriesContainerVersionsApi->list_0: #{e}"
116
267
  end
117
268
  ```
118
269
 
@@ -134,8 +285,9 @@ Name | Type | Description | Notes
134
285
  **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
135
286
  **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
136
287
  **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
137
- **content** | **String**| Content Unit referenced by HREF | [optional]
138
288
  **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
289
+ **content** | **String**| Content Unit referenced by HREF | [optional]
290
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
139
291
  **limit** | **Integer**| Number of results to return per page. | [optional]
140
292
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
141
293
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -143,7 +295,7 @@ Name | Type | Description | Notes
143
295
 
144
296
  ### Return type
145
297
 
146
- [**InlineResponse2006**](InlineResponse2006.md)
298
+ [**InlineResponse2007**](InlineResponse2007.md)
147
299
 
148
300
  ### Authorization
149
301
 
@@ -157,7 +309,66 @@ Name | Type | Description | Notes
157
309
 
158
310
  ## read
159
311
 
160
- > RepositoryVersionRead read(container_repository_version_href, opts)
312
+ > RepositoryVersion read(container_push_repository_version_href, opts)
313
+
314
+ Inspect a repository version
315
+
316
+ ContainerPushRepositoryVersion represents a single container push repository version.
317
+
318
+ ### Example
319
+
320
+ ```ruby
321
+ # load the gem
322
+ require 'pulp_container_client'
323
+ # setup authorization
324
+ PulpContainerClient.configure do |config|
325
+ # Configure HTTP basic authorization: Basic
326
+ config.username = 'YOUR USERNAME'
327
+ config.password = 'YOUR PASSWORD'
328
+ end
329
+
330
+ api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
331
+ container_push_repository_version_href = 'container_push_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
332
+ opts = {
333
+ fields: 'fields_example', # String | A list of fields to include in the response.
334
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
335
+ }
336
+
337
+ begin
338
+ #Inspect a repository version
339
+ result = api_instance.read(container_push_repository_version_href, opts)
340
+ p result
341
+ rescue PulpContainerClient::ApiError => e
342
+ puts "Exception when calling RepositoriesContainerVersionsApi->read: #{e}"
343
+ end
344
+ ```
345
+
346
+ ### Parameters
347
+
348
+
349
+ Name | Type | Description | Notes
350
+ ------------- | ------------- | ------------- | -------------
351
+ **container_push_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/ |
352
+ **fields** | **String**| A list of fields to include in the response. | [optional]
353
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
354
+
355
+ ### Return type
356
+
357
+ [**RepositoryVersion**](RepositoryVersion.md)
358
+
359
+ ### Authorization
360
+
361
+ [Basic](../README.md#Basic)
362
+
363
+ ### HTTP request headers
364
+
365
+ - **Content-Type**: Not defined
366
+ - **Accept**: application/json
367
+
368
+
369
+ ## read_0
370
+
371
+ > RepositoryVersion read_0(container_repository_version_href, opts)
161
372
 
162
373
  Inspect a repository version
163
374
 
@@ -184,10 +395,10 @@ opts = {
184
395
 
185
396
  begin
186
397
  #Inspect a repository version
187
- result = api_instance.read(container_repository_version_href, opts)
398
+ result = api_instance.read_0(container_repository_version_href, opts)
188
399
  p result
189
400
  rescue PulpContainerClient::ApiError => e
190
- puts "Exception when calling RepositoriesContainerVersionsApi->read: #{e}"
401
+ puts "Exception when calling RepositoriesContainerVersionsApi->read_0: #{e}"
191
402
  end
192
403
  ```
193
404
 
@@ -202,7 +413,7 @@ Name | Type | Description | Notes
202
413
 
203
414
  ### Return type
204
415
 
205
- [**RepositoryVersionRead**](RepositoryVersionRead.md)
416
+ [**RepositoryVersion**](RepositoryVersion.md)
206
417
 
207
418
  ### Authorization
208
419
 
@@ -216,7 +427,7 @@ Name | Type | Description | Notes
216
427
 
217
428
  ## repair
218
429
 
219
- > AsyncOperationResponse repair(container_repository_version_href, data)
430
+ > AsyncOperationResponse repair(container_push_repository_version_href, data)
220
431
 
221
432
 
222
433
 
@@ -235,11 +446,11 @@ PulpContainerClient.configure do |config|
235
446
  end
236
447
 
237
448
  api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
238
- container_repository_version_href = 'container_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
449
+ container_push_repository_version_href = 'container_push_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
239
450
  data = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
240
451
 
241
452
  begin
242
- result = api_instance.repair(container_repository_version_href, data)
453
+ result = api_instance.repair(container_push_repository_version_href, data)
243
454
  p result
244
455
  rescue PulpContainerClient::ApiError => e
245
456
  puts "Exception when calling RepositoriesContainerVersionsApi->repair: #{e}"
@@ -249,6 +460,60 @@ end
249
460
  ### Parameters
250
461
 
251
462
 
463
+ Name | Type | Description | Notes
464
+ ------------- | ------------- | ------------- | -------------
465
+ **container_push_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/ |
466
+ **data** | [**RepositoryVersion**](RepositoryVersion.md)| |
467
+
468
+ ### Return type
469
+
470
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
471
+
472
+ ### Authorization
473
+
474
+ [Basic](../README.md#Basic)
475
+
476
+ ### HTTP request headers
477
+
478
+ - **Content-Type**: application/json
479
+ - **Accept**: application/json
480
+
481
+
482
+ ## repair_0
483
+
484
+ > AsyncOperationResponse repair_0(container_repository_version_href, data)
485
+
486
+
487
+
488
+ Trigger an asynchronous task to repair a repositroy version.
489
+
490
+ ### Example
491
+
492
+ ```ruby
493
+ # load the gem
494
+ require 'pulp_container_client'
495
+ # setup authorization
496
+ PulpContainerClient.configure do |config|
497
+ # Configure HTTP basic authorization: Basic
498
+ config.username = 'YOUR USERNAME'
499
+ config.password = 'YOUR PASSWORD'
500
+ end
501
+
502
+ api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
503
+ container_repository_version_href = 'container_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
504
+ data = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
505
+
506
+ begin
507
+ result = api_instance.repair_0(container_repository_version_href, data)
508
+ p result
509
+ rescue PulpContainerClient::ApiError => e
510
+ puts "Exception when calling RepositoriesContainerVersionsApi->repair_0: #{e}"
511
+ end
512
+ ```
513
+
514
+ ### Parameters
515
+
516
+
252
517
  Name | Type | Description | Notes
253
518
  ------------- | ------------- | ------------- | -------------
254
519
  **container_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/ |
@@ -1,10 +1,10 @@
1
- # PulpContainerClient::V2Api
1
+ # PulpContainerClient::TokenApi
2
2
 
3
3
  All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**list**](V2Api.md#list) | **GET** /v2/ |
7
+ [**list**](TokenApi.md#list) | **GET** /token/ |
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ Method | HTTP request | Description
14
14
 
15
15
 
16
16
 
17
- Handles GET requests for the /v2/ endpoint.
17
+ Handles GET requests for the /token/ endpoint.
18
18
 
19
19
  ### Example
20
20
 
@@ -28,7 +28,7 @@ PulpContainerClient.configure do |config|
28
28
  config.password = 'YOUR PASSWORD'
29
29
  end
30
30
 
31
- api_instance = PulpContainerClient::V2Api.new
31
+ api_instance = PulpContainerClient::TokenApi.new
32
32
  opts = {
33
33
  fields: 'fields_example', # String | A list of fields to include in the response.
34
34
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -37,7 +37,7 @@ opts = {
37
37
  begin
38
38
  api_instance.list(opts)
39
39
  rescue PulpContainerClient::ApiError => e
40
- puts "Exception when calling V2Api->list: #{e}"
40
+ puts "Exception when calling TokenApi->list: #{e}"
41
41
  end
42
42
  ```
43
43