pulp_python_client 3.13.5 → 3.13.6

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentPackagesApi.md +22 -8
  4. data/docs/DistributionsPypiApi.md +72 -32
  5. data/docs/PublicationsPypiApi.md +40 -16
  6. data/docs/PypiApi.md +2 -0
  7. data/docs/PypiLegacyApi.md +2 -0
  8. data/docs/PypiMetadataApi.md +2 -0
  9. data/docs/PypiSimpleApi.md +6 -0
  10. data/docs/RemotesPythonApi.md +74 -32
  11. data/docs/RepositoriesPythonApi.md +88 -40
  12. data/docs/RepositoriesPythonVersionsApi.md +22 -10
  13. data/lib/pulp_python_client/api/content_packages_api.rb +15 -0
  14. data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
  15. data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
  16. data/lib/pulp_python_client/api/pypi_api.rb +3 -0
  17. data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
  18. data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
  19. data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
  20. data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
  21. data/lib/pulp_python_client/api/repositories_python_api.rb +42 -0
  22. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
  23. data/lib/pulp_python_client/version.rb +1 -1
  24. data/spec/api/content_packages_api_spec.rb +5 -0
  25. data/spec/api/distributions_pypi_api_spec.rb +12 -0
  26. data/spec/api/publications_pypi_api_spec.rb +8 -0
  27. data/spec/api/pypi_api_spec.rb +1 -0
  28. data/spec/api/pypi_legacy_api_spec.rb +1 -0
  29. data/spec/api/pypi_metadata_api_spec.rb +1 -0
  30. data/spec/api/pypi_simple_api_spec.rb +3 -0
  31. data/spec/api/remotes_python_api_spec.rb +13 -0
  32. data/spec/api/repositories_python_api_spec.rb +14 -0
  33. data/spec/api/repositories_python_versions_api_spec.rb +5 -1
  34. metadata +38 -38
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
16
16
 
17
17
  ## add_role
18
18
 
19
- > <NestedRoleResponse> add_role(python_python_publication_href, nested_role)
19
+ > <NestedRoleResponse> add_role(python_python_publication_href, nested_role, opts)
20
20
 
21
21
  Add a role
22
22
 
@@ -37,10 +37,13 @@ end
37
37
  api_instance = PulpPythonClient::PublicationsPypiApi.new
38
38
  python_python_publication_href = 'python_python_publication_href_example' # String |
39
39
  nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
40
+ opts = {
41
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
42
+ }
40
43
 
41
44
  begin
42
45
  # Add a role
43
- result = api_instance.add_role(python_python_publication_href, nested_role)
46
+ result = api_instance.add_role(python_python_publication_href, nested_role, opts)
44
47
  p result
45
48
  rescue PulpPythonClient::ApiError => e
46
49
  puts "Error when calling PublicationsPypiApi->add_role: #{e}"
@@ -51,12 +54,12 @@ end
51
54
 
52
55
  This returns an Array which contains the response data, status code and headers.
53
56
 
54
- > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_publication_href, nested_role)
57
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_publication_href, nested_role, opts)
55
58
 
56
59
  ```ruby
57
60
  begin
58
61
  # Add a role
59
- data, status_code, headers = api_instance.add_role_with_http_info(python_python_publication_href, nested_role)
62
+ data, status_code, headers = api_instance.add_role_with_http_info(python_python_publication_href, nested_role, opts)
60
63
  p status_code # => 2xx
61
64
  p headers # => { ... }
62
65
  p data # => <NestedRoleResponse>
@@ -71,6 +74,7 @@ end
71
74
  | ---- | ---- | ----------- | ----- |
72
75
  | **python_python_publication_href** | **String** | | |
73
76
  | **nested_role** | [**NestedRole**](NestedRole.md) | | |
77
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
74
78
 
75
79
  ### Return type
76
80
 
@@ -88,7 +92,7 @@ end
88
92
 
89
93
  ## create
90
94
 
91
- > <AsyncOperationResponse> create(python_python_publication)
95
+ > <AsyncOperationResponse> create(python_python_publication, opts)
92
96
 
93
97
  Create a python publication
94
98
 
@@ -108,10 +112,13 @@ end
108
112
 
109
113
  api_instance = PulpPythonClient::PublicationsPypiApi.new
110
114
  python_python_publication = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
115
+ opts = {
116
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
117
+ }
111
118
 
112
119
  begin
113
120
  # Create a python publication
114
- result = api_instance.create(python_python_publication)
121
+ result = api_instance.create(python_python_publication, opts)
115
122
  p result
116
123
  rescue PulpPythonClient::ApiError => e
117
124
  puts "Error when calling PublicationsPypiApi->create: #{e}"
@@ -122,12 +129,12 @@ end
122
129
 
123
130
  This returns an Array which contains the response data, status code and headers.
124
131
 
125
- > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(python_python_publication)
132
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(python_python_publication, opts)
126
133
 
127
134
  ```ruby
128
135
  begin
129
136
  # Create a python publication
130
- data, status_code, headers = api_instance.create_with_http_info(python_python_publication)
137
+ data, status_code, headers = api_instance.create_with_http_info(python_python_publication, opts)
131
138
  p status_code # => 2xx
132
139
  p headers # => { ... }
133
140
  p data # => <AsyncOperationResponse>
@@ -141,6 +148,7 @@ end
141
148
  | Name | Type | Description | Notes |
142
149
  | ---- | ---- | ----------- | ----- |
143
150
  | **python_python_publication** | [**PythonPythonPublication**](PythonPythonPublication.md) | | |
151
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
144
152
 
145
153
  ### Return type
146
154
 
@@ -158,7 +166,7 @@ end
158
166
 
159
167
  ## delete
160
168
 
161
- > delete(python_python_publication_href)
169
+ > delete(python_python_publication_href, opts)
162
170
 
163
171
  Delete a python publication
164
172
 
@@ -178,10 +186,13 @@ end
178
186
 
179
187
  api_instance = PulpPythonClient::PublicationsPypiApi.new
180
188
  python_python_publication_href = 'python_python_publication_href_example' # String |
189
+ opts = {
190
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
191
+ }
181
192
 
182
193
  begin
183
194
  # Delete a python publication
184
- api_instance.delete(python_python_publication_href)
195
+ api_instance.delete(python_python_publication_href, opts)
185
196
  rescue PulpPythonClient::ApiError => e
186
197
  puts "Error when calling PublicationsPypiApi->delete: #{e}"
187
198
  end
@@ -191,12 +202,12 @@ end
191
202
 
192
203
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
193
204
 
194
- > <Array(nil, Integer, Hash)> delete_with_http_info(python_python_publication_href)
205
+ > <Array(nil, Integer, Hash)> delete_with_http_info(python_python_publication_href, opts)
195
206
 
196
207
  ```ruby
197
208
  begin
198
209
  # Delete a python publication
199
- data, status_code, headers = api_instance.delete_with_http_info(python_python_publication_href)
210
+ data, status_code, headers = api_instance.delete_with_http_info(python_python_publication_href, opts)
200
211
  p status_code # => 2xx
201
212
  p headers # => { ... }
202
213
  p data # => nil
@@ -210,6 +221,7 @@ end
210
221
  | Name | Type | Description | Notes |
211
222
  | ---- | ---- | ----------- | ----- |
212
223
  | **python_python_publication_href** | **String** | | |
224
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
213
225
 
214
226
  ### Return type
215
227
 
@@ -247,6 +259,7 @@ end
247
259
 
248
260
  api_instance = PulpPythonClient::PublicationsPypiApi.new
249
261
  opts = {
262
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
250
263
  checkpoint: true, # Boolean | Filter results where checkpoint matches value
251
264
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
252
265
  content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -301,6 +314,7 @@ end
301
314
 
302
315
  | Name | Type | Description | Notes |
303
316
  | ---- | ---- | ----------- | ----- |
317
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
304
318
  | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
305
319
  | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
306
320
  | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -360,6 +374,7 @@ end
360
374
  api_instance = PulpPythonClient::PublicationsPypiApi.new
361
375
  python_python_publication_href = 'python_python_publication_href_example' # String |
362
376
  opts = {
377
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
363
378
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
364
379
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
365
380
  }
@@ -396,6 +411,7 @@ end
396
411
  | Name | Type | Description | Notes |
397
412
  | ---- | ---- | ----------- | ----- |
398
413
  | **python_python_publication_href** | **String** | | |
414
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
399
415
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
400
416
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
401
417
 
@@ -436,6 +452,7 @@ end
436
452
  api_instance = PulpPythonClient::PublicationsPypiApi.new
437
453
  python_python_publication_href = 'python_python_publication_href_example' # String |
438
454
  opts = {
455
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
439
456
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
440
457
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
441
458
  }
@@ -472,6 +489,7 @@ end
472
489
  | Name | Type | Description | Notes |
473
490
  | ---- | ---- | ----------- | ----- |
474
491
  | **python_python_publication_href** | **String** | | |
492
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
475
493
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
476
494
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
477
495
 
@@ -512,6 +530,7 @@ end
512
530
  api_instance = PulpPythonClient::PublicationsPypiApi.new
513
531
  python_python_publication_href = 'python_python_publication_href_example' # String |
514
532
  opts = {
533
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
515
534
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
516
535
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
517
536
  }
@@ -548,6 +567,7 @@ end
548
567
  | Name | Type | Description | Notes |
549
568
  | ---- | ---- | ----------- | ----- |
550
569
  | **python_python_publication_href** | **String** | | |
570
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
551
571
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
552
572
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
553
573
 
@@ -567,7 +587,7 @@ end
567
587
 
568
588
  ## remove_role
569
589
 
570
- > <NestedRoleResponse> remove_role(python_python_publication_href, nested_role)
590
+ > <NestedRoleResponse> remove_role(python_python_publication_href, nested_role, opts)
571
591
 
572
592
  Remove a role
573
593
 
@@ -588,10 +608,13 @@ end
588
608
  api_instance = PulpPythonClient::PublicationsPypiApi.new
589
609
  python_python_publication_href = 'python_python_publication_href_example' # String |
590
610
  nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
611
+ opts = {
612
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
613
+ }
591
614
 
592
615
  begin
593
616
  # Remove a role
594
- result = api_instance.remove_role(python_python_publication_href, nested_role)
617
+ result = api_instance.remove_role(python_python_publication_href, nested_role, opts)
595
618
  p result
596
619
  rescue PulpPythonClient::ApiError => e
597
620
  puts "Error when calling PublicationsPypiApi->remove_role: #{e}"
@@ -602,12 +625,12 @@ end
602
625
 
603
626
  This returns an Array which contains the response data, status code and headers.
604
627
 
605
- > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_publication_href, nested_role)
628
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_publication_href, nested_role, opts)
606
629
 
607
630
  ```ruby
608
631
  begin
609
632
  # Remove a role
610
- data, status_code, headers = api_instance.remove_role_with_http_info(python_python_publication_href, nested_role)
633
+ data, status_code, headers = api_instance.remove_role_with_http_info(python_python_publication_href, nested_role, opts)
611
634
  p status_code # => 2xx
612
635
  p headers # => { ... }
613
636
  p data # => <NestedRoleResponse>
@@ -622,6 +645,7 @@ end
622
645
  | ---- | ---- | ----------- | ----- |
623
646
  | **python_python_publication_href** | **String** | | |
624
647
  | **nested_role** | [**NestedRole**](NestedRole.md) | | |
648
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
625
649
 
626
650
  ### Return type
627
651
 
data/docs/PypiApi.md CHANGED
@@ -30,6 +30,7 @@ end
30
30
  api_instance = PulpPythonClient::PypiApi.new
31
31
  path = 'path_example' # String |
32
32
  opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
34
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
34
35
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
35
36
  }
@@ -66,6 +67,7 @@ end
66
67
  | Name | Type | Description | Notes |
67
68
  | ---- | ---- | ----------- | ----- |
68
69
  | **path** | **String** | | |
70
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
69
71
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
70
72
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
71
73
 
@@ -32,6 +32,7 @@ path = 'path_example' # String |
32
32
  content = File.new('/path/to/some/file') # File | A Python package release file to upload to the index.
33
33
  sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
34
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
36
  action: 'action_example' # String | Defaults to `file_upload`, don't change it or request will fail!
36
37
  }
37
38
 
@@ -69,6 +70,7 @@ end
69
70
  | **path** | **String** | | |
70
71
  | **content** | **File** | A Python package release file to upload to the index. | |
71
72
  | **sha256_digest** | **String** | SHA256 of package to validate upload integrity. | |
73
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
72
74
  | **action** | **String** | Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! | [optional][default to &#39;file_upload&#39;] |
73
75
 
74
76
  ### Return type
@@ -31,6 +31,7 @@ api_instance = PulpPythonClient::PypiMetadataApi.new
31
31
  meta = 'meta_example' # String |
32
32
  path = 'path_example' # String |
33
33
  opts = {
34
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
35
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
35
36
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
36
37
  }
@@ -68,6 +69,7 @@ end
68
69
  | ---- | ---- | ----------- | ----- |
69
70
  | **meta** | **String** | | |
70
71
  | **path** | **String** | | |
72
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
71
73
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
72
74
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
73
75
 
@@ -34,6 +34,7 @@ path = 'path_example' # String |
34
34
  content = File.new('/path/to/some/file') # File | A Python package release file to upload to the index.
35
35
  sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
36
36
  opts = {
37
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
37
38
  action: 'action_example' # String | Defaults to `file_upload`, don't change it or request will fail!
38
39
  }
39
40
 
@@ -71,6 +72,7 @@ end
71
72
  | **path** | **String** | | |
72
73
  | **content** | **File** | A Python package release file to upload to the index. | |
73
74
  | **sha256_digest** | **String** | SHA256 of package to validate upload integrity. | |
75
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
74
76
  | **action** | **String** | Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! | [optional][default to &#39;file_upload&#39;] |
75
77
 
76
78
  ### Return type
@@ -111,6 +113,7 @@ api_instance = PulpPythonClient::PypiSimpleApi.new
111
113
  package = 'package_example' # String |
112
114
  path = 'path_example' # String |
113
115
  opts = {
116
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
114
117
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
115
118
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
116
119
  }
@@ -147,6 +150,7 @@ end
147
150
  | ---- | ---- | ----------- | ----- |
148
151
  | **package** | **String** | | |
149
152
  | **path** | **String** | | |
153
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
150
154
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
151
155
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
152
156
 
@@ -187,6 +191,7 @@ end
187
191
  api_instance = PulpPythonClient::PypiSimpleApi.new
188
192
  path = 'path_example' # String |
189
193
  opts = {
194
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
190
195
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
191
196
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
192
197
  }
@@ -222,6 +227,7 @@ end
222
227
  | Name | Type | Description | Notes |
223
228
  | ---- | ---- | ----------- | ----- |
224
229
  | **path** | **String** | | |
230
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
225
231
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
226
232
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
227
233