pulpcore_client 3.73.1 → 3.74.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.
- checksums.yaml +4 -4
- data/README.md +12 -4
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/ContentOpenpgpPublicsubkeyApi.md +146 -0
- data/docs/ContentOpenpgpSignatureApi.md +146 -0
- data/docs/ContentOpenpgpUserattributeApi.md +146 -0
- data/docs/ContentOpenpgpUseridApi.md +146 -0
- data/docs/DistributionsApi.md +4 -2
- data/docs/DistributionsArtifactsApi.md +4 -2
- data/docs/DistributionsOpenpgpApi.md +2 -2
- data/docs/PublicationsApi.md +4 -2
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +148 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +148 -0
- data/lib/pulpcore_client/api/distributions_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +6 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +66 -66
- data/lib/pulpcore_client/models/orphans_cleanup.rb +24 -0
- data/lib/pulpcore_client/models/unset_label.rb +1 -1
- data/lib/pulpcore_client/models/unset_label_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +26 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +26 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +26 -0
- data/spec/api/distributions_api_spec.rb +2 -1
- data/spec/api/distributions_artifacts_api_spec.rb +2 -1
- data/spec/api/distributions_openpgp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +2 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +2 -2
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentOpenpgpUseridApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_userid/ | List open pgp user ids |
|
8
8
|
| [**read**](ContentOpenpgpUseridApi.md#read) | **GET** {open_p_g_p_user_i_d_href} | Inspect an open pgp user id |
|
9
|
+
| [**set_label**](ContentOpenpgpUseridApi.md#set_label) | **POST** {open_p_g_p_user_i_d_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentOpenpgpUseridApi.md#unset_label) | **POST** {open_p_g_p_user_i_d_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -199,3 +201,147 @@ end
|
|
199
201
|
- **Content-Type**: Not defined
|
200
202
|
- **Accept**: application/json
|
201
203
|
|
204
|
+
|
205
|
+
## set_label
|
206
|
+
|
207
|
+
> <SetLabelResponse> set_label(open_p_g_p_user_i_d_href, set_label)
|
208
|
+
|
209
|
+
Set a label
|
210
|
+
|
211
|
+
Set a single pulp_label on the object to a specific value or null.
|
212
|
+
|
213
|
+
### Examples
|
214
|
+
|
215
|
+
```ruby
|
216
|
+
require 'time'
|
217
|
+
require 'pulpcore_client'
|
218
|
+
# setup authorization
|
219
|
+
PulpcoreClient.configure do |config|
|
220
|
+
# Configure HTTP basic authorization: basicAuth
|
221
|
+
config.username = 'YOUR USERNAME'
|
222
|
+
config.password = 'YOUR PASSWORD'
|
223
|
+
end
|
224
|
+
|
225
|
+
api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
|
226
|
+
open_p_g_p_user_i_d_href = 'open_p_g_p_user_i_d_href_example' # String |
|
227
|
+
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
228
|
+
|
229
|
+
begin
|
230
|
+
# Set a label
|
231
|
+
result = api_instance.set_label(open_p_g_p_user_i_d_href, set_label)
|
232
|
+
p result
|
233
|
+
rescue PulpcoreClient::ApiError => e
|
234
|
+
puts "Error when calling ContentOpenpgpUseridApi->set_label: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
#### Using the set_label_with_http_info variant
|
239
|
+
|
240
|
+
This returns an Array which contains the response data, status code and headers.
|
241
|
+
|
242
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_user_i_d_href, set_label)
|
243
|
+
|
244
|
+
```ruby
|
245
|
+
begin
|
246
|
+
# Set a label
|
247
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_user_i_d_href, set_label)
|
248
|
+
p status_code # => 2xx
|
249
|
+
p headers # => { ... }
|
250
|
+
p data # => <SetLabelResponse>
|
251
|
+
rescue PulpcoreClient::ApiError => e
|
252
|
+
puts "Error when calling ContentOpenpgpUseridApi->set_label_with_http_info: #{e}"
|
253
|
+
end
|
254
|
+
```
|
255
|
+
|
256
|
+
### Parameters
|
257
|
+
|
258
|
+
| Name | Type | Description | Notes |
|
259
|
+
| ---- | ---- | ----------- | ----- |
|
260
|
+
| **open_p_g_p_user_i_d_href** | **String** | | |
|
261
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
262
|
+
|
263
|
+
### Return type
|
264
|
+
|
265
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
266
|
+
|
267
|
+
### Authorization
|
268
|
+
|
269
|
+
[basicAuth](../README.md#basicAuth)
|
270
|
+
|
271
|
+
### HTTP request headers
|
272
|
+
|
273
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
274
|
+
- **Accept**: application/json
|
275
|
+
|
276
|
+
|
277
|
+
## unset_label
|
278
|
+
|
279
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_user_i_d_href, unset_label)
|
280
|
+
|
281
|
+
Unset a label
|
282
|
+
|
283
|
+
Unset a single pulp_label on the object.
|
284
|
+
|
285
|
+
### Examples
|
286
|
+
|
287
|
+
```ruby
|
288
|
+
require 'time'
|
289
|
+
require 'pulpcore_client'
|
290
|
+
# setup authorization
|
291
|
+
PulpcoreClient.configure do |config|
|
292
|
+
# Configure HTTP basic authorization: basicAuth
|
293
|
+
config.username = 'YOUR USERNAME'
|
294
|
+
config.password = 'YOUR PASSWORD'
|
295
|
+
end
|
296
|
+
|
297
|
+
api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
|
298
|
+
open_p_g_p_user_i_d_href = 'open_p_g_p_user_i_d_href_example' # String |
|
299
|
+
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
300
|
+
|
301
|
+
begin
|
302
|
+
# Unset a label
|
303
|
+
result = api_instance.unset_label(open_p_g_p_user_i_d_href, unset_label)
|
304
|
+
p result
|
305
|
+
rescue PulpcoreClient::ApiError => e
|
306
|
+
puts "Error when calling ContentOpenpgpUseridApi->unset_label: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
#### Using the unset_label_with_http_info variant
|
311
|
+
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
313
|
+
|
314
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
# Unset a label
|
319
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <UnsetLabelResponse>
|
323
|
+
rescue PulpcoreClient::ApiError => e
|
324
|
+
puts "Error when calling ContentOpenpgpUseridApi->unset_label_with_http_info: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
| **open_p_g_p_user_i_d_href** | **String** | | |
|
333
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
334
|
+
|
335
|
+
### Return type
|
336
|
+
|
337
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
338
|
+
|
339
|
+
### Authorization
|
340
|
+
|
341
|
+
[basicAuth](../README.md#basicAuth)
|
342
|
+
|
343
|
+
### HTTP request headers
|
344
|
+
|
345
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
346
|
+
- **Accept**: application/json
|
347
|
+
|
data/docs/DistributionsApi.md
CHANGED
@@ -33,6 +33,7 @@ opts = {
|
|
33
33
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
34
34
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
35
35
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
36
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
37
38
|
name: 'name_example', # String | Filter results where name matches value
|
38
39
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -44,7 +45,7 @@ opts = {
|
|
44
45
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
45
46
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
46
47
|
offset: 56, # Integer | The initial index from which to return the results.
|
47
|
-
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
48
|
+
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
48
49
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
49
50
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
50
51
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -94,6 +95,7 @@ end
|
|
94
95
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
95
96
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
96
97
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
98
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
97
99
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
98
100
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
99
101
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -105,7 +107,7 @@ end
|
|
105
107
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
106
108
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
107
109
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
108
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
110
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
109
111
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
110
112
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
111
113
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -34,6 +34,7 @@ opts = {
|
|
34
34
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
35
35
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
36
36
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
37
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
37
38
|
limit: 56, # Integer | Number of results to return per page.
|
38
39
|
name: 'name_example', # String | Filter results where name matches value
|
39
40
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -45,7 +46,7 @@ opts = {
|
|
45
46
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
46
47
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
47
48
|
offset: 56, # Integer | The initial index from which to return the results.
|
48
|
-
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
49
|
+
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
49
50
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
50
51
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
51
52
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -93,6 +94,7 @@ end
|
|
93
94
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
94
95
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
95
96
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
97
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
96
98
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
97
99
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
98
100
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -104,7 +106,7 @@ end
|
|
104
106
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
105
107
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
106
108
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
107
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
109
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
108
110
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
109
111
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
110
112
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -178,7 +178,7 @@ api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
|
178
178
|
opts = {
|
179
179
|
limit: 56, # Integer | Number of results to return per page.
|
180
180
|
offset: 56, # Integer | The initial index from which to return the results.
|
181
|
-
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
181
|
+
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
182
182
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
183
183
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
184
184
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -223,7 +223,7 @@ end
|
|
223
223
|
| ---- | ---- | ----------- | ----- |
|
224
224
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
225
225
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
226
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
226
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
227
227
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
228
228
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
229
229
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
data/docs/PublicationsApi.md
CHANGED
@@ -29,11 +29,12 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpcoreClient::PublicationsApi.new
|
31
31
|
opts = {
|
32
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
32
33
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
33
34
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
34
35
|
limit: 56, # Integer | Number of results to return per page.
|
35
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['-
|
37
|
+
ordering: ['-checkpoint'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
38
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
38
39
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
39
40
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -84,11 +85,12 @@ end
|
|
84
85
|
|
85
86
|
| Name | Type | Description | Notes |
|
86
87
|
| ---- | ---- | ----------- | ----- |
|
88
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
87
89
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
88
90
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
89
91
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
90
92
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
91
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
93
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
92
94
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
93
95
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
94
96
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -193,5 +193,153 @@ module PulpcoreClient
|
|
193
193
|
end
|
194
194
|
return data, status_code, headers
|
195
195
|
end
|
196
|
+
|
197
|
+
# Set a label
|
198
|
+
# Set a single pulp_label on the object to a specific value or null.
|
199
|
+
# @param open_p_g_p_public_subkey_href [String]
|
200
|
+
# @param set_label [SetLabel]
|
201
|
+
# @param [Hash] opts the optional parameters
|
202
|
+
# @return [SetLabelResponse]
|
203
|
+
def set_label(open_p_g_p_public_subkey_href, set_label, opts = {})
|
204
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts)
|
205
|
+
data
|
206
|
+
end
|
207
|
+
|
208
|
+
# Set a label
|
209
|
+
# Set a single pulp_label on the object to a specific value or null.
|
210
|
+
# @param open_p_g_p_public_subkey_href [String]
|
211
|
+
# @param set_label [SetLabel]
|
212
|
+
# @param [Hash] opts the optional parameters
|
213
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
214
|
+
def set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts = {})
|
215
|
+
if @api_client.config.debugging
|
216
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublicsubkeyApi.set_label ...'
|
217
|
+
end
|
218
|
+
# verify the required parameter 'open_p_g_p_public_subkey_href' is set
|
219
|
+
if @api_client.config.client_side_validation && open_p_g_p_public_subkey_href.nil?
|
220
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_public_subkey_href' when calling ContentOpenpgpPublicsubkeyApi.set_label"
|
221
|
+
end
|
222
|
+
# verify the required parameter 'set_label' is set
|
223
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
224
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentOpenpgpPublicsubkeyApi.set_label"
|
225
|
+
end
|
226
|
+
# resource path
|
227
|
+
local_var_path = '{open_p_g_p_public_subkey_href}set_label/'.sub('{' + 'open_p_g_p_public_subkey_href' + '}', CGI.escape(open_p_g_p_public_subkey_href.to_s).gsub('%2F', '/'))
|
228
|
+
|
229
|
+
# query parameters
|
230
|
+
query_params = opts[:query_params] || {}
|
231
|
+
|
232
|
+
# header parameters
|
233
|
+
header_params = opts[:header_params] || {}
|
234
|
+
# HTTP header 'Accept' (if needed)
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
236
|
+
# HTTP header 'Content-Type'
|
237
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
238
|
+
if !content_type.nil?
|
239
|
+
header_params['Content-Type'] = content_type
|
240
|
+
end
|
241
|
+
|
242
|
+
# form parameters
|
243
|
+
form_params = opts[:form_params] || {}
|
244
|
+
|
245
|
+
# http body (model)
|
246
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
247
|
+
|
248
|
+
# return_type
|
249
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
250
|
+
|
251
|
+
# auth_names
|
252
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
253
|
+
|
254
|
+
new_options = opts.merge(
|
255
|
+
:operation => :"ContentOpenpgpPublicsubkeyApi.set_label",
|
256
|
+
:header_params => header_params,
|
257
|
+
:query_params => query_params,
|
258
|
+
:form_params => form_params,
|
259
|
+
:body => post_body,
|
260
|
+
:auth_names => auth_names,
|
261
|
+
:return_type => return_type
|
262
|
+
)
|
263
|
+
|
264
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
265
|
+
if @api_client.config.debugging
|
266
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpPublicsubkeyApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
267
|
+
end
|
268
|
+
return data, status_code, headers
|
269
|
+
end
|
270
|
+
|
271
|
+
# Unset a label
|
272
|
+
# Unset a single pulp_label on the object.
|
273
|
+
# @param open_p_g_p_public_subkey_href [String]
|
274
|
+
# @param unset_label [UnsetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [UnsetLabelResponse]
|
277
|
+
def unset_label(open_p_g_p_public_subkey_href, unset_label, opts = {})
|
278
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Unset a label
|
283
|
+
# Unset a single pulp_label on the object.
|
284
|
+
# @param open_p_g_p_public_subkey_href [String]
|
285
|
+
# @param unset_label [UnsetLabel]
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
288
|
+
def unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublicsubkeyApi.unset_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'open_p_g_p_public_subkey_href' is set
|
293
|
+
if @api_client.config.client_side_validation && open_p_g_p_public_subkey_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_public_subkey_href' when calling ContentOpenpgpPublicsubkeyApi.unset_label"
|
295
|
+
end
|
296
|
+
# verify the required parameter 'unset_label' is set
|
297
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentOpenpgpPublicsubkeyApi.unset_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{open_p_g_p_public_subkey_href}unset_label/'.sub('{' + 'open_p_g_p_public_subkey_href' + '}', CGI.escape(open_p_g_p_public_subkey_href.to_s).gsub('%2F', '/'))
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = opts[:query_params] || {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = opts[:header_params] || {}
|
308
|
+
# HTTP header 'Accept' (if needed)
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
310
|
+
# HTTP header 'Content-Type'
|
311
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
312
|
+
if !content_type.nil?
|
313
|
+
header_params['Content-Type'] = content_type
|
314
|
+
end
|
315
|
+
|
316
|
+
# form parameters
|
317
|
+
form_params = opts[:form_params] || {}
|
318
|
+
|
319
|
+
# http body (model)
|
320
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
321
|
+
|
322
|
+
# return_type
|
323
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
324
|
+
|
325
|
+
# auth_names
|
326
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
327
|
+
|
328
|
+
new_options = opts.merge(
|
329
|
+
:operation => :"ContentOpenpgpPublicsubkeyApi.unset_label",
|
330
|
+
:header_params => header_params,
|
331
|
+
:query_params => query_params,
|
332
|
+
:form_params => form_params,
|
333
|
+
:body => post_body,
|
334
|
+
:auth_names => auth_names,
|
335
|
+
:return_type => return_type
|
336
|
+
)
|
337
|
+
|
338
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpPublicsubkeyApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
196
344
|
end
|
197
345
|
end
|
@@ -193,5 +193,153 @@ module PulpcoreClient
|
|
193
193
|
end
|
194
194
|
return data, status_code, headers
|
195
195
|
end
|
196
|
+
|
197
|
+
# Set a label
|
198
|
+
# Set a single pulp_label on the object to a specific value or null.
|
199
|
+
# @param open_p_g_p_signature_href [String]
|
200
|
+
# @param set_label [SetLabel]
|
201
|
+
# @param [Hash] opts the optional parameters
|
202
|
+
# @return [SetLabelResponse]
|
203
|
+
def set_label(open_p_g_p_signature_href, set_label, opts = {})
|
204
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_signature_href, set_label, opts)
|
205
|
+
data
|
206
|
+
end
|
207
|
+
|
208
|
+
# Set a label
|
209
|
+
# Set a single pulp_label on the object to a specific value or null.
|
210
|
+
# @param open_p_g_p_signature_href [String]
|
211
|
+
# @param set_label [SetLabel]
|
212
|
+
# @param [Hash] opts the optional parameters
|
213
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
214
|
+
def set_label_with_http_info(open_p_g_p_signature_href, set_label, opts = {})
|
215
|
+
if @api_client.config.debugging
|
216
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpSignatureApi.set_label ...'
|
217
|
+
end
|
218
|
+
# verify the required parameter 'open_p_g_p_signature_href' is set
|
219
|
+
if @api_client.config.client_side_validation && open_p_g_p_signature_href.nil?
|
220
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_signature_href' when calling ContentOpenpgpSignatureApi.set_label"
|
221
|
+
end
|
222
|
+
# verify the required parameter 'set_label' is set
|
223
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
224
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentOpenpgpSignatureApi.set_label"
|
225
|
+
end
|
226
|
+
# resource path
|
227
|
+
local_var_path = '{open_p_g_p_signature_href}set_label/'.sub('{' + 'open_p_g_p_signature_href' + '}', CGI.escape(open_p_g_p_signature_href.to_s).gsub('%2F', '/'))
|
228
|
+
|
229
|
+
# query parameters
|
230
|
+
query_params = opts[:query_params] || {}
|
231
|
+
|
232
|
+
# header parameters
|
233
|
+
header_params = opts[:header_params] || {}
|
234
|
+
# HTTP header 'Accept' (if needed)
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
236
|
+
# HTTP header 'Content-Type'
|
237
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
238
|
+
if !content_type.nil?
|
239
|
+
header_params['Content-Type'] = content_type
|
240
|
+
end
|
241
|
+
|
242
|
+
# form parameters
|
243
|
+
form_params = opts[:form_params] || {}
|
244
|
+
|
245
|
+
# http body (model)
|
246
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
247
|
+
|
248
|
+
# return_type
|
249
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
250
|
+
|
251
|
+
# auth_names
|
252
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
253
|
+
|
254
|
+
new_options = opts.merge(
|
255
|
+
:operation => :"ContentOpenpgpSignatureApi.set_label",
|
256
|
+
:header_params => header_params,
|
257
|
+
:query_params => query_params,
|
258
|
+
:form_params => form_params,
|
259
|
+
:body => post_body,
|
260
|
+
:auth_names => auth_names,
|
261
|
+
:return_type => return_type
|
262
|
+
)
|
263
|
+
|
264
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
265
|
+
if @api_client.config.debugging
|
266
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpSignatureApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
267
|
+
end
|
268
|
+
return data, status_code, headers
|
269
|
+
end
|
270
|
+
|
271
|
+
# Unset a label
|
272
|
+
# Unset a single pulp_label on the object.
|
273
|
+
# @param open_p_g_p_signature_href [String]
|
274
|
+
# @param unset_label [UnsetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [UnsetLabelResponse]
|
277
|
+
def unset_label(open_p_g_p_signature_href, unset_label, opts = {})
|
278
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_signature_href, unset_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Unset a label
|
283
|
+
# Unset a single pulp_label on the object.
|
284
|
+
# @param open_p_g_p_signature_href [String]
|
285
|
+
# @param unset_label [UnsetLabel]
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
288
|
+
def unset_label_with_http_info(open_p_g_p_signature_href, unset_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpSignatureApi.unset_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'open_p_g_p_signature_href' is set
|
293
|
+
if @api_client.config.client_side_validation && open_p_g_p_signature_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_signature_href' when calling ContentOpenpgpSignatureApi.unset_label"
|
295
|
+
end
|
296
|
+
# verify the required parameter 'unset_label' is set
|
297
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentOpenpgpSignatureApi.unset_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{open_p_g_p_signature_href}unset_label/'.sub('{' + 'open_p_g_p_signature_href' + '}', CGI.escape(open_p_g_p_signature_href.to_s).gsub('%2F', '/'))
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = opts[:query_params] || {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = opts[:header_params] || {}
|
308
|
+
# HTTP header 'Accept' (if needed)
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
310
|
+
# HTTP header 'Content-Type'
|
311
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
312
|
+
if !content_type.nil?
|
313
|
+
header_params['Content-Type'] = content_type
|
314
|
+
end
|
315
|
+
|
316
|
+
# form parameters
|
317
|
+
form_params = opts[:form_params] || {}
|
318
|
+
|
319
|
+
# http body (model)
|
320
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
321
|
+
|
322
|
+
# return_type
|
323
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
324
|
+
|
325
|
+
# auth_names
|
326
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
327
|
+
|
328
|
+
new_options = opts.merge(
|
329
|
+
:operation => :"ContentOpenpgpSignatureApi.unset_label",
|
330
|
+
:header_params => header_params,
|
331
|
+
:query_params => query_params,
|
332
|
+
:form_params => form_params,
|
333
|
+
:body => post_body,
|
334
|
+
:auth_names => auth_names,
|
335
|
+
:return_type => return_type
|
336
|
+
)
|
337
|
+
|
338
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpSignatureApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
196
344
|
end
|
197
345
|
end
|