pulpcore_client 3.5.0 → 3.6.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 +88 -44
- data/docs/AccessPoliciesApi.md +244 -0
- data/docs/AccessPolicy.md +21 -0
- data/docs/AccessPolicyResponse.md +25 -0
- data/docs/Artifact.md +2 -6
- data/docs/ArtifactResponse.md +35 -0
- data/docs/ArtifactsApi.md +40 -34
- data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
- data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
- data/docs/ExportersCoreExportsApi.md +33 -33
- data/docs/ExportersPulpApi.md +51 -51
- data/docs/Group.md +17 -0
- data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
- data/docs/GroupResponse.md +21 -0
- data/docs/GroupUser.md +17 -0
- data/docs/GroupUserResponse.md +19 -0
- data/docs/GroupsApi.md +351 -0
- data/docs/GroupsModelPermissionsApi.md +128 -0
- data/docs/GroupsObjectPermissionsApi.md +247 -0
- data/docs/GroupsUsersApi.md +183 -0
- data/docs/{Import.md → ImportResponse.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +33 -33
- data/docs/ImportersPulpApi.md +51 -51
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/OrphansApi.md +2 -2
- data/docs/PatchedAccessPolicy.md +21 -0
- data/docs/PatchedGroup.md +17 -0
- data/docs/PatchedPulpExporter.md +23 -0
- data/docs/PatchedPulpImporter.md +19 -0
- data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
- data/docs/PermissionResponse.md +23 -0
- data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
- data/docs/PulpExport.md +11 -11
- data/docs/PulpExportResponse.md +27 -0
- data/docs/PulpExporter.md +1 -5
- data/docs/PulpExporterResponse.md +27 -0
- data/docs/PulpImport.md +4 -2
- data/docs/PulpImporter.md +2 -6
- data/docs/PulpImporterResponse.md +23 -0
- data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
- data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
- data/docs/SigningServicesApi.md +14 -14
- data/docs/StatusApi.md +8 -22
- data/docs/StatusResponse.md +27 -0
- data/docs/{Storage.md → StorageResponse.md} +2 -2
- data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
- data/docs/TaskGroupsApi.md +16 -12
- data/docs/{Task.md → TaskResponse.md} +5 -7
- data/docs/TasksApi.md +144 -88
- data/docs/Upload.md +1 -7
- data/docs/UploadChunk.md +2 -6
- data/docs/UploadChunkResponse.md +19 -0
- data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
- data/docs/UploadResponse.md +23 -0
- data/docs/UploadsApi.md +42 -40
- data/docs/UserGroupResponse.md +19 -0
- data/docs/UserResponse.md +35 -0
- data/docs/UsersApi.md +191 -0
- data/docs/{Version.md → VersionResponse.md} +2 -2
- data/docs/{Worker.md → WorkerResponse.md} +2 -2
- data/docs/WorkersApi.md +36 -32
- data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/groups_api.rb +425 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
- data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/orphans_api.rb +3 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
- data/lib/pulpcore_client/api/status_api.rb +11 -17
- data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
- data/lib/pulpcore_client/api/tasks_api.rb +203 -125
- data/lib/pulpcore_client/api/uploads_api.rb +60 -66
- data/lib/pulpcore_client/api/users_api.rb +227 -0
- data/lib/pulpcore_client/api/workers_api.rb +46 -42
- data/lib/pulpcore_client/api_client.rb +2 -2
- data/lib/pulpcore_client/api_error.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/access_policy.rb +247 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
- data/lib/pulpcore_client/models/artifact.rb +8 -111
- data/lib/pulpcore_client/models/artifact_response.rb +308 -0
- data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
- data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
- data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/group.rb +232 -0
- data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
- data/lib/pulpcore_client/models/group_response.rb +250 -0
- data/lib/pulpcore_client/models/group_user.rb +232 -0
- data/lib/pulpcore_client/models/group_user_response.rb +241 -0
- data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
- data/lib/pulpcore_client/models/inline_response200.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
- data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
- data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
- data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
- data/lib/pulpcore_client/models/patched_group.rb +223 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
- data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
- data/lib/pulpcore_client/models/permission_response.rb +235 -0
- data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
- data/lib/pulpcore_client/models/pulp_export.rb +50 -42
- data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
- data/lib/pulpcore_client/models/pulp_import.rb +17 -30
- data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
- data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
- data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
- data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
- data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
- data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
- data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
- data/lib/pulpcore_client/models/upload.rb +7 -35
- data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
- data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
- data/lib/pulpcore_client/models/upload_commit.rb +2 -21
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
- data/lib/pulpcore_client/models/upload_response.rb +242 -0
- data/lib/pulpcore_client/models/user_group_response.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +378 -0
- data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
- data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
- data/lib/pulpcore_client/version.rb +3 -3
- data/lib/pulpcore_client.rb +47 -17
- data/pulpcore_client.gemspec +4 -4
- data/spec/api/access_policies_api_spec.rb +91 -0
- data/spec/api/artifacts_api_spec.rb +18 -15
- data/spec/api/exporters_core_exports_api_spec.rb +10 -10
- data/spec/api/exporters_pulp_api_spec.rb +18 -18
- data/spec/api/groups_api_spec.rb +115 -0
- data/spec/api/groups_model_permissions_api_spec.rb +64 -0
- data/spec/api/groups_object_permissions_api_spec.rb +92 -0
- data/spec/api/groups_users_api_spec.rb +77 -0
- data/spec/api/importers_core_imports_api_spec.rb +10 -10
- data/spec/api/importers_pulp_api_spec.rb +18 -18
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +8 -6
- data/spec/api/tasks_api_spec.rb +69 -42
- data/spec/api/uploads_api_spec.rb +14 -13
- data/spec/api/users_api_spec.rb +78 -0
- data/spec/api/workers_api_spec.rb +18 -16
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_policy_response_spec.rb +65 -0
- data/spec/models/access_policy_spec.rb +53 -0
- data/spec/models/artifact_response_spec.rb +95 -0
- data/spec/models/artifact_spec.rb +2 -14
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
- data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
- data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
- data/spec/models/group_response_spec.rb +53 -0
- data/spec/models/group_spec.rb +41 -0
- data/spec/models/group_user_response_spec.rb +47 -0
- data/spec/models/group_user_spec.rb +41 -0
- data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patched_access_policy_spec.rb +53 -0
- data/spec/models/patched_group_spec.rb +41 -0
- data/spec/models/patched_pulp_exporter_spec.rb +59 -0
- data/spec/models/patched_pulp_importer_spec.rb +47 -0
- data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
- data/spec/models/permission_response_spec.rb +59 -0
- data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
- data/spec/models/pulp_export_response_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +8 -8
- data/spec/models/pulp_exporter_response_spec.rb +71 -0
- data/spec/models/pulp_exporter_spec.rb +2 -14
- data/spec/models/pulp_import_spec.rb +8 -2
- data/spec/models/pulp_importer_response_spec.rb +59 -0
- data/spec/models/pulp_importer_spec.rb +2 -14
- data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
- data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
- data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
- data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
- data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
- data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
- data/spec/models/upload_chunk_response_spec.rb +47 -0
- data/spec/models/upload_chunk_spec.rb +2 -14
- data/spec/models/upload_commit_spec.rb +2 -2
- data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
- data/spec/models/upload_response_spec.rb +59 -0
- data/spec/models/upload_spec.rb +2 -20
- data/spec/models/user_group_response_spec.rb +47 -0
- data/spec/models/user_response_spec.rb +95 -0
- data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
- data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +204 -84
- data/docs/Status.md +0 -27
data/docs/ArtifactsApi.md
CHANGED
@@ -13,10 +13,12 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
>
|
16
|
+
> ArtifactResponse create(file, opts)
|
17
17
|
|
18
18
|
Create an artifact
|
19
19
|
|
20
|
+
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
21
|
+
|
20
22
|
### Example
|
21
23
|
|
22
24
|
```ruby
|
@@ -24,7 +26,7 @@ Create an artifact
|
|
24
26
|
require 'pulpcore_client'
|
25
27
|
# setup authorization
|
26
28
|
PulpcoreClient.configure do |config|
|
27
|
-
# Configure HTTP basic authorization:
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
28
30
|
config.username = 'YOUR USERNAME'
|
29
31
|
config.password = 'YOUR PASSWORD'
|
30
32
|
end
|
@@ -66,11 +68,11 @@ Name | Type | Description | Notes
|
|
66
68
|
|
67
69
|
### Return type
|
68
70
|
|
69
|
-
[**
|
71
|
+
[**ArtifactResponse**](ArtifactResponse.md)
|
70
72
|
|
71
73
|
### Authorization
|
72
74
|
|
73
|
-
[
|
75
|
+
[basicAuth](../README.md#basicAuth)
|
74
76
|
|
75
77
|
### HTTP request headers
|
76
78
|
|
@@ -93,13 +95,13 @@ Remove Artifact only if it is not associated with any Content.
|
|
93
95
|
require 'pulpcore_client'
|
94
96
|
# setup authorization
|
95
97
|
PulpcoreClient.configure do |config|
|
96
|
-
# Configure HTTP basic authorization:
|
98
|
+
# Configure HTTP basic authorization: basicAuth
|
97
99
|
config.username = 'YOUR USERNAME'
|
98
100
|
config.password = 'YOUR PASSWORD'
|
99
101
|
end
|
100
102
|
|
101
103
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
102
|
-
artifact_href = 'artifact_href_example' # String |
|
104
|
+
artifact_href = 'artifact_href_example' # String |
|
103
105
|
|
104
106
|
begin
|
105
107
|
#Delete an artifact
|
@@ -114,7 +116,7 @@ end
|
|
114
116
|
|
115
117
|
Name | Type | Description | Notes
|
116
118
|
------------- | ------------- | ------------- | -------------
|
117
|
-
**artifact_href** | **String**|
|
119
|
+
**artifact_href** | **String**| |
|
118
120
|
|
119
121
|
### Return type
|
120
122
|
|
@@ -122,7 +124,7 @@ nil (empty response body)
|
|
122
124
|
|
123
125
|
### Authorization
|
124
126
|
|
125
|
-
[
|
127
|
+
[basicAuth](../README.md#basicAuth)
|
126
128
|
|
127
129
|
### HTTP request headers
|
128
130
|
|
@@ -132,10 +134,12 @@ nil (empty response body)
|
|
132
134
|
|
133
135
|
## list
|
134
136
|
|
135
|
-
>
|
137
|
+
> InlineResponse2001 list(opts)
|
136
138
|
|
137
139
|
List artifacts
|
138
140
|
|
141
|
+
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
142
|
+
|
139
143
|
### Example
|
140
144
|
|
141
145
|
```ruby
|
@@ -143,23 +147,23 @@ List artifacts
|
|
143
147
|
require 'pulpcore_client'
|
144
148
|
# setup authorization
|
145
149
|
PulpcoreClient.configure do |config|
|
146
|
-
# Configure HTTP basic authorization:
|
150
|
+
# Configure HTTP basic authorization: basicAuth
|
147
151
|
config.username = 'YOUR USERNAME'
|
148
152
|
config.password = 'YOUR PASSWORD'
|
149
153
|
end
|
150
154
|
|
151
155
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
152
156
|
opts = {
|
153
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
-
md5: 'md5_example', # String | Filter results where md5 matches value
|
155
|
-
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
156
|
-
sha384: 'sha384_example', # String | Filter results where sha384 matches value
|
157
|
-
sha1: 'sha1_example', # String | Filter results where sha1 matches value
|
158
|
-
sha224: 'sha224_example', # String | Filter results where sha224 matches value
|
159
|
-
sha512: 'sha512_example', # String | Filter results where sha512 matches value
|
160
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
161
157
|
limit: 56, # Integer | Number of results to return per page.
|
158
|
+
md5: 'md5_example', # String | md5
|
162
159
|
offset: 56, # Integer | The initial index from which to return the results.
|
160
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
161
|
+
repository_version: 'repository_version_example', # String | repository_version
|
162
|
+
sha1: 'sha1_example', # String | sha1
|
163
|
+
sha224: 'sha224_example', # String | sha224
|
164
|
+
sha256: 'sha256_example', # String | sha256
|
165
|
+
sha384: 'sha384_example', # String | sha384
|
166
|
+
sha512: 'sha512_example', # String | sha512
|
163
167
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
164
168
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
165
169
|
}
|
@@ -178,26 +182,26 @@ end
|
|
178
182
|
|
179
183
|
Name | Type | Description | Notes
|
180
184
|
------------- | ------------- | ------------- | -------------
|
181
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
182
|
-
**md5** | **String**| Filter results where md5 matches value | [optional]
|
183
|
-
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
184
|
-
**sha384** | **String**| Filter results where sha384 matches value | [optional]
|
185
|
-
**sha1** | **String**| Filter results where sha1 matches value | [optional]
|
186
|
-
**sha224** | **String**| Filter results where sha224 matches value | [optional]
|
187
|
-
**sha512** | **String**| Filter results where sha512 matches value | [optional]
|
188
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
189
185
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
186
|
+
**md5** | **String**| md5 | [optional]
|
190
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
188
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
189
|
+
**repository_version** | **String**| repository_version | [optional]
|
190
|
+
**sha1** | **String**| sha1 | [optional]
|
191
|
+
**sha224** | **String**| sha224 | [optional]
|
192
|
+
**sha256** | **String**| sha256 | [optional]
|
193
|
+
**sha384** | **String**| sha384 | [optional]
|
194
|
+
**sha512** | **String**| sha512 | [optional]
|
191
195
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
192
196
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
193
197
|
|
194
198
|
### Return type
|
195
199
|
|
196
|
-
[**
|
200
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
197
201
|
|
198
202
|
### Authorization
|
199
203
|
|
200
|
-
[
|
204
|
+
[basicAuth](../README.md#basicAuth)
|
201
205
|
|
202
206
|
### HTTP request headers
|
203
207
|
|
@@ -207,10 +211,12 @@ Name | Type | Description | Notes
|
|
207
211
|
|
208
212
|
## read
|
209
213
|
|
210
|
-
>
|
214
|
+
> ArtifactResponse read(artifact_href, opts)
|
211
215
|
|
212
216
|
Inspect an artifact
|
213
217
|
|
218
|
+
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
219
|
+
|
214
220
|
### Example
|
215
221
|
|
216
222
|
```ruby
|
@@ -218,13 +224,13 @@ Inspect an artifact
|
|
218
224
|
require 'pulpcore_client'
|
219
225
|
# setup authorization
|
220
226
|
PulpcoreClient.configure do |config|
|
221
|
-
# Configure HTTP basic authorization:
|
227
|
+
# Configure HTTP basic authorization: basicAuth
|
222
228
|
config.username = 'YOUR USERNAME'
|
223
229
|
config.password = 'YOUR PASSWORD'
|
224
230
|
end
|
225
231
|
|
226
232
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
227
|
-
artifact_href = 'artifact_href_example' # String |
|
233
|
+
artifact_href = 'artifact_href_example' # String |
|
228
234
|
opts = {
|
229
235
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
230
236
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -244,17 +250,17 @@ end
|
|
244
250
|
|
245
251
|
Name | Type | Description | Notes
|
246
252
|
------------- | ------------- | ------------- | -------------
|
247
|
-
**artifact_href** | **String**|
|
253
|
+
**artifact_href** | **String**| |
|
248
254
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
249
255
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
250
256
|
|
251
257
|
### Return type
|
252
258
|
|
253
|
-
[**
|
259
|
+
[**ArtifactResponse**](ArtifactResponse.md)
|
254
260
|
|
255
261
|
### Authorization
|
256
262
|
|
257
|
-
[
|
263
|
+
[basicAuth](../README.md#basicAuth)
|
258
264
|
|
259
265
|
### HTTP request headers
|
260
266
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::ContentAppStatusResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
```ruby
|
13
13
|
require 'PulpcoreClient'
|
14
14
|
|
15
|
-
instance = PulpcoreClient::
|
15
|
+
instance = PulpcoreClient::ContentAppStatusResponse.new(name: null,
|
16
16
|
last_heartbeat: null)
|
17
17
|
```
|
18
18
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::DatabaseConnectionResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
```ruby
|
12
12
|
require 'PulpcoreClient'
|
13
13
|
|
14
|
-
instance = PulpcoreClient::
|
14
|
+
instance = PulpcoreClient::DatabaseConnectionResponse.new(connected: null)
|
15
15
|
```
|
16
16
|
|
17
17
|
|
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ExportersCoreExportsApi.md#create) | **POST** {
|
8
|
-
[**delete**](ExportersCoreExportsApi.md#delete) | **DELETE** {
|
7
|
+
[**create**](ExportersCoreExportsApi.md#create) | **POST** {core_pulp_pulp_export_href}exports/ | Create a pulp export
|
8
|
+
[**delete**](ExportersCoreExportsApi.md#delete) | **DELETE** {core_pulp_pulp_export_href} | Delete a pulp export
|
9
9
|
[**list**](ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
10
|
-
[**read**](ExportersCoreExportsApi.md#read) | **GET** {
|
10
|
+
[**read**](ExportersCoreExportsApi.md#read) | **GET** {core_pulp_pulp_export_href} | Inspect a pulp export
|
11
11
|
|
12
12
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse create(
|
16
|
+
> AsyncOperationResponse create(core_pulp_pulp_export_href, pulp_export)
|
17
17
|
|
18
18
|
Create a pulp export
|
19
19
|
|
@@ -26,18 +26,18 @@ Trigger an asynchronous task to export a set of repositories
|
|
26
26
|
require 'pulpcore_client'
|
27
27
|
# setup authorization
|
28
28
|
PulpcoreClient.configure do |config|
|
29
|
-
# Configure HTTP basic authorization:
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
30
30
|
config.username = 'YOUR USERNAME'
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
35
|
-
|
36
|
-
|
35
|
+
core_pulp_pulp_export_href = 'core_pulp_pulp_export_href_example' # String |
|
36
|
+
pulp_export = PulpcoreClient::PulpExport.new # PulpExport |
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create a pulp export
|
40
|
-
result = api_instance.create(
|
40
|
+
result = api_instance.create(core_pulp_pulp_export_href, pulp_export)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
43
|
puts "Exception when calling ExportersCoreExportsApi->create: #{e}"
|
@@ -49,8 +49,8 @@ end
|
|
49
49
|
|
50
50
|
Name | Type | Description | Notes
|
51
51
|
------------- | ------------- | ------------- | -------------
|
52
|
-
**
|
53
|
-
**
|
52
|
+
**core_pulp_pulp_export_href** | **String**| |
|
53
|
+
**pulp_export** | [**PulpExport**](PulpExport.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
|
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
61
|
-
[
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
62
62
|
|
63
63
|
### HTTP request headers
|
64
64
|
|
65
|
-
- **Content-Type**: application/json
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(
|
71
|
+
> delete(core_pulp_pulp_export_href)
|
72
72
|
|
73
73
|
Delete a pulp export
|
74
74
|
|
@@ -81,17 +81,17 @@ ViewSet for viewing exports from a PulpExporter.
|
|
81
81
|
require 'pulpcore_client'
|
82
82
|
# setup authorization
|
83
83
|
PulpcoreClient.configure do |config|
|
84
|
-
# Configure HTTP basic authorization:
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
85
85
|
config.username = 'YOUR USERNAME'
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
90
|
-
|
90
|
+
core_pulp_pulp_export_href = 'core_pulp_pulp_export_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp export
|
94
|
-
api_instance.delete(
|
94
|
+
api_instance.delete(core_pulp_pulp_export_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
96
|
puts "Exception when calling ExportersCoreExportsApi->delete: #{e}"
|
97
97
|
end
|
@@ -102,7 +102,7 @@ end
|
|
102
102
|
|
103
103
|
Name | Type | Description | Notes
|
104
104
|
------------- | ------------- | ------------- | -------------
|
105
|
-
**
|
105
|
+
**core_pulp_pulp_export_href** | **String**| |
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
@@ -110,7 +110,7 @@ nil (empty response body)
|
|
110
110
|
|
111
111
|
### Authorization
|
112
112
|
|
113
|
-
[
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
114
114
|
|
115
115
|
### HTTP request headers
|
116
116
|
|
@@ -120,7 +120,7 @@ nil (empty response body)
|
|
120
120
|
|
121
121
|
## list
|
122
122
|
|
123
|
-
>
|
123
|
+
> InlineResponse2003 list(pulp_exporter_href, opts)
|
124
124
|
|
125
125
|
List pulp exports
|
126
126
|
|
@@ -133,17 +133,17 @@ ViewSet for viewing exports from a PulpExporter.
|
|
133
133
|
require 'pulpcore_client'
|
134
134
|
# setup authorization
|
135
135
|
PulpcoreClient.configure do |config|
|
136
|
-
# Configure HTTP basic authorization:
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
137
137
|
config.username = 'YOUR USERNAME'
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
141
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
142
|
-
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
142
|
+
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
143
143
|
opts = {
|
144
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
145
144
|
limit: 56, # Integer | Number of results to return per page.
|
146
145
|
offset: 56, # Integer | The initial index from which to return the results.
|
146
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
147
147
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
148
148
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
149
149
|
}
|
@@ -162,20 +162,20 @@ end
|
|
162
162
|
|
163
163
|
Name | Type | Description | Notes
|
164
164
|
------------- | ------------- | ------------- | -------------
|
165
|
-
**pulp_exporter_href** | **String**|
|
166
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
165
|
+
**pulp_exporter_href** | **String**| |
|
167
166
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
168
167
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
168
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
169
169
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
170
170
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
171
171
|
|
172
172
|
### Return type
|
173
173
|
|
174
|
-
[**
|
174
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
175
175
|
|
176
176
|
### Authorization
|
177
177
|
|
178
|
-
[
|
178
|
+
[basicAuth](../README.md#basicAuth)
|
179
179
|
|
180
180
|
### HTTP request headers
|
181
181
|
|
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
|
185
185
|
|
186
186
|
## read
|
187
187
|
|
188
|
-
>
|
188
|
+
> PulpExportResponse read(core_pulp_pulp_export_href, opts)
|
189
189
|
|
190
190
|
Inspect a pulp export
|
191
191
|
|
@@ -198,13 +198,13 @@ ViewSet for viewing exports from a PulpExporter.
|
|
198
198
|
require 'pulpcore_client'
|
199
199
|
# setup authorization
|
200
200
|
PulpcoreClient.configure do |config|
|
201
|
-
# Configure HTTP basic authorization:
|
201
|
+
# Configure HTTP basic authorization: basicAuth
|
202
202
|
config.username = 'YOUR USERNAME'
|
203
203
|
config.password = 'YOUR PASSWORD'
|
204
204
|
end
|
205
205
|
|
206
206
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
207
|
-
|
207
|
+
core_pulp_pulp_export_href = 'core_pulp_pulp_export_href_example' # String |
|
208
208
|
opts = {
|
209
209
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
210
210
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -212,7 +212,7 @@ opts = {
|
|
212
212
|
|
213
213
|
begin
|
214
214
|
#Inspect a pulp export
|
215
|
-
result = api_instance.read(
|
215
|
+
result = api_instance.read(core_pulp_pulp_export_href, opts)
|
216
216
|
p result
|
217
217
|
rescue PulpcoreClient::ApiError => e
|
218
218
|
puts "Exception when calling ExportersCoreExportsApi->read: #{e}"
|
@@ -224,17 +224,17 @@ end
|
|
224
224
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
|
-
**
|
227
|
+
**core_pulp_pulp_export_href** | **String**| |
|
228
228
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
229
229
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
230
230
|
|
231
231
|
### Return type
|
232
232
|
|
233
|
-
[**
|
233
|
+
[**PulpExportResponse**](PulpExportResponse.md)
|
234
234
|
|
235
235
|
### Authorization
|
236
236
|
|
237
|
-
[
|
237
|
+
[basicAuth](../README.md#basicAuth)
|
238
238
|
|
239
239
|
### HTTP request headers
|
240
240
|
|