pulpcore_client 3.65.0 → 3.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +68 -4
- data/docs/AccessPoliciesApi.md +4 -4
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ContentApi.md +4 -4
- data/docs/ContentOpenpgpPublickeyApi.md +212 -0
- data/docs/ContentOpenpgpPublicsubkeyApi.md +150 -0
- data/docs/ContentOpenpgpSignatureApi.md +150 -0
- data/docs/ContentOpenpgpUserattributeApi.md +150 -0
- data/docs/ContentOpenpgpUseridApi.md +166 -0
- data/docs/DistributionsApi.md +4 -4
- data/docs/DistributionsOpenpgpApi.md +478 -0
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/ImportResponse.md +1 -1
- data/docs/NestedOpenPGPPublicSubkey.md +19 -0
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +21 -0
- data/docs/NestedOpenPGPSignature.md +27 -0
- data/docs/NestedOpenPGPSignatureResponse.md +29 -0
- data/docs/NestedOpenPGPUserAttribute.md +17 -0
- data/docs/NestedOpenPGPUserAttributeResponse.md +19 -0
- data/docs/NestedOpenPGPUserID.md +17 -0
- data/docs/NestedOpenPGPUserIDResponse.md +19 -0
- data/docs/OpenPGPDistribution.md +29 -0
- data/docs/OpenPGPDistributionResponse.md +41 -0
- data/docs/OpenPGPKeyring.md +25 -0
- data/docs/OpenPGPKeyringResponse.md +37 -0
- data/docs/OpenPGPPublicKey.md +23 -0
- data/docs/OpenPGPPublicKeyResponse.md +33 -0
- data/docs/OpenPGPPublicSubkeyResponse.md +31 -0
- data/docs/OpenPGPSignatureResponse.md +39 -0
- data/docs/OpenPGPUserAttributeResponse.md +29 -0
- data/docs/OpenPGPUserIDResponse.md +29 -0
- data/docs/PaginatedOpenPGPDistributionResponseList.md +23 -0
- data/docs/PaginatedOpenPGPKeyringResponseList.md +23 -0
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +23 -0
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +23 -0
- data/docs/PaginatedOpenPGPSignatureResponseList.md +23 -0
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +23 -0
- data/docs/PaginatedOpenPGPUserIDResponseList.md +23 -0
- data/docs/PatchedOpenPGPDistribution.md +29 -0
- data/docs/PatchedOpenPGPKeyring.md +25 -0
- data/docs/PulpExportResponse.md +3 -3
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoriesOpenpgpKeyringApi.md +802 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/TaskResponse.md +1 -1
- data/docs/TasksApi.md +2 -2
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +8 -8
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +266 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +192 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +216 -0
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +592 -0
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +992 -0
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +58 -58
- data/lib/pulpcore_client/models/filesystem_export_response.rb +1 -1
- data/lib/pulpcore_client/models/import_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +254 -0
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +256 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +305 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +290 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +240 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +242 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +231 -0
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +223 -0
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +322 -0
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +343 -0
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +306 -0
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +329 -0
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +253 -0
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +303 -0
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +304 -0
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +338 -0
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +290 -0
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +271 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +247 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +247 -0
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +304 -0
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +297 -0
- data/lib/pulpcore_client/models/pulp_export_response.rb +3 -3
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +232 -0
- data/lib/pulpcore_client/models/set_label.rb +252 -0
- data/lib/pulpcore_client/models/set_label_response.rb +243 -0
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/unset_label.rb +242 -0
- data/lib/pulpcore_client/models/unset_label_response.rb +242 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +39 -0
- data/spec/api/access_policies_api_spec.rb +4 -4
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +89 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +74 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +74 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +74 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +82 -0
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_openpgp_api_spec.rb +148 -0
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +233 -0
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +53 -0
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +47 -0
- data/spec/models/nested_open_pgp_signature_response_spec.rb +77 -0
- data/spec/models/nested_open_pgp_signature_spec.rb +71 -0
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +47 -0
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +41 -0
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +47 -0
- data/spec/models/nested_open_pgp_user_id_spec.rb +41 -0
- data/spec/models/open_pgp_distribution_response_spec.rb +113 -0
- data/spec/models/open_pgp_distribution_spec.rb +77 -0
- data/spec/models/open_pgp_keyring_response_spec.rb +101 -0
- data/spec/models/open_pgp_keyring_spec.rb +65 -0
- data/spec/models/open_pgp_public_key_response_spec.rb +89 -0
- data/spec/models/open_pgp_public_key_spec.rb +59 -0
- data/spec/models/open_pgp_public_subkey_response_spec.rb +83 -0
- data/spec/models/open_pgp_signature_response_spec.rb +107 -0
- data/spec/models/open_pgp_user_attribute_response_spec.rb +77 -0
- data/spec/models/open_pgp_user_id_response_spec.rb +77 -0
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +59 -0
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +59 -0
- data/spec/models/patched_open_pgp_distribution_spec.rb +77 -0
- data/spec/models/patched_open_pgp_keyring_spec.rb +65 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +311 -155
@@ -0,0 +1,150 @@
|
|
1
|
+
# PulpcoreClient::ContentOpenpgpSignatureApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentOpenpgpSignatureApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_signature/ | List open pgp signatures
|
8
|
+
[**read**](ContentOpenpgpSignatureApi.md#read) | **GET** {open_p_g_p_signature_href} | Inspect an open pgp signature
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedOpenPGPSignatureResponseList list(opts)
|
15
|
+
|
16
|
+
List open pgp signatures
|
17
|
+
|
18
|
+
Content viewset that supports only GET by default.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulpcore_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpcoreClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
|
33
|
+
opts = {
|
34
|
+
issuer: 'issuer_example', # String | Filter results where issuer matches value
|
35
|
+
limit: 56, # Integer | Number of results to return per page.
|
36
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
37
|
+
ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
38
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
39
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
41
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
42
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
43
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
44
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
45
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
46
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
47
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
48
|
+
}
|
49
|
+
|
50
|
+
begin
|
51
|
+
#List open pgp signatures
|
52
|
+
result = api_instance.list(opts)
|
53
|
+
p result
|
54
|
+
rescue PulpcoreClient::ApiError => e
|
55
|
+
puts "Exception when calling ContentOpenpgpSignatureApi->list: #{e}"
|
56
|
+
end
|
57
|
+
```
|
58
|
+
|
59
|
+
### Parameters
|
60
|
+
|
61
|
+
|
62
|
+
Name | Type | Description | Notes
|
63
|
+
------------- | ------------- | ------------- | -------------
|
64
|
+
**issuer** | **String**| Filter results where issuer matches value | [optional]
|
65
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
66
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
67
|
+
**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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
68
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
69
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
70
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
71
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
72
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
73
|
+
**repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
74
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
75
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
76
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
77
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
78
|
+
|
79
|
+
### Return type
|
80
|
+
|
81
|
+
[**PaginatedOpenPGPSignatureResponseList**](PaginatedOpenPGPSignatureResponseList.md)
|
82
|
+
|
83
|
+
### Authorization
|
84
|
+
|
85
|
+
[basicAuth](../README.md#basicAuth)
|
86
|
+
|
87
|
+
### HTTP request headers
|
88
|
+
|
89
|
+
- **Content-Type**: Not defined
|
90
|
+
- **Accept**: application/json
|
91
|
+
|
92
|
+
|
93
|
+
## read
|
94
|
+
|
95
|
+
> OpenPGPSignatureResponse read(open_p_g_p_signature_href, opts)
|
96
|
+
|
97
|
+
Inspect an open pgp signature
|
98
|
+
|
99
|
+
Content viewset that supports only GET by default.
|
100
|
+
|
101
|
+
### Example
|
102
|
+
|
103
|
+
```ruby
|
104
|
+
# load the gem
|
105
|
+
require 'pulpcore_client'
|
106
|
+
# setup authorization
|
107
|
+
PulpcoreClient.configure do |config|
|
108
|
+
# Configure HTTP basic authorization: basicAuth
|
109
|
+
config.username = 'YOUR USERNAME'
|
110
|
+
config.password = 'YOUR PASSWORD'
|
111
|
+
end
|
112
|
+
|
113
|
+
api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
|
114
|
+
open_p_g_p_signature_href = 'open_p_g_p_signature_href_example' # String |
|
115
|
+
opts = {
|
116
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
117
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
118
|
+
}
|
119
|
+
|
120
|
+
begin
|
121
|
+
#Inspect an open pgp signature
|
122
|
+
result = api_instance.read(open_p_g_p_signature_href, opts)
|
123
|
+
p result
|
124
|
+
rescue PulpcoreClient::ApiError => e
|
125
|
+
puts "Exception when calling ContentOpenpgpSignatureApi->read: #{e}"
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
### Parameters
|
130
|
+
|
131
|
+
|
132
|
+
Name | Type | Description | Notes
|
133
|
+
------------- | ------------- | ------------- | -------------
|
134
|
+
**open_p_g_p_signature_href** | **String**| |
|
135
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
136
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
137
|
+
|
138
|
+
### Return type
|
139
|
+
|
140
|
+
[**OpenPGPSignatureResponse**](OpenPGPSignatureResponse.md)
|
141
|
+
|
142
|
+
### Authorization
|
143
|
+
|
144
|
+
[basicAuth](../README.md#basicAuth)
|
145
|
+
|
146
|
+
### HTTP request headers
|
147
|
+
|
148
|
+
- **Content-Type**: Not defined
|
149
|
+
- **Accept**: application/json
|
150
|
+
|
@@ -0,0 +1,150 @@
|
|
1
|
+
# PulpcoreClient::ContentOpenpgpUserattributeApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentOpenpgpUserattributeApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_userattribute/ | List open pgp user attributes
|
8
|
+
[**read**](ContentOpenpgpUserattributeApi.md#read) | **GET** {open_p_g_p_user_attribute_href} | Inspect an open pgp user attribute
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedOpenPGPUserAttributeResponseList list(opts)
|
15
|
+
|
16
|
+
List open pgp user attributes
|
17
|
+
|
18
|
+
Content viewset that supports only GET by default.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulpcore_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpcoreClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
|
33
|
+
opts = {
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
+
ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
41
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
42
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
43
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
44
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
45
|
+
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
46
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
47
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
48
|
+
}
|
49
|
+
|
50
|
+
begin
|
51
|
+
#List open pgp user attributes
|
52
|
+
result = api_instance.list(opts)
|
53
|
+
p result
|
54
|
+
rescue PulpcoreClient::ApiError => e
|
55
|
+
puts "Exception when calling ContentOpenpgpUserattributeApi->list: #{e}"
|
56
|
+
end
|
57
|
+
```
|
58
|
+
|
59
|
+
### Parameters
|
60
|
+
|
61
|
+
|
62
|
+
Name | Type | Description | Notes
|
63
|
+
------------- | ------------- | ------------- | -------------
|
64
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
65
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
66
|
+
**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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
67
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
68
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
69
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
70
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
71
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
72
|
+
**repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
73
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
74
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
75
|
+
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
76
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
77
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
78
|
+
|
79
|
+
### Return type
|
80
|
+
|
81
|
+
[**PaginatedOpenPGPUserAttributeResponseList**](PaginatedOpenPGPUserAttributeResponseList.md)
|
82
|
+
|
83
|
+
### Authorization
|
84
|
+
|
85
|
+
[basicAuth](../README.md#basicAuth)
|
86
|
+
|
87
|
+
### HTTP request headers
|
88
|
+
|
89
|
+
- **Content-Type**: Not defined
|
90
|
+
- **Accept**: application/json
|
91
|
+
|
92
|
+
|
93
|
+
## read
|
94
|
+
|
95
|
+
> OpenPGPUserAttributeResponse read(open_p_g_p_user_attribute_href, opts)
|
96
|
+
|
97
|
+
Inspect an open pgp user attribute
|
98
|
+
|
99
|
+
Content viewset that supports only GET by default.
|
100
|
+
|
101
|
+
### Example
|
102
|
+
|
103
|
+
```ruby
|
104
|
+
# load the gem
|
105
|
+
require 'pulpcore_client'
|
106
|
+
# setup authorization
|
107
|
+
PulpcoreClient.configure do |config|
|
108
|
+
# Configure HTTP basic authorization: basicAuth
|
109
|
+
config.username = 'YOUR USERNAME'
|
110
|
+
config.password = 'YOUR PASSWORD'
|
111
|
+
end
|
112
|
+
|
113
|
+
api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
|
114
|
+
open_p_g_p_user_attribute_href = 'open_p_g_p_user_attribute_href_example' # String |
|
115
|
+
opts = {
|
116
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
117
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
118
|
+
}
|
119
|
+
|
120
|
+
begin
|
121
|
+
#Inspect an open pgp user attribute
|
122
|
+
result = api_instance.read(open_p_g_p_user_attribute_href, opts)
|
123
|
+
p result
|
124
|
+
rescue PulpcoreClient::ApiError => e
|
125
|
+
puts "Exception when calling ContentOpenpgpUserattributeApi->read: #{e}"
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
### Parameters
|
130
|
+
|
131
|
+
|
132
|
+
Name | Type | Description | Notes
|
133
|
+
------------- | ------------- | ------------- | -------------
|
134
|
+
**open_p_g_p_user_attribute_href** | **String**| |
|
135
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
136
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
137
|
+
|
138
|
+
### Return type
|
139
|
+
|
140
|
+
[**OpenPGPUserAttributeResponse**](OpenPGPUserAttributeResponse.md)
|
141
|
+
|
142
|
+
### Authorization
|
143
|
+
|
144
|
+
[basicAuth](../README.md#basicAuth)
|
145
|
+
|
146
|
+
### HTTP request headers
|
147
|
+
|
148
|
+
- **Content-Type**: Not defined
|
149
|
+
- **Accept**: application/json
|
150
|
+
|
@@ -0,0 +1,166 @@
|
|
1
|
+
# PulpcoreClient::ContentOpenpgpUseridApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentOpenpgpUseridApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_userid/ | List open pgp user ids
|
8
|
+
[**read**](ContentOpenpgpUseridApi.md#read) | **GET** {open_p_g_p_user_i_d_href} | Inspect an open pgp user id
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedOpenPGPUserIDResponseList list(opts)
|
15
|
+
|
16
|
+
List open pgp user ids
|
17
|
+
|
18
|
+
Content viewset that supports only GET by default.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulpcore_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpcoreClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
|
33
|
+
opts = {
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
+
ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
41
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
42
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
43
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
44
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
45
|
+
user_id: 'user_id_example', # String | Filter results where user_id matches value
|
46
|
+
user_id__contains: 'user_id__contains_example', # String | Filter results where user_id contains value
|
47
|
+
user_id__icontains: 'user_id__icontains_example', # String | Filter results where user_id contains value
|
48
|
+
user_id__iexact: 'user_id__iexact_example', # String | Filter results where user_id matches value
|
49
|
+
user_id__in: ['user_id__in_example'], # Array<String> | Filter results where user_id is in a comma-separated list of values
|
50
|
+
user_id__iregex: 'user_id__iregex_example', # String | Filter results where user_id matches regex value
|
51
|
+
user_id__istartswith: 'user_id__istartswith_example', # String | Filter results where user_id starts with value
|
52
|
+
user_id__regex: 'user_id__regex_example', # String | Filter results where user_id matches regex value
|
53
|
+
user_id__startswith: 'user_id__startswith_example', # String | Filter results where user_id starts with value
|
54
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
55
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
56
|
+
}
|
57
|
+
|
58
|
+
begin
|
59
|
+
#List open pgp user ids
|
60
|
+
result = api_instance.list(opts)
|
61
|
+
p result
|
62
|
+
rescue PulpcoreClient::ApiError => e
|
63
|
+
puts "Exception when calling ContentOpenpgpUseridApi->list: #{e}"
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
### Parameters
|
68
|
+
|
69
|
+
|
70
|
+
Name | Type | Description | Notes
|
71
|
+
------------- | ------------- | ------------- | -------------
|
72
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
73
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
74
|
+
**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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
75
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
76
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
77
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
78
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
79
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
80
|
+
**repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
81
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
82
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
|
83
|
+
**user_id** | **String**| Filter results where user_id matches value | [optional]
|
84
|
+
**user_id__contains** | **String**| Filter results where user_id contains value | [optional]
|
85
|
+
**user_id__icontains** | **String**| Filter results where user_id contains value | [optional]
|
86
|
+
**user_id__iexact** | **String**| Filter results where user_id matches value | [optional]
|
87
|
+
**user_id__in** | [**Array<String>**](String.md)| Filter results where user_id is in a comma-separated list of values | [optional]
|
88
|
+
**user_id__iregex** | **String**| Filter results where user_id matches regex value | [optional]
|
89
|
+
**user_id__istartswith** | **String**| Filter results where user_id starts with value | [optional]
|
90
|
+
**user_id__regex** | **String**| Filter results where user_id matches regex value | [optional]
|
91
|
+
**user_id__startswith** | **String**| Filter results where user_id starts with value | [optional]
|
92
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
93
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
94
|
+
|
95
|
+
### Return type
|
96
|
+
|
97
|
+
[**PaginatedOpenPGPUserIDResponseList**](PaginatedOpenPGPUserIDResponseList.md)
|
98
|
+
|
99
|
+
### Authorization
|
100
|
+
|
101
|
+
[basicAuth](../README.md#basicAuth)
|
102
|
+
|
103
|
+
### HTTP request headers
|
104
|
+
|
105
|
+
- **Content-Type**: Not defined
|
106
|
+
- **Accept**: application/json
|
107
|
+
|
108
|
+
|
109
|
+
## read
|
110
|
+
|
111
|
+
> OpenPGPUserIDResponse read(open_p_g_p_user_i_d_href, opts)
|
112
|
+
|
113
|
+
Inspect an open pgp user id
|
114
|
+
|
115
|
+
Content viewset that supports only GET by default.
|
116
|
+
|
117
|
+
### Example
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
# load the gem
|
121
|
+
require 'pulpcore_client'
|
122
|
+
# setup authorization
|
123
|
+
PulpcoreClient.configure do |config|
|
124
|
+
# Configure HTTP basic authorization: basicAuth
|
125
|
+
config.username = 'YOUR USERNAME'
|
126
|
+
config.password = 'YOUR PASSWORD'
|
127
|
+
end
|
128
|
+
|
129
|
+
api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
|
130
|
+
open_p_g_p_user_i_d_href = 'open_p_g_p_user_i_d_href_example' # String |
|
131
|
+
opts = {
|
132
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
133
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
134
|
+
}
|
135
|
+
|
136
|
+
begin
|
137
|
+
#Inspect an open pgp user id
|
138
|
+
result = api_instance.read(open_p_g_p_user_i_d_href, opts)
|
139
|
+
p result
|
140
|
+
rescue PulpcoreClient::ApiError => e
|
141
|
+
puts "Exception when calling ContentOpenpgpUseridApi->read: #{e}"
|
142
|
+
end
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
|
148
|
+
Name | Type | Description | Notes
|
149
|
+
------------- | ------------- | ------------- | -------------
|
150
|
+
**open_p_g_p_user_i_d_href** | **String**| |
|
151
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
152
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
153
|
+
|
154
|
+
### Return type
|
155
|
+
|
156
|
+
[**OpenPGPUserIDResponse**](OpenPGPUserIDResponse.md)
|
157
|
+
|
158
|
+
### Authorization
|
159
|
+
|
160
|
+
[basicAuth](../README.md#basicAuth)
|
161
|
+
|
162
|
+
### HTTP request headers
|
163
|
+
|
164
|
+
- **Content-Type**: Not defined
|
165
|
+
- **Accept**: application/json
|
166
|
+
|
data/docs/DistributionsApi.md
CHANGED
@@ -50,8 +50,8 @@ opts = {
|
|
50
50
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
51
51
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
52
52
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
53
|
-
pulp_type: 'pulp_type_example', # String | Pulp type * `core.artifact` - core.artifact * `file.file` - file.file
|
54
|
-
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.artifact` - core.artifact * `file.file` - file.file
|
53
|
+
pulp_type: 'pulp_type_example', # String | Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
54
|
+
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
55
55
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
56
56
|
repository: 'repository_example', # String | Filter results where repository matches value
|
57
57
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
@@ -94,8 +94,8 @@ Name | Type | Description | Notes
|
|
94
94
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
95
95
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
96
96
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
97
|
-
**pulp_type** | **String**| Pulp type * `core.artifact` - core.artifact * `file.file` - file.file | [optional]
|
98
|
-
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.artifact` - core.artifact * `file.file` - file.file | [optional]
|
97
|
+
**pulp_type** | **String**| Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file | [optional]
|
98
|
+
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file | [optional]
|
99
99
|
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
100
100
|
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
101
101
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|