pulpcore_client 3.28.30 → 3.28.32
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 +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/UpstreamPulpsApi.md
CHANGED
|
@@ -4,19 +4,19 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
13
|
-
[**
|
|
7
|
+
[**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp
|
|
8
|
+
[**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp
|
|
9
|
+
[**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps
|
|
10
|
+
[**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp
|
|
11
|
+
[**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp
|
|
12
|
+
[**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate
|
|
13
|
+
[**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## create
|
|
18
18
|
|
|
19
|
-
> UpstreamPulpResponse
|
|
19
|
+
> UpstreamPulpResponse create(upstream_pulp)
|
|
20
20
|
|
|
21
21
|
Create an upstream pulp
|
|
22
22
|
|
|
@@ -39,10 +39,10 @@ upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
|
|
39
39
|
|
|
40
40
|
begin
|
|
41
41
|
#Create an upstream pulp
|
|
42
|
-
result = api_instance.
|
|
42
|
+
result = api_instance.create(upstream_pulp)
|
|
43
43
|
p result
|
|
44
44
|
rescue PulpcoreClient::ApiError => e
|
|
45
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
45
|
+
puts "Exception when calling UpstreamPulpsApi->create: #{e}"
|
|
46
46
|
end
|
|
47
47
|
```
|
|
48
48
|
|
|
@@ -67,9 +67,9 @@ Name | Type | Description | Notes
|
|
|
67
67
|
- **Accept**: application/json
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
##
|
|
70
|
+
## delete
|
|
71
71
|
|
|
72
|
-
>
|
|
72
|
+
> delete(upstream_pulp_href)
|
|
73
73
|
|
|
74
74
|
Delete an upstream pulp
|
|
75
75
|
|
|
@@ -92,9 +92,9 @@ upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
|
92
92
|
|
|
93
93
|
begin
|
|
94
94
|
#Delete an upstream pulp
|
|
95
|
-
api_instance.
|
|
95
|
+
api_instance.delete(upstream_pulp_href)
|
|
96
96
|
rescue PulpcoreClient::ApiError => e
|
|
97
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
97
|
+
puts "Exception when calling UpstreamPulpsApi->delete: #{e}"
|
|
98
98
|
end
|
|
99
99
|
```
|
|
100
100
|
|
|
@@ -119,9 +119,9 @@ nil (empty response body)
|
|
|
119
119
|
- **Accept**: Not defined
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
##
|
|
122
|
+
## list
|
|
123
123
|
|
|
124
|
-
> PaginatedUpstreamPulpResponseList
|
|
124
|
+
> PaginatedUpstreamPulpResponseList list(opts)
|
|
125
125
|
|
|
126
126
|
List upstream pulps
|
|
127
127
|
|
|
@@ -149,10 +149,10 @@ opts = {
|
|
|
149
149
|
|
|
150
150
|
begin
|
|
151
151
|
#List upstream pulps
|
|
152
|
-
result = api_instance.
|
|
152
|
+
result = api_instance.list(opts)
|
|
153
153
|
p result
|
|
154
154
|
rescue PulpcoreClient::ApiError => e
|
|
155
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
155
|
+
puts "Exception when calling UpstreamPulpsApi->list: #{e}"
|
|
156
156
|
end
|
|
157
157
|
```
|
|
158
158
|
|
|
@@ -180,9 +180,9 @@ Name | Type | Description | Notes
|
|
|
180
180
|
- **Accept**: application/json
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
##
|
|
183
|
+
## partial_update
|
|
184
184
|
|
|
185
|
-
> UpstreamPulpResponse
|
|
185
|
+
> UpstreamPulpResponse partial_update(upstream_pulp_href, patched_upstream_pulp)
|
|
186
186
|
|
|
187
187
|
Update an upstream pulp
|
|
188
188
|
|
|
@@ -206,10 +206,10 @@ patched_upstream_pulp = PulpcoreClient::PatchedUpstreamPulp.new # PatchedUpstrea
|
|
|
206
206
|
|
|
207
207
|
begin
|
|
208
208
|
#Update an upstream pulp
|
|
209
|
-
result = api_instance.
|
|
209
|
+
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
|
|
210
210
|
p result
|
|
211
211
|
rescue PulpcoreClient::ApiError => e
|
|
212
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
212
|
+
puts "Exception when calling UpstreamPulpsApi->partial_update: #{e}"
|
|
213
213
|
end
|
|
214
214
|
```
|
|
215
215
|
|
|
@@ -235,9 +235,9 @@ Name | Type | Description | Notes
|
|
|
235
235
|
- **Accept**: application/json
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
##
|
|
238
|
+
## read
|
|
239
239
|
|
|
240
|
-
> UpstreamPulpResponse
|
|
240
|
+
> UpstreamPulpResponse read(upstream_pulp_href, opts)
|
|
241
241
|
|
|
242
242
|
Inspect an upstream pulp
|
|
243
243
|
|
|
@@ -264,10 +264,10 @@ opts = {
|
|
|
264
264
|
|
|
265
265
|
begin
|
|
266
266
|
#Inspect an upstream pulp
|
|
267
|
-
result = api_instance.
|
|
267
|
+
result = api_instance.read(upstream_pulp_href, opts)
|
|
268
268
|
p result
|
|
269
269
|
rescue PulpcoreClient::ApiError => e
|
|
270
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
270
|
+
puts "Exception when calling UpstreamPulpsApi->read: #{e}"
|
|
271
271
|
end
|
|
272
272
|
```
|
|
273
273
|
|
|
@@ -294,9 +294,9 @@ Name | Type | Description | Notes
|
|
|
294
294
|
- **Accept**: application/json
|
|
295
295
|
|
|
296
296
|
|
|
297
|
-
##
|
|
297
|
+
## replicate
|
|
298
298
|
|
|
299
|
-
> TaskGroupOperationResponse
|
|
299
|
+
> TaskGroupOperationResponse replicate(upstream_pulp_href)
|
|
300
300
|
|
|
301
301
|
Replicate
|
|
302
302
|
|
|
@@ -319,10 +319,10 @@ upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
|
319
319
|
|
|
320
320
|
begin
|
|
321
321
|
#Replicate
|
|
322
|
-
result = api_instance.
|
|
322
|
+
result = api_instance.replicate(upstream_pulp_href)
|
|
323
323
|
p result
|
|
324
324
|
rescue PulpcoreClient::ApiError => e
|
|
325
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
325
|
+
puts "Exception when calling UpstreamPulpsApi->replicate: #{e}"
|
|
326
326
|
end
|
|
327
327
|
```
|
|
328
328
|
|
|
@@ -347,9 +347,9 @@ Name | Type | Description | Notes
|
|
|
347
347
|
- **Accept**: application/json
|
|
348
348
|
|
|
349
349
|
|
|
350
|
-
##
|
|
350
|
+
## update
|
|
351
351
|
|
|
352
|
-
> UpstreamPulpResponse
|
|
352
|
+
> UpstreamPulpResponse update(upstream_pulp_href, upstream_pulp)
|
|
353
353
|
|
|
354
354
|
Update an upstream pulp
|
|
355
355
|
|
|
@@ -373,10 +373,10 @@ upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
|
|
373
373
|
|
|
374
374
|
begin
|
|
375
375
|
#Update an upstream pulp
|
|
376
|
-
result = api_instance.
|
|
376
|
+
result = api_instance.update(upstream_pulp_href, upstream_pulp)
|
|
377
377
|
p result
|
|
378
378
|
rescue PulpcoreClient::ApiError => e
|
|
379
|
-
puts "Exception when calling UpstreamPulpsApi->
|
|
379
|
+
puts "Exception when calling UpstreamPulpsApi->update: #{e}"
|
|
380
380
|
end
|
|
381
381
|
```
|
|
382
382
|
|
data/docs/UsersApi.md
CHANGED
|
@@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
7
|
+
[**create**](UsersApi.md#create) | **POST** /pulp/api/v3/users/ | Create an user
|
|
8
|
+
[**delete**](UsersApi.md#delete) | **DELETE** {auth_user_href} | Delete an user
|
|
9
|
+
[**list**](UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
|
|
10
|
+
[**partial_update**](UsersApi.md#partial_update) | **PATCH** {auth_user_href} | Update an user
|
|
11
|
+
[**read**](UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
|
|
12
|
+
[**update**](UsersApi.md#update) | **PUT** {auth_user_href} | Update an user
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## create
|
|
17
17
|
|
|
18
|
-
> UserResponse
|
|
18
|
+
> UserResponse create(user)
|
|
19
19
|
|
|
20
20
|
Create an user
|
|
21
21
|
|
|
@@ -38,10 +38,10 @@ user = PulpcoreClient::User.new # User |
|
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create an user
|
|
41
|
-
result = api_instance.
|
|
41
|
+
result = api_instance.create(user)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
|
44
|
-
puts "Exception when calling UsersApi->
|
|
44
|
+
puts "Exception when calling UsersApi->create: #{e}"
|
|
45
45
|
end
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## delete
|
|
70
70
|
|
|
71
|
-
>
|
|
71
|
+
> delete(auth_user_href)
|
|
72
72
|
|
|
73
73
|
Delete an user
|
|
74
74
|
|
|
@@ -91,9 +91,9 @@ auth_user_href = 'auth_user_href_example' # String |
|
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete an user
|
|
94
|
-
api_instance.
|
|
94
|
+
api_instance.delete(auth_user_href)
|
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling UsersApi->
|
|
96
|
+
puts "Exception when calling UsersApi->delete: #{e}"
|
|
97
97
|
end
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
|
118
118
|
- **Accept**: Not defined
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## list
|
|
122
122
|
|
|
123
|
-
> PaginatedUserResponseList
|
|
123
|
+
> PaginatedUserResponseList list(opts)
|
|
124
124
|
|
|
125
125
|
List users
|
|
126
126
|
|
|
@@ -173,10 +173,10 @@ opts = {
|
|
|
173
173
|
|
|
174
174
|
begin
|
|
175
175
|
#List users
|
|
176
|
-
result = api_instance.
|
|
176
|
+
result = api_instance.list(opts)
|
|
177
177
|
p result
|
|
178
178
|
rescue PulpcoreClient::ApiError => e
|
|
179
|
-
puts "Exception when calling UsersApi->
|
|
179
|
+
puts "Exception when calling UsersApi->list: #{e}"
|
|
180
180
|
end
|
|
181
181
|
```
|
|
182
182
|
|
|
@@ -229,9 +229,9 @@ Name | Type | Description | Notes
|
|
|
229
229
|
- **Accept**: application/json
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
##
|
|
232
|
+
## partial_update
|
|
233
233
|
|
|
234
|
-
> UserResponse
|
|
234
|
+
> UserResponse partial_update(auth_user_href, patched_user)
|
|
235
235
|
|
|
236
236
|
Update an user
|
|
237
237
|
|
|
@@ -255,10 +255,10 @@ patched_user = PulpcoreClient::PatchedUser.new # PatchedUser |
|
|
|
255
255
|
|
|
256
256
|
begin
|
|
257
257
|
#Update an user
|
|
258
|
-
result = api_instance.
|
|
258
|
+
result = api_instance.partial_update(auth_user_href, patched_user)
|
|
259
259
|
p result
|
|
260
260
|
rescue PulpcoreClient::ApiError => e
|
|
261
|
-
puts "Exception when calling UsersApi->
|
|
261
|
+
puts "Exception when calling UsersApi->partial_update: #{e}"
|
|
262
262
|
end
|
|
263
263
|
```
|
|
264
264
|
|
|
@@ -284,9 +284,9 @@ Name | Type | Description | Notes
|
|
|
284
284
|
- **Accept**: application/json
|
|
285
285
|
|
|
286
286
|
|
|
287
|
-
##
|
|
287
|
+
## read
|
|
288
288
|
|
|
289
|
-
> UserResponse
|
|
289
|
+
> UserResponse read(auth_user_href, opts)
|
|
290
290
|
|
|
291
291
|
Inspect an user
|
|
292
292
|
|
|
@@ -313,10 +313,10 @@ opts = {
|
|
|
313
313
|
|
|
314
314
|
begin
|
|
315
315
|
#Inspect an user
|
|
316
|
-
result = api_instance.
|
|
316
|
+
result = api_instance.read(auth_user_href, opts)
|
|
317
317
|
p result
|
|
318
318
|
rescue PulpcoreClient::ApiError => e
|
|
319
|
-
puts "Exception when calling UsersApi->
|
|
319
|
+
puts "Exception when calling UsersApi->read: #{e}"
|
|
320
320
|
end
|
|
321
321
|
```
|
|
322
322
|
|
|
@@ -343,9 +343,9 @@ Name | Type | Description | Notes
|
|
|
343
343
|
- **Accept**: application/json
|
|
344
344
|
|
|
345
345
|
|
|
346
|
-
##
|
|
346
|
+
## update
|
|
347
347
|
|
|
348
|
-
> UserResponse
|
|
348
|
+
> UserResponse update(auth_user_href, user)
|
|
349
349
|
|
|
350
350
|
Update an user
|
|
351
351
|
|
|
@@ -369,10 +369,10 @@ user = PulpcoreClient::User.new # User |
|
|
|
369
369
|
|
|
370
370
|
begin
|
|
371
371
|
#Update an user
|
|
372
|
-
result = api_instance.
|
|
372
|
+
result = api_instance.update(auth_user_href, user)
|
|
373
373
|
p result
|
|
374
374
|
rescue PulpcoreClient::ApiError => e
|
|
375
|
-
puts "Exception when calling UsersApi->
|
|
375
|
+
puts "Exception when calling UsersApi->update: #{e}"
|
|
376
376
|
end
|
|
377
377
|
```
|
|
378
378
|
|
data/docs/UsersRolesApi.md
CHANGED
|
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
7
|
+
[**create**](UsersRolesApi.md#create) | **POST** {auth_user_href}roles/ | Create an user role
|
|
8
|
+
[**delete**](UsersRolesApi.md#delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
|
|
9
|
+
[**list**](UsersRolesApi.md#list) | **GET** {auth_user_href}roles/ | List user roles
|
|
10
|
+
[**read**](UsersRolesApi.md#read) | **GET** {auth_users_user_role_href} | Inspect an user role
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## create
|
|
15
15
|
|
|
16
|
-
> UserRoleResponse
|
|
16
|
+
> UserRoleResponse create(auth_user_href, user_role)
|
|
17
17
|
|
|
18
18
|
Create an user role
|
|
19
19
|
|
|
@@ -37,10 +37,10 @@ user_role = PulpcoreClient::UserRole.new # UserRole |
|
|
|
37
37
|
|
|
38
38
|
begin
|
|
39
39
|
#Create an user role
|
|
40
|
-
result = api_instance.
|
|
40
|
+
result = api_instance.create(auth_user_href, user_role)
|
|
41
41
|
p result
|
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
|
43
|
-
puts "Exception when calling UsersRolesApi->
|
|
43
|
+
puts "Exception when calling UsersRolesApi->create: #{e}"
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## delete
|
|
70
70
|
|
|
71
|
-
>
|
|
71
|
+
> delete(auth_users_user_role_href)
|
|
72
72
|
|
|
73
73
|
Delete an user role
|
|
74
74
|
|
|
@@ -91,9 +91,9 @@ auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
|
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete an user role
|
|
94
|
-
api_instance.
|
|
94
|
+
api_instance.delete(auth_users_user_role_href)
|
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling UsersRolesApi->
|
|
96
|
+
puts "Exception when calling UsersRolesApi->delete: #{e}"
|
|
97
97
|
end
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
|
118
118
|
- **Accept**: Not defined
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## list
|
|
122
122
|
|
|
123
|
-
> PaginatedUserRoleResponseList
|
|
123
|
+
> PaginatedUserRoleResponseList list(auth_user_href, opts)
|
|
124
124
|
|
|
125
125
|
List user roles
|
|
126
126
|
|
|
@@ -159,10 +159,10 @@ opts = {
|
|
|
159
159
|
|
|
160
160
|
begin
|
|
161
161
|
#List user roles
|
|
162
|
-
result = api_instance.
|
|
162
|
+
result = api_instance.list(auth_user_href, opts)
|
|
163
163
|
p result
|
|
164
164
|
rescue PulpcoreClient::ApiError => e
|
|
165
|
-
puts "Exception when calling UsersRolesApi->
|
|
165
|
+
puts "Exception when calling UsersRolesApi->list: #{e}"
|
|
166
166
|
end
|
|
167
167
|
```
|
|
168
168
|
|
|
@@ -201,9 +201,9 @@ Name | Type | Description | Notes
|
|
|
201
201
|
- **Accept**: application/json
|
|
202
202
|
|
|
203
203
|
|
|
204
|
-
##
|
|
204
|
+
## read
|
|
205
205
|
|
|
206
|
-
> UserRoleResponse
|
|
206
|
+
> UserRoleResponse read(auth_users_user_role_href, opts)
|
|
207
207
|
|
|
208
208
|
Inspect an user role
|
|
209
209
|
|
|
@@ -230,10 +230,10 @@ opts = {
|
|
|
230
230
|
|
|
231
231
|
begin
|
|
232
232
|
#Inspect an user role
|
|
233
|
-
result = api_instance.
|
|
233
|
+
result = api_instance.read(auth_users_user_role_href, opts)
|
|
234
234
|
p result
|
|
235
235
|
rescue PulpcoreClient::ApiError => e
|
|
236
|
-
puts "Exception when calling UsersRolesApi->
|
|
236
|
+
puts "Exception when calling UsersRolesApi->read: #{e}"
|
|
237
237
|
end
|
|
238
238
|
```
|
|
239
239
|
|
data/docs/WorkersApi.md
CHANGED
|
@@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
7
|
+
[**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
|
|
8
|
+
[**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## list
|
|
13
13
|
|
|
14
|
-
> PaginatedWorkerResponseList
|
|
14
|
+
> PaginatedWorkerResponseList list(opts)
|
|
15
15
|
|
|
16
16
|
List workers
|
|
17
17
|
|
|
@@ -55,10 +55,10 @@ opts = {
|
|
|
55
55
|
|
|
56
56
|
begin
|
|
57
57
|
#List workers
|
|
58
|
-
result = api_instance.
|
|
58
|
+
result = api_instance.list(opts)
|
|
59
59
|
p result
|
|
60
60
|
rescue PulpcoreClient::ApiError => e
|
|
61
|
-
puts "Exception when calling WorkersApi->
|
|
61
|
+
puts "Exception when calling WorkersApi->list: #{e}"
|
|
62
62
|
end
|
|
63
63
|
```
|
|
64
64
|
|
|
@@ -102,9 +102,9 @@ Name | Type | Description | Notes
|
|
|
102
102
|
- **Accept**: application/json
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
##
|
|
105
|
+
## read
|
|
106
106
|
|
|
107
|
-
> WorkerResponse
|
|
107
|
+
> WorkerResponse read(worker_href, opts)
|
|
108
108
|
|
|
109
109
|
Inspect a worker
|
|
110
110
|
|
|
@@ -131,10 +131,10 @@ opts = {
|
|
|
131
131
|
|
|
132
132
|
begin
|
|
133
133
|
#Inspect a worker
|
|
134
|
-
result = api_instance.
|
|
134
|
+
result = api_instance.read(worker_href, opts)
|
|
135
135
|
p result
|
|
136
136
|
rescue PulpcoreClient::ApiError => e
|
|
137
|
-
puts "Exception when calling WorkersApi->
|
|
137
|
+
puts "Exception when calling WorkersApi->read: #{e}"
|
|
138
138
|
end
|
|
139
139
|
```
|
|
140
140
|
|