pulpcore_client 3.22.30 → 3.23.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 +27 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +10 -10
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentguardsApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +5 -1
- data/docs/DistributionsArtifactsApi.md +5 -1
- data/docs/Domain.md +27 -0
- data/docs/DomainResponse.md +31 -0
- data/docs/DomainsApi.md +362 -0
- data/docs/ExportersFilesystemApi.md +4 -4
- data/docs/ExportersFilesystemExportsApi.md +4 -4
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupRole.md +3 -1
- data/docs/GroupRoleResponse.md +3 -1
- data/docs/GroupsApi.md +7 -7
- data/docs/GroupsRolesApi.md +7 -5
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PaginatedDomainResponseList.md +23 -0
- data/docs/PaginatedUpstreamPulpResponseList.md +23 -0
- data/docs/PatchedDomain.md +27 -0
- data/docs/PatchedUpstreamPulp.md +37 -0
- data/docs/PublicationsApi.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +1 -1
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +17 -1
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +7 -7
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/StorageClassEnum.md +16 -0
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +3 -3
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +1 -1
- data/docs/UpstreamPulp.md +37 -0
- data/docs/UpstreamPulpResponse.md +39 -0
- data/docs/UpstreamPulpsApi.md +405 -0
- data/docs/UserRole.md +4 -2
- data/docs/UserRoleResponse.md +4 -2
- data/docs/UsersApi.md +7 -7
- data/docs/UsersRolesApi.md +7 -5
- data/docs/VersionResponse.md +3 -1
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/api/distributions_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/domains_api.rb +446 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -6
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +6 -6
- data/lib/pulpcore_client/api/groups_api.rb +12 -12
- data/lib/pulpcore_client/api/groups_roles_api.rb +11 -8
- data/lib/pulpcore_client/api/repositories_api.rb +24 -0
- data/lib/pulpcore_client/api/roles_api.rb +12 -12
- data/lib/pulpcore_client/api/task_schedules_api.rb +4 -4
- data/lib/pulpcore_client/api/tasks_api.rb +2 -2
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +492 -0
- data/lib/pulpcore_client/api/users_api.rb +12 -12
- data/lib/pulpcore_client/api/users_roles_api.rb +11 -8
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +46 -46
- data/lib/pulpcore_client/models/domain.rb +323 -0
- data/lib/pulpcore_client/models/domain_response.rb +318 -0
- data/lib/pulpcore_client/models/group_role.rb +16 -5
- data/lib/pulpcore_client/models/group_role_response.rb +15 -4
- data/lib/pulpcore_client/models/nested_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_domain.rb +304 -0
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +450 -0
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
- data/lib/pulpcore_client/models/repository_response.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/storage_class_enum.rb +37 -0
- data/lib/pulpcore_client/models/upstream_pulp.rb +477 -0
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +338 -0
- data/lib/pulpcore_client/models/user_role.rb +17 -6
- data/lib/pulpcore_client/models/user_role_response.rb +16 -5
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +11 -0
- data/spec/api/distributions_api_spec.rb +2 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/domains_api_spec.rb +120 -0
- data/spec/api/exporters_filesystem_api_spec.rb +3 -3
- data/spec/api/exporters_filesystem_exports_api_spec.rb +3 -3
- data/spec/api/groups_api_spec.rb +6 -6
- data/spec/api/groups_roles_api_spec.rb +5 -4
- data/spec/api/repositories_api_spec.rb +8 -0
- data/spec/api/roles_api_spec.rb +6 -6
- data/spec/api/task_schedules_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +127 -0
- data/spec/api/users_api_spec.rb +6 -6
- data/spec/api/users_roles_api_spec.rb +5 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/domain_response_spec.rb +83 -0
- data/spec/models/domain_spec.rb +71 -0
- data/spec/models/group_role_response_spec.rb +6 -0
- data/spec/models/group_role_spec.rb +6 -0
- data/spec/models/paginated_domain_response_list_spec.rb +59 -0
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +59 -0
- data/spec/models/patched_domain_spec.rb +71 -0
- data/spec/models/patched_upstream_pulp_spec.rb +101 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/storage_class_enum_spec.rb +35 -0
- data/spec/models/upstream_pulp_response_spec.rb +107 -0
- data/spec/models/upstream_pulp_spec.rb +101 -0
- data/spec/models/user_role_response_spec.rb +6 -0
- data/spec/models/user_role_spec.rb +6 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +185 -141
data/docs/DomainsApi.md
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
# PulpcoreClient::DomainsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create**](DomainsApi.md#create) | **POST** /pulp/api/v3/domains/ | Create a domain
|
|
8
|
+
[**delete**](DomainsApi.md#delete) | **DELETE** {domain_href} | Delete a domain
|
|
9
|
+
[**list**](DomainsApi.md#list) | **GET** /pulp/api/v3/domains/ | List domains
|
|
10
|
+
[**partial_update**](DomainsApi.md#partial_update) | **PATCH** {domain_href} | Update a domain
|
|
11
|
+
[**read**](DomainsApi.md#read) | **GET** {domain_href} | Inspect a domain
|
|
12
|
+
[**update**](DomainsApi.md#update) | **PUT** {domain_href} | Update a domain
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## create
|
|
17
|
+
|
|
18
|
+
> DomainResponse create(domain)
|
|
19
|
+
|
|
20
|
+
Create a domain
|
|
21
|
+
|
|
22
|
+
ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
23
|
+
|
|
24
|
+
### Example
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
# load the gem
|
|
28
|
+
require 'pulpcore_client'
|
|
29
|
+
# setup authorization
|
|
30
|
+
PulpcoreClient.configure do |config|
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
|
+
config.username = 'YOUR USERNAME'
|
|
33
|
+
config.password = 'YOUR PASSWORD'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
37
|
+
domain = PulpcoreClient::Domain.new # Domain |
|
|
38
|
+
|
|
39
|
+
begin
|
|
40
|
+
#Create a domain
|
|
41
|
+
result = api_instance.create(domain)
|
|
42
|
+
p result
|
|
43
|
+
rescue PulpcoreClient::ApiError => e
|
|
44
|
+
puts "Exception when calling DomainsApi->create: #{e}"
|
|
45
|
+
end
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Parameters
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Name | Type | Description | Notes
|
|
52
|
+
------------- | ------------- | ------------- | -------------
|
|
53
|
+
**domain** | [**Domain**](Domain.md)| |
|
|
54
|
+
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
[**DomainResponse**](DomainResponse.md)
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## delete
|
|
70
|
+
|
|
71
|
+
> AsyncOperationResponse delete(domain_href)
|
|
72
|
+
|
|
73
|
+
Delete a domain
|
|
74
|
+
|
|
75
|
+
Trigger an asynchronous delete task
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```ruby
|
|
80
|
+
# load the gem
|
|
81
|
+
require 'pulpcore_client'
|
|
82
|
+
# setup authorization
|
|
83
|
+
PulpcoreClient.configure do |config|
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
|
+
config.username = 'YOUR USERNAME'
|
|
86
|
+
config.password = 'YOUR PASSWORD'
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
90
|
+
domain_href = 'domain_href_example' # String |
|
|
91
|
+
|
|
92
|
+
begin
|
|
93
|
+
#Delete a domain
|
|
94
|
+
result = api_instance.delete(domain_href)
|
|
95
|
+
p result
|
|
96
|
+
rescue PulpcoreClient::ApiError => e
|
|
97
|
+
puts "Exception when calling DomainsApi->delete: #{e}"
|
|
98
|
+
end
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
Name | Type | Description | Notes
|
|
105
|
+
------------- | ------------- | ------------- | -------------
|
|
106
|
+
**domain_href** | **String**| |
|
|
107
|
+
|
|
108
|
+
### Return type
|
|
109
|
+
|
|
110
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
111
|
+
|
|
112
|
+
### Authorization
|
|
113
|
+
|
|
114
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
|
+
|
|
116
|
+
### HTTP request headers
|
|
117
|
+
|
|
118
|
+
- **Content-Type**: Not defined
|
|
119
|
+
- **Accept**: application/json
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## list
|
|
123
|
+
|
|
124
|
+
> PaginatedDomainResponseList list(opts)
|
|
125
|
+
|
|
126
|
+
List domains
|
|
127
|
+
|
|
128
|
+
ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```ruby
|
|
133
|
+
# load the gem
|
|
134
|
+
require 'pulpcore_client'
|
|
135
|
+
# setup authorization
|
|
136
|
+
PulpcoreClient.configure do |config|
|
|
137
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
|
+
config.username = 'YOUR USERNAME'
|
|
139
|
+
config.password = 'YOUR PASSWORD'
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
143
|
+
opts = {
|
|
144
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
146
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
147
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
148
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
149
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
150
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
152
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
153
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
begin
|
|
157
|
+
#List domains
|
|
158
|
+
result = api_instance.list(opts)
|
|
159
|
+
p result
|
|
160
|
+
rescue PulpcoreClient::ApiError => e
|
|
161
|
+
puts "Exception when calling DomainsApi->list: #{e}"
|
|
162
|
+
end
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Parameters
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
Name | Type | Description | Notes
|
|
169
|
+
------------- | ------------- | ------------- | -------------
|
|
170
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
171
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
172
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
173
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
174
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
175
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
176
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
177
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
178
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
179
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
180
|
+
|
|
181
|
+
### Return type
|
|
182
|
+
|
|
183
|
+
[**PaginatedDomainResponseList**](PaginatedDomainResponseList.md)
|
|
184
|
+
|
|
185
|
+
### Authorization
|
|
186
|
+
|
|
187
|
+
[basicAuth](../README.md#basicAuth)
|
|
188
|
+
|
|
189
|
+
### HTTP request headers
|
|
190
|
+
|
|
191
|
+
- **Content-Type**: Not defined
|
|
192
|
+
- **Accept**: application/json
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## partial_update
|
|
196
|
+
|
|
197
|
+
> AsyncOperationResponse partial_update(domain_href, patched_domain)
|
|
198
|
+
|
|
199
|
+
Update a domain
|
|
200
|
+
|
|
201
|
+
Trigger an asynchronous partial update task
|
|
202
|
+
|
|
203
|
+
### Example
|
|
204
|
+
|
|
205
|
+
```ruby
|
|
206
|
+
# load the gem
|
|
207
|
+
require 'pulpcore_client'
|
|
208
|
+
# setup authorization
|
|
209
|
+
PulpcoreClient.configure do |config|
|
|
210
|
+
# Configure HTTP basic authorization: basicAuth
|
|
211
|
+
config.username = 'YOUR USERNAME'
|
|
212
|
+
config.password = 'YOUR PASSWORD'
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
216
|
+
domain_href = 'domain_href_example' # String |
|
|
217
|
+
patched_domain = PulpcoreClient::PatchedDomain.new # PatchedDomain |
|
|
218
|
+
|
|
219
|
+
begin
|
|
220
|
+
#Update a domain
|
|
221
|
+
result = api_instance.partial_update(domain_href, patched_domain)
|
|
222
|
+
p result
|
|
223
|
+
rescue PulpcoreClient::ApiError => e
|
|
224
|
+
puts "Exception when calling DomainsApi->partial_update: #{e}"
|
|
225
|
+
end
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### Parameters
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
Name | Type | Description | Notes
|
|
232
|
+
------------- | ------------- | ------------- | -------------
|
|
233
|
+
**domain_href** | **String**| |
|
|
234
|
+
**patched_domain** | [**PatchedDomain**](PatchedDomain.md)| |
|
|
235
|
+
|
|
236
|
+
### Return type
|
|
237
|
+
|
|
238
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
239
|
+
|
|
240
|
+
### Authorization
|
|
241
|
+
|
|
242
|
+
[basicAuth](../README.md#basicAuth)
|
|
243
|
+
|
|
244
|
+
### HTTP request headers
|
|
245
|
+
|
|
246
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
247
|
+
- **Accept**: application/json
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
## read
|
|
251
|
+
|
|
252
|
+
> DomainResponse read(domain_href, opts)
|
|
253
|
+
|
|
254
|
+
Inspect a domain
|
|
255
|
+
|
|
256
|
+
ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
257
|
+
|
|
258
|
+
### Example
|
|
259
|
+
|
|
260
|
+
```ruby
|
|
261
|
+
# load the gem
|
|
262
|
+
require 'pulpcore_client'
|
|
263
|
+
# setup authorization
|
|
264
|
+
PulpcoreClient.configure do |config|
|
|
265
|
+
# Configure HTTP basic authorization: basicAuth
|
|
266
|
+
config.username = 'YOUR USERNAME'
|
|
267
|
+
config.password = 'YOUR PASSWORD'
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
271
|
+
domain_href = 'domain_href_example' # String |
|
|
272
|
+
opts = {
|
|
273
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
274
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
begin
|
|
278
|
+
#Inspect a domain
|
|
279
|
+
result = api_instance.read(domain_href, opts)
|
|
280
|
+
p result
|
|
281
|
+
rescue PulpcoreClient::ApiError => e
|
|
282
|
+
puts "Exception when calling DomainsApi->read: #{e}"
|
|
283
|
+
end
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Parameters
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
Name | Type | Description | Notes
|
|
290
|
+
------------- | ------------- | ------------- | -------------
|
|
291
|
+
**domain_href** | **String**| |
|
|
292
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
293
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
294
|
+
|
|
295
|
+
### Return type
|
|
296
|
+
|
|
297
|
+
[**DomainResponse**](DomainResponse.md)
|
|
298
|
+
|
|
299
|
+
### Authorization
|
|
300
|
+
|
|
301
|
+
[basicAuth](../README.md#basicAuth)
|
|
302
|
+
|
|
303
|
+
### HTTP request headers
|
|
304
|
+
|
|
305
|
+
- **Content-Type**: Not defined
|
|
306
|
+
- **Accept**: application/json
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
## update
|
|
310
|
+
|
|
311
|
+
> AsyncOperationResponse update(domain_href, domain)
|
|
312
|
+
|
|
313
|
+
Update a domain
|
|
314
|
+
|
|
315
|
+
Trigger an asynchronous update task
|
|
316
|
+
|
|
317
|
+
### Example
|
|
318
|
+
|
|
319
|
+
```ruby
|
|
320
|
+
# load the gem
|
|
321
|
+
require 'pulpcore_client'
|
|
322
|
+
# setup authorization
|
|
323
|
+
PulpcoreClient.configure do |config|
|
|
324
|
+
# Configure HTTP basic authorization: basicAuth
|
|
325
|
+
config.username = 'YOUR USERNAME'
|
|
326
|
+
config.password = 'YOUR PASSWORD'
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
|
330
|
+
domain_href = 'domain_href_example' # String |
|
|
331
|
+
domain = PulpcoreClient::Domain.new # Domain |
|
|
332
|
+
|
|
333
|
+
begin
|
|
334
|
+
#Update a domain
|
|
335
|
+
result = api_instance.update(domain_href, domain)
|
|
336
|
+
p result
|
|
337
|
+
rescue PulpcoreClient::ApiError => e
|
|
338
|
+
puts "Exception when calling DomainsApi->update: #{e}"
|
|
339
|
+
end
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### Parameters
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
Name | Type | Description | Notes
|
|
346
|
+
------------- | ------------- | ------------- | -------------
|
|
347
|
+
**domain_href** | **String**| |
|
|
348
|
+
**domain** | [**Domain**](Domain.md)| |
|
|
349
|
+
|
|
350
|
+
### Return type
|
|
351
|
+
|
|
352
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
353
|
+
|
|
354
|
+
### Authorization
|
|
355
|
+
|
|
356
|
+
[basicAuth](../README.md#basicAuth)
|
|
357
|
+
|
|
358
|
+
### HTTP request headers
|
|
359
|
+
|
|
360
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
361
|
+
- **Accept**: application/json
|
|
362
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::ExportersFilesystemApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
|
19
19
|
|
|
20
20
|
Create a filesystem exporter
|
|
21
21
|
|
|
22
|
-
Endpoint for managing FilesystemExporters.
|
|
22
|
+
Endpoint for managing FilesystemExporters.
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
|
|
@@ -125,7 +125,7 @@ Name | Type | Description | Notes
|
|
|
125
125
|
|
|
126
126
|
List filesystem exporters
|
|
127
127
|
|
|
128
|
-
Endpoint for managing FilesystemExporters.
|
|
128
|
+
Endpoint for managing FilesystemExporters.
|
|
129
129
|
|
|
130
130
|
### Example
|
|
131
131
|
|
|
@@ -253,7 +253,7 @@ Name | Type | Description | Notes
|
|
|
253
253
|
|
|
254
254
|
Inspect a filesystem exporter
|
|
255
255
|
|
|
256
|
-
Endpoint for managing FilesystemExporters.
|
|
256
|
+
Endpoint for managing FilesystemExporters.
|
|
257
257
|
|
|
258
258
|
### Example
|
|
259
259
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::ExportersFilesystemExportsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
72
72
|
|
|
73
73
|
Delete a filesystem export
|
|
74
74
|
|
|
75
|
-
Endpoint for managing FilesystemExports.
|
|
75
|
+
Endpoint for managing FilesystemExports.
|
|
76
76
|
|
|
77
77
|
### Example
|
|
78
78
|
|
|
@@ -124,7 +124,7 @@ nil (empty response body)
|
|
|
124
124
|
|
|
125
125
|
List filesystem exports
|
|
126
126
|
|
|
127
|
-
Endpoint for managing FilesystemExports.
|
|
127
|
+
Endpoint for managing FilesystemExports.
|
|
128
128
|
|
|
129
129
|
### Example
|
|
130
130
|
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
|
187
187
|
|
|
188
188
|
Inspect a filesystem export
|
|
189
189
|
|
|
190
|
-
Endpoint for managing FilesystemExports.
|
|
190
|
+
Endpoint for managing FilesystemExports.
|
|
191
191
|
|
|
192
192
|
### Example
|
|
193
193
|
|
data/docs/ExportersPulpApi.md
CHANGED
data/docs/GroupRole.md
CHANGED
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**role** | **String** | |
|
|
8
8
|
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level. |
|
|
9
|
+
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
|
9
10
|
|
|
10
11
|
## Code Sample
|
|
11
12
|
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
|
13
14
|
require 'PulpcoreClient'
|
|
14
15
|
|
|
15
16
|
instance = PulpcoreClient::GroupRole.new(role: null,
|
|
16
|
-
content_object: null
|
|
17
|
+
content_object: null,
|
|
18
|
+
domain: null)
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
|
data/docs/GroupRoleResponse.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level. |
|
|
11
11
|
**description** | **String** | | [optional] [readonly]
|
|
12
12
|
**permissions** | **Array<String>** | | [optional] [readonly]
|
|
13
|
+
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
@@ -21,7 +22,8 @@ instance = PulpcoreClient::GroupRoleResponse.new(pulp_href: null,
|
|
|
21
22
|
role: null,
|
|
22
23
|
content_object: null,
|
|
23
24
|
description: null,
|
|
24
|
-
permissions: null
|
|
25
|
+
permissions: null,
|
|
26
|
+
domain: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
data/docs/GroupsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::GroupsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
|
|
|
77
77
|
|
|
78
78
|
Create a group
|
|
79
79
|
|
|
80
|
-
ViewSet for Group.
|
|
80
|
+
ViewSet for Group.
|
|
81
81
|
|
|
82
82
|
### Example
|
|
83
83
|
|
|
@@ -130,7 +130,7 @@ Name | Type | Description | Notes
|
|
|
130
130
|
|
|
131
131
|
Delete a group
|
|
132
132
|
|
|
133
|
-
ViewSet for Group.
|
|
133
|
+
ViewSet for Group.
|
|
134
134
|
|
|
135
135
|
### Example
|
|
136
136
|
|
|
@@ -182,7 +182,7 @@ nil (empty response body)
|
|
|
182
182
|
|
|
183
183
|
List groups
|
|
184
184
|
|
|
185
|
-
ViewSet for Group.
|
|
185
|
+
ViewSet for Group.
|
|
186
186
|
|
|
187
187
|
### Example
|
|
188
188
|
|
|
@@ -375,7 +375,7 @@ Name | Type | Description | Notes
|
|
|
375
375
|
|
|
376
376
|
Update a group
|
|
377
377
|
|
|
378
|
-
ViewSet for Group.
|
|
378
|
+
ViewSet for Group.
|
|
379
379
|
|
|
380
380
|
### Example
|
|
381
381
|
|
|
@@ -430,7 +430,7 @@ Name | Type | Description | Notes
|
|
|
430
430
|
|
|
431
431
|
Inspect a group
|
|
432
432
|
|
|
433
|
-
ViewSet for Group.
|
|
433
|
+
ViewSet for Group.
|
|
434
434
|
|
|
435
435
|
### Example
|
|
436
436
|
|
|
@@ -543,7 +543,7 @@ Name | Type | Description | Notes
|
|
|
543
543
|
|
|
544
544
|
Update a group
|
|
545
545
|
|
|
546
|
-
ViewSet for Group.
|
|
546
|
+
ViewSet for Group.
|
|
547
547
|
|
|
548
548
|
### Example
|
|
549
549
|
|
data/docs/GroupsRolesApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::GroupsRolesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
|
17
17
|
|
|
18
18
|
Create a group role
|
|
19
19
|
|
|
20
|
-
ViewSet for GroupRole.
|
|
20
|
+
ViewSet for GroupRole.
|
|
21
21
|
|
|
22
22
|
### Example
|
|
23
23
|
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
72
72
|
|
|
73
73
|
Delete a group role
|
|
74
74
|
|
|
75
|
-
ViewSet for GroupRole.
|
|
75
|
+
ViewSet for GroupRole.
|
|
76
76
|
|
|
77
77
|
### Example
|
|
78
78
|
|
|
@@ -124,7 +124,7 @@ nil (empty response body)
|
|
|
124
124
|
|
|
125
125
|
List group roles
|
|
126
126
|
|
|
127
|
-
ViewSet for GroupRole.
|
|
127
|
+
ViewSet for GroupRole.
|
|
128
128
|
|
|
129
129
|
### Example
|
|
130
130
|
|
|
@@ -142,6 +142,7 @@ api_instance = PulpcoreClient::GroupsRolesApi.new
|
|
|
142
142
|
group_href = 'group_href_example' # String |
|
|
143
143
|
opts = {
|
|
144
144
|
content_object: 'content_object_example', # String | content_object
|
|
145
|
+
domain: 'domain_example', # String | Foreign Key referenced by HREF
|
|
145
146
|
limit: 56, # Integer | Number of results to return per page.
|
|
146
147
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
147
148
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
@@ -170,6 +171,7 @@ Name | Type | Description | Notes
|
|
|
170
171
|
------------- | ------------- | ------------- | -------------
|
|
171
172
|
**group_href** | **String**| |
|
|
172
173
|
**content_object** | **String**| content_object | [optional]
|
|
174
|
+
**domain** | **String**| Foreign Key referenced by HREF | [optional]
|
|
173
175
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
174
176
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
175
177
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
@@ -201,7 +203,7 @@ Name | Type | Description | Notes
|
|
|
201
203
|
|
|
202
204
|
Inspect a group role
|
|
203
205
|
|
|
204
|
-
ViewSet for GroupRole.
|
|
206
|
+
ViewSet for GroupRole.
|
|
205
207
|
|
|
206
208
|
### Example
|
|
207
209
|
|
data/docs/GroupsUsersApi.md
CHANGED
data/docs/ImportersPulpApi.md
CHANGED
data/docs/OrphansApi.md
CHANGED
data/docs/OrphansCleanupApi.md
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpcoreClient::PaginatedDomainResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<DomainResponse>**](DomainResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpcoreClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PaginatedDomainResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|