pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- 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 +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
data/docs/UploadsApi.md
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpContainerClient::UploadsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
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
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
7
|
+
[**uploads_add_role**](UploadsApi.md#uploads_add_role) | **POST** {upload_href}add_role/ |
|
8
|
+
[**uploads_commit**](UploadsApi.md#uploads_commit) | **POST** {upload_href}commit/ | Finish an Upload
|
9
|
+
[**uploads_create**](UploadsApi.md#uploads_create) | **POST** /pulp/api/v3/uploads/ | Create an upload
|
10
|
+
[**uploads_delete**](UploadsApi.md#uploads_delete) | **DELETE** {upload_href} | Delete an upload
|
11
|
+
[**uploads_list**](UploadsApi.md#uploads_list) | **GET** /pulp/api/v3/uploads/ | List uploads
|
12
|
+
[**uploads_list_roles**](UploadsApi.md#uploads_list_roles) | **GET** {upload_href}list_roles/ |
|
13
|
+
[**uploads_my_permissions**](UploadsApi.md#uploads_my_permissions) | **GET** {upload_href}my_permissions/ |
|
14
|
+
[**uploads_read**](UploadsApi.md#uploads_read) | **GET** {upload_href} | Inspect an upload
|
15
|
+
[**uploads_remove_role**](UploadsApi.md#uploads_remove_role) | **POST** {upload_href}remove_role/ |
|
16
|
+
[**uploads_update**](UploadsApi.md#uploads_update) | **PUT** {upload_href} | Upload a file chunk
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
##
|
20
|
+
## uploads_add_role
|
21
21
|
|
22
|
-
> NestedRoleResponse
|
22
|
+
> NestedRoleResponse uploads_add_role(upload_href, upload)
|
23
23
|
|
24
24
|
|
25
25
|
|
@@ -42,10 +42,10 @@ upload_href = 'upload_href_example' # String |
|
|
42
42
|
upload = PulpContainerClient::Upload.new # Upload |
|
43
43
|
|
44
44
|
begin
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.uploads_add_role(upload_href, upload)
|
46
46
|
p result
|
47
47
|
rescue PulpContainerClient::ApiError => e
|
48
|
-
puts "Exception when calling UploadsApi->
|
48
|
+
puts "Exception when calling UploadsApi->uploads_add_role: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
|
|
71
71
|
- **Accept**: application/json
|
72
72
|
|
73
73
|
|
74
|
-
##
|
74
|
+
## uploads_commit
|
75
75
|
|
76
|
-
> AsyncOperationResponse
|
76
|
+
> AsyncOperationResponse uploads_commit(upload_href, upload_commit)
|
77
77
|
|
78
78
|
Finish an Upload
|
79
79
|
|
@@ -97,10 +97,10 @@ upload_commit = PulpContainerClient::UploadCommit.new # UploadCommit |
|
|
97
97
|
|
98
98
|
begin
|
99
99
|
#Finish an Upload
|
100
|
-
result = api_instance.
|
100
|
+
result = api_instance.uploads_commit(upload_href, upload_commit)
|
101
101
|
p result
|
102
102
|
rescue PulpContainerClient::ApiError => e
|
103
|
-
puts "Exception when calling UploadsApi->
|
103
|
+
puts "Exception when calling UploadsApi->uploads_commit: #{e}"
|
104
104
|
end
|
105
105
|
```
|
106
106
|
|
@@ -126,9 +126,9 @@ Name | Type | Description | Notes
|
|
126
126
|
- **Accept**: application/json
|
127
127
|
|
128
128
|
|
129
|
-
##
|
129
|
+
## uploads_create
|
130
130
|
|
131
|
-
> UploadResponse
|
131
|
+
> UploadResponse uploads_create(upload)
|
132
132
|
|
133
133
|
Create an upload
|
134
134
|
|
@@ -151,10 +151,10 @@ upload = PulpContainerClient::Upload.new # Upload |
|
|
151
151
|
|
152
152
|
begin
|
153
153
|
#Create an upload
|
154
|
-
result = api_instance.
|
154
|
+
result = api_instance.uploads_create(upload)
|
155
155
|
p result
|
156
156
|
rescue PulpContainerClient::ApiError => e
|
157
|
-
puts "Exception when calling UploadsApi->
|
157
|
+
puts "Exception when calling UploadsApi->uploads_create: #{e}"
|
158
158
|
end
|
159
159
|
```
|
160
160
|
|
@@ -179,9 +179,9 @@ Name | Type | Description | Notes
|
|
179
179
|
- **Accept**: application/json
|
180
180
|
|
181
181
|
|
182
|
-
##
|
182
|
+
## uploads_delete
|
183
183
|
|
184
|
-
>
|
184
|
+
> uploads_delete(upload_href)
|
185
185
|
|
186
186
|
Delete an upload
|
187
187
|
|
@@ -204,9 +204,9 @@ upload_href = 'upload_href_example' # String |
|
|
204
204
|
|
205
205
|
begin
|
206
206
|
#Delete an upload
|
207
|
-
api_instance.
|
207
|
+
api_instance.uploads_delete(upload_href)
|
208
208
|
rescue PulpContainerClient::ApiError => e
|
209
|
-
puts "Exception when calling UploadsApi->
|
209
|
+
puts "Exception when calling UploadsApi->uploads_delete: #{e}"
|
210
210
|
end
|
211
211
|
```
|
212
212
|
|
@@ -231,9 +231,9 @@ nil (empty response body)
|
|
231
231
|
- **Accept**: Not defined
|
232
232
|
|
233
233
|
|
234
|
-
##
|
234
|
+
## uploads_list
|
235
235
|
|
236
|
-
> PaginatedUploadResponseList
|
236
|
+
> PaginatedUploadResponseList uploads_list(opts)
|
237
237
|
|
238
238
|
List uploads
|
239
239
|
|
@@ -255,9 +255,7 @@ api_instance = PulpContainerClient::UploadsApi.new
|
|
255
255
|
opts = {
|
256
256
|
limit: 56, # Integer | Number of results to return per page.
|
257
257
|
offset: 56, # Integer | The initial index from which to return the results.
|
258
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
259
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
260
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
258
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
261
259
|
size: 56, # Integer | Filter results where size matches value
|
262
260
|
size__gt: 56, # Integer | Filter results where size is greater than value
|
263
261
|
size__lt: 56, # Integer | Filter results where size is less than value
|
@@ -268,10 +266,10 @@ opts = {
|
|
268
266
|
|
269
267
|
begin
|
270
268
|
#List uploads
|
271
|
-
result = api_instance.
|
269
|
+
result = api_instance.uploads_list(opts)
|
272
270
|
p result
|
273
271
|
rescue PulpContainerClient::ApiError => e
|
274
|
-
puts "Exception when calling UploadsApi->
|
272
|
+
puts "Exception when calling UploadsApi->uploads_list: #{e}"
|
275
273
|
end
|
276
274
|
```
|
277
275
|
|
@@ -282,9 +280,7 @@ Name | Type | Description | Notes
|
|
282
280
|
------------- | ------------- | ------------- | -------------
|
283
281
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
284
282
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
285
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
286
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
287
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
283
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
288
284
|
**size** | **Integer**| Filter results where size matches value | [optional]
|
289
285
|
**size__gt** | **Integer**| Filter results where size is greater than value | [optional]
|
290
286
|
**size__lt** | **Integer**| Filter results where size is less than value | [optional]
|
@@ -306,9 +302,9 @@ Name | Type | Description | Notes
|
|
306
302
|
- **Accept**: application/json
|
307
303
|
|
308
304
|
|
309
|
-
##
|
305
|
+
## uploads_list_roles
|
310
306
|
|
311
|
-
> ObjectRolesResponse
|
307
|
+
> ObjectRolesResponse uploads_list_roles(upload_href, opts)
|
312
308
|
|
313
309
|
|
314
310
|
|
@@ -334,10 +330,10 @@ opts = {
|
|
334
330
|
}
|
335
331
|
|
336
332
|
begin
|
337
|
-
result = api_instance.
|
333
|
+
result = api_instance.uploads_list_roles(upload_href, opts)
|
338
334
|
p result
|
339
335
|
rescue PulpContainerClient::ApiError => e
|
340
|
-
puts "Exception when calling UploadsApi->
|
336
|
+
puts "Exception when calling UploadsApi->uploads_list_roles: #{e}"
|
341
337
|
end
|
342
338
|
```
|
343
339
|
|
@@ -364,9 +360,9 @@ Name | Type | Description | Notes
|
|
364
360
|
- **Accept**: application/json
|
365
361
|
|
366
362
|
|
367
|
-
##
|
363
|
+
## uploads_my_permissions
|
368
364
|
|
369
|
-
> MyPermissionsResponse
|
365
|
+
> MyPermissionsResponse uploads_my_permissions(upload_href, opts)
|
370
366
|
|
371
367
|
|
372
368
|
|
@@ -392,10 +388,10 @@ opts = {
|
|
392
388
|
}
|
393
389
|
|
394
390
|
begin
|
395
|
-
result = api_instance.
|
391
|
+
result = api_instance.uploads_my_permissions(upload_href, opts)
|
396
392
|
p result
|
397
393
|
rescue PulpContainerClient::ApiError => e
|
398
|
-
puts "Exception when calling UploadsApi->
|
394
|
+
puts "Exception when calling UploadsApi->uploads_my_permissions: #{e}"
|
399
395
|
end
|
400
396
|
```
|
401
397
|
|
@@ -422,9 +418,9 @@ Name | Type | Description | Notes
|
|
422
418
|
- **Accept**: application/json
|
423
419
|
|
424
420
|
|
425
|
-
##
|
421
|
+
## uploads_read
|
426
422
|
|
427
|
-
> UploadDetailResponse
|
423
|
+
> UploadDetailResponse uploads_read(upload_href, opts)
|
428
424
|
|
429
425
|
Inspect an upload
|
430
426
|
|
@@ -451,10 +447,10 @@ opts = {
|
|
451
447
|
|
452
448
|
begin
|
453
449
|
#Inspect an upload
|
454
|
-
result = api_instance.
|
450
|
+
result = api_instance.uploads_read(upload_href, opts)
|
455
451
|
p result
|
456
452
|
rescue PulpContainerClient::ApiError => e
|
457
|
-
puts "Exception when calling UploadsApi->
|
453
|
+
puts "Exception when calling UploadsApi->uploads_read: #{e}"
|
458
454
|
end
|
459
455
|
```
|
460
456
|
|
@@ -481,9 +477,9 @@ Name | Type | Description | Notes
|
|
481
477
|
- **Accept**: application/json
|
482
478
|
|
483
479
|
|
484
|
-
##
|
480
|
+
## uploads_remove_role
|
485
481
|
|
486
|
-
> NestedRoleResponse
|
482
|
+
> NestedRoleResponse uploads_remove_role(upload_href, upload)
|
487
483
|
|
488
484
|
|
489
485
|
|
@@ -506,10 +502,10 @@ upload_href = 'upload_href_example' # String |
|
|
506
502
|
upload = PulpContainerClient::Upload.new # Upload |
|
507
503
|
|
508
504
|
begin
|
509
|
-
result = api_instance.
|
505
|
+
result = api_instance.uploads_remove_role(upload_href, upload)
|
510
506
|
p result
|
511
507
|
rescue PulpContainerClient::ApiError => e
|
512
|
-
puts "Exception when calling UploadsApi->
|
508
|
+
puts "Exception when calling UploadsApi->uploads_remove_role: #{e}"
|
513
509
|
end
|
514
510
|
```
|
515
511
|
|
@@ -535,9 +531,9 @@ Name | Type | Description | Notes
|
|
535
531
|
- **Accept**: application/json
|
536
532
|
|
537
533
|
|
538
|
-
##
|
534
|
+
## uploads_update
|
539
535
|
|
540
|
-
> UploadResponse
|
536
|
+
> UploadResponse uploads_update(content_range, upload_href, file, opts)
|
541
537
|
|
542
538
|
Upload a file chunk
|
543
539
|
|
@@ -565,10 +561,10 @@ opts = {
|
|
565
561
|
|
566
562
|
begin
|
567
563
|
#Upload a file chunk
|
568
|
-
result = api_instance.
|
564
|
+
result = api_instance.uploads_update(content_range, upload_href, file, opts)
|
569
565
|
p result
|
570
566
|
rescue PulpContainerClient::ApiError => e
|
571
|
-
puts "Exception when calling UploadsApi->
|
567
|
+
puts "Exception when calling UploadsApi->uploads_update: #{e}"
|
572
568
|
end
|
573
569
|
```
|
574
570
|
|
data/docs/UserRole.md
CHANGED
@@ -5,8 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**role** | **String** | |
|
8
|
-
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on
|
9
|
-
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
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. |
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'PulpContainerClient'
|
15
14
|
|
16
15
|
instance = PulpContainerClient::UserRole.new(role: null,
|
17
|
-
content_object: null
|
18
|
-
domain: null)
|
16
|
+
content_object: null)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
data/docs/UserRoleResponse.md
CHANGED
@@ -7,10 +7,9 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**role** | **String** | |
|
10
|
-
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on
|
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]
|
14
13
|
|
15
14
|
## Code Sample
|
16
15
|
|
@@ -22,8 +21,7 @@ instance = PulpContainerClient::UserRoleResponse.new(pulp_href: null,
|
|
22
21
|
role: null,
|
23
22
|
content_object: null,
|
24
23
|
description: null,
|
25
|
-
permissions: null
|
26
|
-
domain: null)
|
24
|
+
permissions: null)
|
27
25
|
```
|
28
26
|
|
29
27
|
|
data/docs/UsersApi.md
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpContainerClient::UsersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
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
|
+
[**users_create**](UsersApi.md#users_create) | **POST** /pulp/api/v3/users/ | Create an user
|
8
|
+
[**users_delete**](UsersApi.md#users_delete) | **DELETE** {auth_user_href} | Delete an user
|
9
|
+
[**users_list**](UsersApi.md#users_list) | **GET** /pulp/api/v3/users/ | List users
|
10
|
+
[**users_partial_update**](UsersApi.md#users_partial_update) | **PATCH** {auth_user_href} | Update an user
|
11
|
+
[**users_read**](UsersApi.md#users_read) | **GET** {auth_user_href} | Inspect an user
|
12
|
+
[**users_update**](UsersApi.md#users_update) | **PUT** {auth_user_href} | Update an user
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## users_create
|
17
17
|
|
18
|
-
> UserResponse
|
18
|
+
> UserResponse users_create(user)
|
19
19
|
|
20
20
|
Create an user
|
21
21
|
|
22
|
-
ViewSet for User.
|
22
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
23
23
|
|
24
24
|
### Example
|
25
25
|
|
@@ -38,10 +38,10 @@ user = PulpContainerClient::User.new # User |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create an user
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.users_create(user)
|
42
42
|
p result
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
44
|
-
puts "Exception when calling UsersApi->
|
44
|
+
puts "Exception when calling UsersApi->users_create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -66,13 +66,13 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## users_delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> users_delete(auth_user_href)
|
72
72
|
|
73
73
|
Delete an user
|
74
74
|
|
75
|
-
ViewSet for User.
|
75
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -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.users_delete(auth_user_href)
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersApi->
|
96
|
+
puts "Exception when calling UsersApi->users_delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,13 +118,13 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## users_list
|
122
122
|
|
123
|
-
> PaginatedUserResponseList
|
123
|
+
> PaginatedUserResponseList users_list(opts)
|
124
124
|
|
125
125
|
List users
|
126
126
|
|
127
|
-
ViewSet for User.
|
127
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
128
128
|
|
129
129
|
### Example
|
130
130
|
|
@@ -159,9 +159,7 @@ opts = {
|
|
159
159
|
last_name__in: ['last_name__in_example'], # Array<String> | Filter results where last_name is in a comma-separated list of values
|
160
160
|
limit: 56, # Integer | Number of results to return per page.
|
161
161
|
offset: 56, # Integer | The initial index from which to return the results.
|
162
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
163
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
164
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
162
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
165
163
|
username: 'username_example', # String | Filter results where username matches value
|
166
164
|
username__contains: 'username__contains_example', # String | Filter results where username contains value
|
167
165
|
username__icontains: 'username__icontains_example', # String | Filter results where username contains value
|
@@ -173,10 +171,10 @@ opts = {
|
|
173
171
|
|
174
172
|
begin
|
175
173
|
#List users
|
176
|
-
result = api_instance.
|
174
|
+
result = api_instance.users_list(opts)
|
177
175
|
p result
|
178
176
|
rescue PulpContainerClient::ApiError => e
|
179
|
-
puts "Exception when calling UsersApi->
|
177
|
+
puts "Exception when calling UsersApi->users_list: #{e}"
|
180
178
|
end
|
181
179
|
```
|
182
180
|
|
@@ -204,9 +202,7 @@ Name | Type | Description | Notes
|
|
204
202
|
**last_name__in** | [**Array<String>**](String.md)| Filter results where last_name is in a comma-separated list of values | [optional]
|
205
203
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
206
204
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
207
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
208
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
209
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
205
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
210
206
|
**username** | **String**| Filter results where username matches value | [optional]
|
211
207
|
**username__contains** | **String**| Filter results where username contains value | [optional]
|
212
208
|
**username__icontains** | **String**| Filter results where username contains value | [optional]
|
@@ -229,13 +225,13 @@ Name | Type | Description | Notes
|
|
229
225
|
- **Accept**: application/json
|
230
226
|
|
231
227
|
|
232
|
-
##
|
228
|
+
## users_partial_update
|
233
229
|
|
234
|
-
> UserResponse
|
230
|
+
> UserResponse users_partial_update(auth_user_href, patched_user)
|
235
231
|
|
236
232
|
Update an user
|
237
233
|
|
238
|
-
ViewSet for User.
|
234
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
239
235
|
|
240
236
|
### Example
|
241
237
|
|
@@ -255,10 +251,10 @@ patched_user = PulpContainerClient::PatchedUser.new # PatchedUser |
|
|
255
251
|
|
256
252
|
begin
|
257
253
|
#Update an user
|
258
|
-
result = api_instance.
|
254
|
+
result = api_instance.users_partial_update(auth_user_href, patched_user)
|
259
255
|
p result
|
260
256
|
rescue PulpContainerClient::ApiError => e
|
261
|
-
puts "Exception when calling UsersApi->
|
257
|
+
puts "Exception when calling UsersApi->users_partial_update: #{e}"
|
262
258
|
end
|
263
259
|
```
|
264
260
|
|
@@ -284,13 +280,13 @@ Name | Type | Description | Notes
|
|
284
280
|
- **Accept**: application/json
|
285
281
|
|
286
282
|
|
287
|
-
##
|
283
|
+
## users_read
|
288
284
|
|
289
|
-
> UserResponse
|
285
|
+
> UserResponse users_read(auth_user_href, opts)
|
290
286
|
|
291
287
|
Inspect an user
|
292
288
|
|
293
|
-
ViewSet for User.
|
289
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
294
290
|
|
295
291
|
### Example
|
296
292
|
|
@@ -313,10 +309,10 @@ opts = {
|
|
313
309
|
|
314
310
|
begin
|
315
311
|
#Inspect an user
|
316
|
-
result = api_instance.
|
312
|
+
result = api_instance.users_read(auth_user_href, opts)
|
317
313
|
p result
|
318
314
|
rescue PulpContainerClient::ApiError => e
|
319
|
-
puts "Exception when calling UsersApi->
|
315
|
+
puts "Exception when calling UsersApi->users_read: #{e}"
|
320
316
|
end
|
321
317
|
```
|
322
318
|
|
@@ -343,13 +339,13 @@ Name | Type | Description | Notes
|
|
343
339
|
- **Accept**: application/json
|
344
340
|
|
345
341
|
|
346
|
-
##
|
342
|
+
## users_update
|
347
343
|
|
348
|
-
> UserResponse
|
344
|
+
> UserResponse users_update(auth_user_href, user)
|
349
345
|
|
350
346
|
Update an user
|
351
347
|
|
352
|
-
ViewSet for User.
|
348
|
+
ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
353
349
|
|
354
350
|
### Example
|
355
351
|
|
@@ -369,10 +365,10 @@ user = PulpContainerClient::User.new # User |
|
|
369
365
|
|
370
366
|
begin
|
371
367
|
#Update an user
|
372
|
-
result = api_instance.
|
368
|
+
result = api_instance.users_update(auth_user_href, user)
|
373
369
|
p result
|
374
370
|
rescue PulpContainerClient::ApiError => e
|
375
|
-
puts "Exception when calling UsersApi->
|
371
|
+
puts "Exception when calling UsersApi->users_update: #{e}"
|
376
372
|
end
|
377
373
|
```
|
378
374
|
|