pulp_python_client 3.13.6 → 3.14.0

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