pulpcore_client 3.69.2 → 3.70.1
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 +22 -17
- data/docs/AccessPoliciesApi.md +169 -84
- data/docs/AccessPolicy.md +14 -13
- data/docs/AccessPolicyResponse.md +26 -25
- data/docs/ApiAppStatusResponse.md +12 -11
- data/docs/ArtifactDistributionResponse.md +28 -27
- data/docs/ArtifactResponse.md +30 -29
- data/docs/ArtifactsApi.md +145 -78
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/CompositeContentGuard.md +12 -11
- data/docs/CompositeContentGuardResponse.md +20 -19
- data/docs/ContentApi.md +52 -36
- data/docs/ContentAppStatusResponse.md +12 -11
- data/docs/ContentGuardResponse.md +18 -17
- data/docs/ContentOpenpgpPublickeyApi.md +111 -61
- data/docs/ContentOpenpgpPublicsubkeyApi.md +80 -47
- data/docs/ContentOpenpgpSignatureApi.md +80 -47
- data/docs/ContentOpenpgpUserattributeApi.md +80 -47
- data/docs/ContentOpenpgpUseridApi.md +89 -56
- data/docs/ContentRedirectContentGuard.md +10 -9
- data/docs/ContentRedirectContentGuardResponse.md +18 -17
- data/docs/ContentSettingsResponse.md +10 -9
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentguardsApi.md +57 -41
- data/docs/ContentguardsCompositeApi.md +315 -146
- data/docs/ContentguardsContentRedirectApi.md +315 -146
- data/docs/ContentguardsHeaderApi.md +315 -146
- data/docs/ContentguardsRbacApi.md +315 -146
- data/docs/DatabaseConnectionResponse.md +8 -7
- data/docs/DistributionResponse.md +30 -29
- data/docs/DistributionsApi.md +68 -52
- data/docs/DistributionsArtifactsApi.md +95 -62
- data/docs/DistributionsOpenpgpApi.md +248 -113
- data/docs/Domain.md +18 -17
- data/docs/DomainBackendMigrator.md +10 -9
- data/docs/DomainResponse.md +26 -25
- data/docs/DomainsApi.md +224 -106
- data/docs/EvaluationResponse.md +12 -11
- data/docs/ExportersFilesystemApi.md +196 -95
- data/docs/ExportersFilesystemExportsApi.md +120 -53
- data/docs/ExportersPulpApi.md +196 -95
- data/docs/ExportersPulpExportsApi.md +120 -53
- data/docs/FilesystemExport.md +14 -13
- data/docs/FilesystemExportResponse.md +20 -19
- data/docs/FilesystemExporter.md +12 -11
- data/docs/FilesystemExporterResponse.md +20 -19
- data/docs/GenericRemoteResponse.md +58 -0
- data/docs/GenericRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/Group.md +8 -7
- data/docs/GroupProgressReportResponse.md +16 -15
- data/docs/GroupResponse.md +14 -13
- data/docs/GroupRole.md +12 -11
- data/docs/GroupRoleResponse.md +24 -23
- data/docs/GroupUser.md +8 -7
- data/docs/GroupUserResponse.md +12 -11
- data/docs/GroupsApi.md +314 -145
- data/docs/GroupsRolesApi.md +139 -72
- data/docs/GroupsUsersApi.md +90 -40
- data/docs/HeaderContentGuard.md +16 -15
- data/docs/HeaderContentGuardResponse.md +24 -23
- data/docs/ImportResponse.md +18 -17
- data/docs/ImportersPulpApi.md +195 -94
- data/docs/ImportersPulpImportCheckApi.md +29 -13
- data/docs/ImportersPulpImportsApi.md +120 -53
- data/docs/LivezApi.md +25 -8
- data/docs/LoginApi.md +204 -0
- data/docs/LoginResponse.md +22 -0
- data/docs/MethodEnum.md +4 -5
- data/docs/MinimalTaskResponse.md +26 -25
- data/docs/MultipleArtifactContentResponse.md +16 -15
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedOpenPGPPublicSubkey.md +10 -9
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +12 -11
- data/docs/NestedOpenPGPSignature.md +18 -17
- data/docs/NestedOpenPGPSignatureResponse.md +20 -19
- data/docs/NestedOpenPGPUserAttribute.md +8 -7
- data/docs/NestedOpenPGPUserAttributeResponse.md +10 -9
- data/docs/NestedOpenPGPUserID.md +8 -7
- data/docs/NestedOpenPGPUserIDResponse.md +10 -9
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/OpenPGPDistribution.md +20 -19
- data/docs/OpenPGPDistributionResponse.md +32 -31
- data/docs/OpenPGPKeyring.md +16 -15
- data/docs/OpenPGPKeyringResponse.md +28 -27
- data/docs/OpenPGPPublicKeyResponse.md +24 -23
- data/docs/OpenPGPPublicSubkeyResponse.md +22 -21
- data/docs/OpenPGPSignatureResponse.md +30 -29
- data/docs/OpenPGPUserAttributeResponse.md +20 -19
- data/docs/OpenPGPUserIDResponse.md +20 -19
- data/docs/OrphansApi.md +26 -9
- data/docs/OrphansCleanup.md +10 -9
- data/docs/OrphansCleanupApi.md +29 -12
- data/docs/PaginatedAccessPolicyResponseList.md +14 -13
- data/docs/PaginatedArtifactDistributionResponseList.md +14 -13
- data/docs/PaginatedArtifactResponseList.md +14 -13
- data/docs/PaginatedCompositeContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +14 -13
- data/docs/PaginatedDistributionResponseList.md +14 -13
- data/docs/PaginatedDomainResponseList.md +14 -13
- data/docs/PaginatedFilesystemExportResponseList.md +14 -13
- data/docs/PaginatedFilesystemExporterResponseList.md +14 -13
- data/docs/PaginatedGenericRemoteResponseList.md +24 -0
- data/docs/PaginatedGroupResponseList.md +14 -13
- data/docs/PaginatedGroupRoleResponseList.md +14 -13
- data/docs/PaginatedGroupUserResponseList.md +14 -13
- data/docs/PaginatedHeaderContentGuardResponseList.md +14 -13
- data/docs/PaginatedImportResponseList.md +14 -13
- data/docs/PaginatedMultipleArtifactContentResponseList.md +14 -13
- data/docs/PaginatedOpenPGPDistributionResponseList.md +14 -13
- data/docs/PaginatedOpenPGPKeyringResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPSignatureResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserIDResponseList.md +14 -13
- data/docs/PaginatedPublicationResponseList.md +14 -13
- data/docs/PaginatedPulpExportResponseList.md +14 -13
- data/docs/PaginatedPulpExporterResponseList.md +14 -13
- data/docs/PaginatedPulpImporterResponseList.md +14 -13
- data/docs/PaginatedRBACContentGuardResponseList.md +14 -13
- data/docs/PaginatedRepositoryResponseList.md +14 -13
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedRoleResponseList.md +14 -13
- data/docs/PaginatedSigningServiceResponseList.md +14 -13
- data/docs/PaginatedTaskGroupResponseList.md +14 -13
- data/docs/PaginatedTaskResponseList.md +14 -13
- data/docs/PaginatedTaskScheduleResponseList.md +14 -13
- data/docs/PaginatedUploadResponseList.md +14 -13
- data/docs/PaginatedUpstreamPulpResponseList.md +14 -13
- data/docs/PaginatedUserResponseList.md +14 -13
- data/docs/PaginatedUserRoleResponseList.md +14 -13
- data/docs/PaginatedWorkerResponseList.md +14 -13
- data/docs/PatchedAccessPolicy.md +14 -13
- data/docs/PatchedCompositeContentGuard.md +12 -11
- data/docs/PatchedContentRedirectContentGuard.md +10 -9
- data/docs/PatchedDomain.md +18 -17
- data/docs/PatchedFilesystemExporter.md +12 -11
- data/docs/PatchedGroup.md +8 -7
- data/docs/PatchedHeaderContentGuard.md +16 -15
- data/docs/PatchedOpenPGPDistribution.md +20 -19
- data/docs/PatchedOpenPGPKeyring.md +16 -15
- data/docs/PatchedPulpExporter.md +14 -13
- data/docs/PatchedPulpImporter.md +10 -9
- data/docs/PatchedRBACContentGuard.md +10 -9
- data/docs/PatchedRole.md +12 -11
- data/docs/PatchedTaskCancel.md +8 -7
- data/docs/PatchedUpstreamPulp.md +28 -27
- data/docs/PatchedUser.md +20 -19
- data/docs/PolicyEnum.md +4 -5
- data/docs/ProfileArtifactResponse.md +8 -7
- data/docs/ProgressReportResponse.md +18 -17
- data/docs/PublicationResponse.md +18 -17
- data/docs/PublicationsApi.md +67 -49
- data/docs/PulpExport.md +18 -17
- data/docs/PulpExportResponse.md +24 -23
- data/docs/PulpExporter.md +14 -13
- data/docs/PulpExporterResponse.md +22 -21
- data/docs/PulpImport.md +12 -11
- data/docs/PulpImportCheck.md +12 -11
- data/docs/PulpImportCheckResponse.md +12 -11
- data/docs/PulpImporter.md +10 -9
- data/docs/PulpImporterResponse.md +18 -17
- data/docs/Purge.md +10 -9
- data/docs/RBACContentGuard.md +10 -9
- data/docs/RBACContentGuardResponse.md +22 -21
- data/docs/ReclaimSpace.md +10 -9
- data/docs/RedisConnectionResponse.md +8 -7
- data/docs/RemotesApi.md +73 -55
- data/docs/Repair.md +8 -7
- data/docs/RepairApi.md +29 -13
- data/docs/RepositoriesApi.md +71 -55
- data/docs/RepositoriesOpenpgpKeyringApi.md +416 -196
- data/docs/RepositoriesReclaimSpaceApi.md +30 -13
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryResponse.md +28 -27
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RepositoryVersionsApi.md +65 -47
- data/docs/Role.md +12 -11
- data/docs/RoleResponse.md +22 -21
- data/docs/RolesApi.md +203 -102
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SigningServiceResponse.md +22 -21
- data/docs/SigningServicesApi.md +75 -42
- data/docs/StatesEnum.md +4 -5
- data/docs/StatusApi.md +26 -9
- data/docs/StatusResponse.md +24 -23
- data/docs/StorageClassEnum.md +4 -5
- data/docs/StorageResponse.md +12 -11
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/TaskGroupResponse.md +32 -31
- data/docs/TaskGroupsApi.md +93 -43
- data/docs/TaskResponse.md +44 -43
- data/docs/TaskScheduleResponse.md +24 -23
- data/docs/TaskSchedulesApi.md +198 -97
- data/docs/TasksApi.md +382 -195
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/Upload.md +8 -7
- data/docs/UploadChunkResponse.md +10 -9
- data/docs/UploadCommit.md +8 -7
- data/docs/UploadDetailResponse.md +20 -19
- data/docs/UploadResponse.md +18 -17
- data/docs/UploadsApi.md +313 -144
- data/docs/UpstreamPulp.md +28 -27
- data/docs/UpstreamPulpResponse.md +34 -33
- data/docs/UpstreamPulpsApi.md +366 -178
- data/docs/User.md +20 -19
- data/docs/UserGroup.md +8 -7
- data/docs/UserGroupResponse.md +12 -11
- data/docs/UserResponse.md +30 -29
- data/docs/UserRole.md +12 -11
- data/docs/UserRoleResponse.md +24 -23
- data/docs/UsersApi.md +211 -110
- data/docs/UsersRolesApi.md +139 -72
- data/docs/VersionResponse.md +16 -15
- data/docs/WorkerResponse.md +22 -21
- data/docs/WorkersApi.md +100 -65
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -23
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -17
- data/lib/pulpcore_client/api/content_api.rb +6 -5
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +20 -14
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +11 -9
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -5
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_header_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +70 -45
- data/lib/pulpcore_client/api/distributions_api.rb +6 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -9
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +61 -38
- data/lib/pulpcore_client/api/domains_api.rb +52 -33
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_api.rb +70 -45
- data/lib/pulpcore_client/api/groups_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -13
- data/lib/pulpcore_client/api/importers_pulp_api.rb +42 -27
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +10 -6
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +24 -17
- data/lib/pulpcore_client/api/livez_api.rb +5 -4
- data/lib/pulpcore_client/api/login_api.rb +179 -0
- data/lib/pulpcore_client/api/orphans_api.rb +6 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +10 -6
- data/lib/pulpcore_client/api/publications_api.rb +21 -17
- data/lib/pulpcore_client/api/remotes_api.rb +23 -19
- data/lib/pulpcore_client/api/repair_api.rb +10 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -5
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +98 -61
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +10 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +21 -17
- data/lib/pulpcore_client/api/roles_api.rb +42 -27
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -9
- data/lib/pulpcore_client/api/status_api.rb +6 -5
- data/lib/pulpcore_client/api/task_groups_api.rb +20 -14
- data/lib/pulpcore_client/api/task_schedules_api.rb +39 -27
- data/lib/pulpcore_client/api/tasks_api.rb +117 -68
- data/lib/pulpcore_client/api/uploads_api.rb +70 -45
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +93 -64
- data/lib/pulpcore_client/api/users_api.rb +42 -27
- data/lib/pulpcore_client/api/users_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/workers_api.rb +26 -21
- data/lib/pulpcore_client/api_client.rb +137 -102
- data/lib/pulpcore_client/api_error.rb +2 -1
- data/lib/pulpcore_client/configuration.rb +162 -21
- data/lib/pulpcore_client/models/access_policy.rb +32 -22
- data/lib/pulpcore_client/models/access_policy_response.rb +34 -24
- data/lib/pulpcore_client/models/api_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +93 -81
- data/lib/pulpcore_client/models/artifact_response.rb +34 -24
- data/lib/pulpcore_client/models/async_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_redirect_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_settings_response.rb +33 -27
- data/lib/pulpcore_client/models/content_summary_response.rb +36 -22
- data/lib/pulpcore_client/models/database_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/domain.rb +58 -22
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +56 -22
- data/lib/pulpcore_client/models/domain_response.rb +60 -24
- data/lib/pulpcore_client/models/evaluation_response.rb +36 -22
- data/lib/pulpcore_client/models/filesystem_export.rb +30 -22
- data/lib/pulpcore_client/models/filesystem_export_response.rb +32 -24
- data/lib/pulpcore_client/models/filesystem_exporter.rb +56 -22
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +58 -24
- data/lib/pulpcore_client/models/{remote_response.rb → generic_remote_response.rb} +63 -29
- data/lib/pulpcore_client/models/{remote_response_hidden_fields.rb → generic_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulpcore_client/models/group.rb +32 -22
- data/lib/pulpcore_client/models/group_progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/group_response.rb +32 -22
- data/lib/pulpcore_client/models/group_role.rb +35 -23
- data/lib/pulpcore_client/models/group_role_response.rb +36 -24
- data/lib/pulpcore_client/models/group_user.rb +32 -22
- data/lib/pulpcore_client/models/group_user_response.rb +32 -22
- data/lib/pulpcore_client/models/header_content_guard.rb +36 -22
- data/lib/pulpcore_client/models/header_content_guard_response.rb +38 -24
- data/lib/pulpcore_client/models/import_response.rb +36 -24
- data/lib/pulpcore_client/models/{upload_chunk.rb → login_response.rb} +55 -62
- data/lib/pulpcore_client/models/method_enum.rb +8 -4
- data/lib/pulpcore_client/models/minimal_task_response.rb +37 -27
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +34 -24
- data/lib/pulpcore_client/models/my_permissions_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_role.rb +32 -22
- data/lib/pulpcore_client/models/nested_role_response.rb +32 -22
- data/lib/pulpcore_client/models/object_roles_response.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +34 -22
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +38 -26
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +34 -24
- data/lib/pulpcore_client/models/orphans_cleanup.rb +31 -23
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/{paginated_remote_response_list.rb → paginated_generic_remote_response_list.rb} +38 -26
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +34 -22
- data/lib/pulpcore_client/models/patched_access_policy.rb +30 -22
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_content_redirect_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_domain.rb +59 -25
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +62 -24
- data/lib/pulpcore_client/models/patched_group.rb +36 -24
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +45 -25
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +40 -24
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +35 -23
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +40 -24
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +35 -23
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_role.rb +35 -23
- data/lib/pulpcore_client/models/patched_task_cancel.rb +35 -23
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +45 -25
- data/lib/pulpcore_client/models/patched_user.rb +46 -26
- data/lib/pulpcore_client/models/policy_enum.rb +10 -5
- data/lib/pulpcore_client/models/profile_artifact_response.rb +32 -22
- data/lib/pulpcore_client/models/progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/publication_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_export.rb +35 -23
- data/lib/pulpcore_client/models/pulp_export_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_exporter.rb +36 -22
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +38 -24
- data/lib/pulpcore_client/models/pulp_import.rb +40 -24
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -25
- data/lib/pulpcore_client/models/pulp_import_check_response.rb +30 -22
- data/lib/pulpcore_client/models/pulp_importer.rb +32 -22
- data/lib/pulpcore_client/models/pulp_importer_response.rb +34 -24
- data/lib/pulpcore_client/models/purge.rb +31 -23
- data/lib/pulpcore_client/models/rbac_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/reclaim_space.rb +33 -23
- data/lib/pulpcore_client/models/redis_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/repair.rb +30 -22
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulpcore_client/models/repository_response.rb +34 -24
- data/lib/pulpcore_client/models/repository_version_response.rb +32 -24
- data/lib/pulpcore_client/models/role.rb +34 -22
- data/lib/pulpcore_client/models/role_response.rb +36 -24
- data/lib/pulpcore_client/models/set_label.rb +34 -22
- data/lib/pulpcore_client/models/set_label_response.rb +34 -22
- data/lib/pulpcore_client/models/signing_service_response.rb +40 -24
- data/lib/pulpcore_client/models/states_enum.rb +8 -4
- data/lib/pulpcore_client/models/status_response.rb +44 -22
- data/lib/pulpcore_client/models/storage_class_enum.rb +8 -4
- data/lib/pulpcore_client/models/storage_response.rb +39 -25
- data/lib/pulpcore_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/task_group_response.rb +34 -22
- data/lib/pulpcore_client/models/task_response.rb +39 -27
- data/lib/pulpcore_client/models/task_schedule_response.rb +39 -25
- data/lib/pulpcore_client/models/unset_label.rb +32 -22
- data/lib/pulpcore_client/models/unset_label_response.rb +32 -22
- data/lib/pulpcore_client/models/upload.rb +32 -22
- data/lib/pulpcore_client/models/upload_chunk_response.rb +30 -22
- data/lib/pulpcore_client/models/upload_commit.rb +32 -22
- data/lib/pulpcore_client/models/upload_detail_response.rb +35 -25
- data/lib/pulpcore_client/models/upload_response.rb +35 -25
- data/lib/pulpcore_client/models/upstream_pulp.rb +36 -22
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +40 -26
- data/lib/pulpcore_client/models/user.rb +42 -24
- data/lib/pulpcore_client/models/user_group.rb +32 -22
- data/lib/pulpcore_client/models/user_group_response.rb +32 -22
- data/lib/pulpcore_client/models/user_response.rb +44 -26
- data/lib/pulpcore_client/models/user_role.rb +35 -23
- data/lib/pulpcore_client/models/user_role_response.rb +36 -24
- data/lib/pulpcore_client/models/version_response.rb +40 -22
- data/lib/pulpcore_client/models/worker_response.rb +33 -25
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +6 -7
- data/pulpcore_client.gemspec +9 -6
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +5 -5
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +4 -4
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_signature_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userattribute_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userid_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_composite_api_spec.rb +11 -11
- data/spec/api/contentguards_content_redirect_api_spec.rb +11 -11
- data/spec/api/contentguards_header_api_spec.rb +11 -11
- data/spec/api/contentguards_rbac_api_spec.rb +11 -11
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +3 -3
- data/spec/api/distributions_openpgp_api_spec.rb +9 -9
- data/spec/api/domains_api_spec.rb +8 -8
- data/spec/api/exporters_filesystem_api_spec.rb +7 -7
- data/spec/api/exporters_filesystem_exports_api_spec.rb +5 -5
- data/spec/api/exporters_pulp_api_spec.rb +7 -7
- data/spec/api/exporters_pulp_exports_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +11 -11
- data/spec/api/groups_roles_api_spec.rb +5 -5
- data/spec/api/groups_users_api_spec.rb +4 -4
- data/spec/api/importers_pulp_api_spec.rb +7 -7
- data/spec/api/importers_pulp_import_check_api_spec.rb +2 -2
- data/spec/api/importers_pulp_imports_api_spec.rb +5 -5
- data/spec/api/livez_api_spec.rb +2 -2
- data/spec/api/login_api_spec.rb +62 -0
- 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 +9 -8
- data/spec/api/remotes_api_spec.rb +10 -9
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +14 -14
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +9 -8
- data/spec/api/roles_api_spec.rb +7 -7
- data/spec/api/signing_services_api_spec.rb +3 -3
- data/spec/api/status_api_spec.rb +2 -2
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +7 -7
- data/spec/api/tasks_api_spec.rb +32 -23
- data/spec/api/uploads_api_spec.rb +11 -11
- data/spec/api/upstream_pulps_api_spec.rb +20 -19
- data/spec/api/users_api_spec.rb +7 -7
- data/spec/api/users_roles_api_spec.rb +5 -5
- data/spec/api/workers_api_spec.rb +10 -9
- data/spec/models/access_policy_response_spec.rb +16 -21
- data/spec/models/access_policy_spec.rb +10 -15
- data/spec/models/api_app_status_response_spec.rb +9 -14
- data/spec/models/artifact_distribution_response_spec.rb +26 -31
- data/spec/models/artifact_response_spec.rb +18 -23
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/composite_content_guard_response_spec.rb +13 -18
- data/spec/models/composite_content_guard_spec.rb +9 -14
- data/spec/models/content_app_status_response_spec.rb +9 -14
- data/spec/models/content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/content_settings_response_spec.rb +8 -13
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/database_connection_response_spec.rb +7 -12
- data/spec/models/distribution_response_spec.rb +18 -23
- data/spec/models/domain_backend_migrator_spec.rb +8 -13
- data/spec/models/domain_response_spec.rb +16 -21
- data/spec/models/domain_spec.rb +12 -17
- data/spec/models/evaluation_response_spec.rb +9 -14
- data/spec/models/filesystem_export_response_spec.rb +13 -18
- data/spec/models/filesystem_export_spec.rb +10 -15
- data/spec/models/filesystem_exporter_response_spec.rb +13 -18
- data/spec/models/filesystem_exporter_spec.rb +9 -14
- data/spec/models/generic_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/generic_remote_response_spec.rb +156 -0
- data/spec/models/group_progress_report_response_spec.rb +11 -16
- data/spec/models/group_response_spec.rb +10 -15
- data/spec/models/group_role_response_spec.rb +15 -20
- data/spec/models/group_role_spec.rb +9 -14
- data/spec/models/group_spec.rb +7 -12
- data/spec/models/group_user_response_spec.rb +9 -14
- data/spec/models/group_user_spec.rb +7 -12
- data/spec/models/header_content_guard_response_spec.rb +15 -20
- data/spec/models/header_content_guard_spec.rb +11 -16
- data/spec/models/import_response_spec.rb +12 -17
- data/spec/models/login_response_spec.rb +48 -0
- data/spec/models/method_enum_spec.rb +6 -11
- data/spec/models/minimal_task_response_spec.rb +16 -21
- data/spec/models/multiple_artifact_content_response_spec.rb +11 -16
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +9 -14
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +8 -13
- data/spec/models/nested_open_pgp_signature_response_spec.rb +13 -18
- data/spec/models/nested_open_pgp_signature_spec.rb +12 -17
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +7 -12
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_id_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/open_pgp_distribution_response_spec.rb +19 -24
- data/spec/models/open_pgp_distribution_spec.rb +13 -18
- data/spec/models/open_pgp_keyring_response_spec.rb +17 -22
- data/spec/models/open_pgp_keyring_spec.rb +11 -16
- data/spec/models/open_pgp_public_key_response_spec.rb +15 -20
- data/spec/models/open_pgp_public_subkey_response_spec.rb +14 -19
- data/spec/models/open_pgp_signature_response_spec.rb +18 -23
- data/spec/models/open_pgp_user_attribute_response_spec.rb +13 -18
- data/spec/models/open_pgp_user_id_response_spec.rb +13 -18
- data/spec/models/orphans_cleanup_spec.rb +8 -13
- data/spec/models/paginated_access_policy_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_domain_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_generic_remote_response_list_spec.rb +54 -0
- data/spec/models/paginated_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_import_response_list_spec.rb +10 -15
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +10 -15
- data/spec/models/paginated_publication_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +10 -15
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_signing_service_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_schedule_response_list_spec.rb +10 -15
- data/spec/models/paginated_upload_response_list_spec.rb +10 -15
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_worker_response_list_spec.rb +10 -15
- data/spec/models/patched_access_policy_spec.rb +10 -15
- data/spec/models/patched_composite_content_guard_spec.rb +9 -14
- data/spec/models/patched_content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/patched_domain_spec.rb +12 -17
- data/spec/models/patched_filesystem_exporter_spec.rb +9 -14
- data/spec/models/patched_group_spec.rb +7 -12
- data/spec/models/patched_header_content_guard_spec.rb +11 -16
- data/spec/models/patched_open_pgp_distribution_spec.rb +13 -18
- data/spec/models/patched_open_pgp_keyring_spec.rb +11 -16
- data/spec/models/patched_pulp_exporter_spec.rb +10 -15
- data/spec/models/patched_pulp_importer_spec.rb +8 -13
- data/spec/models/patched_rbac_content_guard_spec.rb +8 -13
- data/spec/models/patched_role_spec.rb +9 -14
- data/spec/models/patched_task_cancel_spec.rb +7 -12
- data/spec/models/patched_upstream_pulp_spec.rb +17 -22
- data/spec/models/patched_user_spec.rb +13 -18
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/profile_artifact_response_spec.rb +7 -12
- data/spec/models/progress_report_response_spec.rb +12 -17
- data/spec/models/publication_response_spec.rb +12 -17
- data/spec/models/pulp_export_response_spec.rb +15 -20
- data/spec/models/pulp_export_spec.rb +12 -17
- data/spec/models/pulp_exporter_response_spec.rb +14 -19
- data/spec/models/pulp_exporter_spec.rb +10 -15
- data/spec/models/pulp_import_check_response_spec.rb +9 -14
- data/spec/models/pulp_import_check_spec.rb +9 -14
- data/spec/models/pulp_import_spec.rb +9 -14
- data/spec/models/pulp_importer_response_spec.rb +12 -17
- data/spec/models/pulp_importer_spec.rb +8 -13
- data/spec/models/purge_spec.rb +8 -13
- data/spec/models/rbac_content_guard_response_spec.rb +14 -19
- data/spec/models/rbac_content_guard_spec.rb +8 -13
- data/spec/models/reclaim_space_spec.rb +8 -13
- data/spec/models/redis_connection_response_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_response_spec.rb +17 -22
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/role_response_spec.rb +14 -19
- data/spec/models/role_spec.rb +9 -14
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/signing_service_response_spec.rb +14 -19
- data/spec/models/states_enum_spec.rb +6 -11
- data/spec/models/status_response_spec.rb +15 -20
- data/spec/models/storage_class_enum_spec.rb +6 -11
- data/spec/models/storage_response_spec.rb +9 -14
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/task_group_response_spec.rb +19 -24
- data/spec/models/task_response_spec.rb +25 -30
- data/spec/models/task_schedule_response_spec.rb +15 -20
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/upload_chunk_response_spec.rb +8 -13
- data/spec/models/upload_commit_spec.rb +7 -12
- data/spec/models/upload_detail_response_spec.rb +13 -18
- data/spec/models/upload_response_spec.rb +12 -17
- data/spec/models/upload_spec.rb +7 -12
- data/spec/models/upstream_pulp_response_spec.rb +20 -25
- data/spec/models/upstream_pulp_spec.rb +17 -22
- data/spec/models/user_group_response_spec.rb +9 -14
- data/spec/models/user_group_spec.rb +7 -12
- data/spec/models/user_response_spec.rb +18 -23
- data/spec/models/user_role_response_spec.rb +15 -20
- data/spec/models/user_role_spec.rb +9 -14
- data/spec/models/user_spec.rb +13 -18
- data/spec/models/version_response_spec.rb +11 -16
- data/spec/models/worker_response_spec.rb +14 -19
- data/spec/spec_helper.rb +1 -1
- metadata +241 -221
- data/docs/Artifact.md +0 -31
- data/docs/OpenPGPPublicKey.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/RemoteResponse.md +0 -57
- data/docs/RemoteResponseHiddenFields.md +0 -19
- data/docs/UploadChunk.md +0 -19
- data/lib/pulpcore_client/models/artifact.rb +0 -379
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +0 -253
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/open_pgp_public_key_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/remote_response_hidden_fields_spec.rb +0 -47
- data/spec/models/remote_response_spec.rb +0 -161
- data/spec/models/upload_chunk_spec.rb +0 -47
data/docs/UploadsApi.md
CHANGED
@@ -2,33 +2,32 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](UploadsApi.md#add_role) | **POST** {upload_href}add_role/ | Add a role
|
8
|
-
[**commit**](UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload
|
9
|
-
[**create**](UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
|
10
|
-
[**delete**](UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
|
11
|
-
[**list**](UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
|
12
|
-
[**list_roles**](UploadsApi.md#list_roles) | **GET** {upload_href}list_roles/ | List roles
|
13
|
-
[**my_permissions**](UploadsApi.md#my_permissions) | **GET** {upload_href}my_permissions/ | List user permissions
|
14
|
-
[**read**](UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
|
15
|
-
[**remove_role**](UploadsApi.md#remove_role) | **POST** {upload_href}remove_role/ | Remove a role
|
16
|
-
[**update**](UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
|
17
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](UploadsApi.md#add_role) | **POST** {upload_href}add_role/ | Add a role |
|
8
|
+
| [**commit**](UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload |
|
9
|
+
| [**create**](UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload |
|
10
|
+
| [**delete**](UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload |
|
11
|
+
| [**list**](UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads |
|
12
|
+
| [**list_roles**](UploadsApi.md#list_roles) | **GET** {upload_href}list_roles/ | List roles |
|
13
|
+
| [**my_permissions**](UploadsApi.md#my_permissions) | **GET** {upload_href}my_permissions/ | List user permissions |
|
14
|
+
| [**read**](UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload |
|
15
|
+
| [**remove_role**](UploadsApi.md#remove_role) | **POST** {upload_href}remove_role/ | Remove a role |
|
16
|
+
| [**update**](UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk |
|
18
17
|
|
19
18
|
|
20
19
|
## add_role
|
21
20
|
|
22
|
-
> NestedRoleResponse add_role(upload_href, upload)
|
21
|
+
> <NestedRoleResponse> add_role(upload_href, upload)
|
23
22
|
|
24
23
|
Add a role
|
25
24
|
|
26
25
|
Add a role for this object to users/groups.
|
27
26
|
|
28
|
-
###
|
27
|
+
### Examples
|
29
28
|
|
30
29
|
```ruby
|
31
|
-
|
30
|
+
require 'time'
|
32
31
|
require 'pulpcore_client'
|
33
32
|
# setup authorization
|
34
33
|
PulpcoreClient.configure do |config|
|
@@ -39,24 +38,41 @@ end
|
|
39
38
|
|
40
39
|
api_instance = PulpcoreClient::UploadsApi.new
|
41
40
|
upload_href = 'upload_href_example' # String |
|
42
|
-
upload = PulpcoreClient::Upload.new # Upload |
|
41
|
+
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
43
42
|
|
44
43
|
begin
|
45
|
-
#Add a role
|
44
|
+
# Add a role
|
46
45
|
result = api_instance.add_role(upload_href, upload)
|
47
46
|
p result
|
48
47
|
rescue PulpcoreClient::ApiError => e
|
49
|
-
puts "
|
48
|
+
puts "Error when calling UploadsApi->add_role: #{e}"
|
50
49
|
end
|
51
50
|
```
|
52
51
|
|
53
|
-
|
52
|
+
#### Using the add_role_with_http_info variant
|
54
53
|
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
56
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upload_href, upload)
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
begin
|
60
|
+
# Add a role
|
61
|
+
data, status_code, headers = api_instance.add_role_with_http_info(upload_href, upload)
|
62
|
+
p status_code # => 2xx
|
63
|
+
p headers # => { ... }
|
64
|
+
p data # => <NestedRoleResponse>
|
65
|
+
rescue PulpcoreClient::ApiError => e
|
66
|
+
puts "Error when calling UploadsApi->add_role_with_http_info: #{e}"
|
67
|
+
end
|
68
|
+
```
|
69
|
+
|
70
|
+
### Parameters
|
71
|
+
|
72
|
+
| Name | Type | Description | Notes |
|
73
|
+
| ---- | ---- | ----------- | ----- |
|
74
|
+
| **upload_href** | **String** | | |
|
75
|
+
| **upload** | [**Upload**](Upload.md) | | |
|
60
76
|
|
61
77
|
### Return type
|
62
78
|
|
@@ -74,16 +90,16 @@ Name | Type | Description | Notes
|
|
74
90
|
|
75
91
|
## commit
|
76
92
|
|
77
|
-
> AsyncOperationResponse commit(upload_href, upload_commit)
|
93
|
+
> <AsyncOperationResponse> commit(upload_href, upload_commit)
|
78
94
|
|
79
95
|
Finish an Upload
|
80
96
|
|
81
97
|
Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
82
98
|
|
83
|
-
###
|
99
|
+
### Examples
|
84
100
|
|
85
101
|
```ruby
|
86
|
-
|
102
|
+
require 'time'
|
87
103
|
require 'pulpcore_client'
|
88
104
|
# setup authorization
|
89
105
|
PulpcoreClient.configure do |config|
|
@@ -94,24 +110,41 @@ end
|
|
94
110
|
|
95
111
|
api_instance = PulpcoreClient::UploadsApi.new
|
96
112
|
upload_href = 'upload_href_example' # String |
|
97
|
-
upload_commit = PulpcoreClient::UploadCommit.new # UploadCommit |
|
113
|
+
upload_commit = PulpcoreClient::UploadCommit.new({sha256: 'sha256_example'}) # UploadCommit |
|
98
114
|
|
99
115
|
begin
|
100
|
-
#Finish an Upload
|
116
|
+
# Finish an Upload
|
101
117
|
result = api_instance.commit(upload_href, upload_commit)
|
102
118
|
p result
|
103
119
|
rescue PulpcoreClient::ApiError => e
|
104
|
-
puts "
|
120
|
+
puts "Error when calling UploadsApi->commit: #{e}"
|
105
121
|
end
|
106
122
|
```
|
107
123
|
|
108
|
-
|
124
|
+
#### Using the commit_with_http_info variant
|
125
|
+
|
126
|
+
This returns an Array which contains the response data, status code and headers.
|
109
127
|
|
128
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> commit_with_http_info(upload_href, upload_commit)
|
110
129
|
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
130
|
+
```ruby
|
131
|
+
begin
|
132
|
+
# Finish an Upload
|
133
|
+
data, status_code, headers = api_instance.commit_with_http_info(upload_href, upload_commit)
|
134
|
+
p status_code # => 2xx
|
135
|
+
p headers # => { ... }
|
136
|
+
p data # => <AsyncOperationResponse>
|
137
|
+
rescue PulpcoreClient::ApiError => e
|
138
|
+
puts "Error when calling UploadsApi->commit_with_http_info: #{e}"
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
### Parameters
|
143
|
+
|
144
|
+
| Name | Type | Description | Notes |
|
145
|
+
| ---- | ---- | ----------- | ----- |
|
146
|
+
| **upload_href** | **String** | | |
|
147
|
+
| **upload_commit** | [**UploadCommit**](UploadCommit.md) | | |
|
115
148
|
|
116
149
|
### Return type
|
117
150
|
|
@@ -129,16 +162,16 @@ Name | Type | Description | Notes
|
|
129
162
|
|
130
163
|
## create
|
131
164
|
|
132
|
-
> UploadResponse create(upload)
|
165
|
+
> <UploadResponse> create(upload)
|
133
166
|
|
134
167
|
Create an upload
|
135
168
|
|
136
169
|
View for chunked uploads.
|
137
170
|
|
138
|
-
###
|
171
|
+
### Examples
|
139
172
|
|
140
173
|
```ruby
|
141
|
-
|
174
|
+
require 'time'
|
142
175
|
require 'pulpcore_client'
|
143
176
|
# setup authorization
|
144
177
|
PulpcoreClient.configure do |config|
|
@@ -148,23 +181,40 @@ PulpcoreClient.configure do |config|
|
|
148
181
|
end
|
149
182
|
|
150
183
|
api_instance = PulpcoreClient::UploadsApi.new
|
151
|
-
upload = PulpcoreClient::Upload.new # Upload |
|
184
|
+
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
152
185
|
|
153
186
|
begin
|
154
|
-
#Create an upload
|
187
|
+
# Create an upload
|
155
188
|
result = api_instance.create(upload)
|
156
189
|
p result
|
157
190
|
rescue PulpcoreClient::ApiError => e
|
158
|
-
puts "
|
191
|
+
puts "Error when calling UploadsApi->create: #{e}"
|
159
192
|
end
|
160
193
|
```
|
161
194
|
|
162
|
-
|
195
|
+
#### Using the create_with_http_info variant
|
163
196
|
|
197
|
+
This returns an Array which contains the response data, status code and headers.
|
164
198
|
|
165
|
-
|
166
|
-
|
167
|
-
|
199
|
+
> <Array(<UploadResponse>, Integer, Hash)> create_with_http_info(upload)
|
200
|
+
|
201
|
+
```ruby
|
202
|
+
begin
|
203
|
+
# Create an upload
|
204
|
+
data, status_code, headers = api_instance.create_with_http_info(upload)
|
205
|
+
p status_code # => 2xx
|
206
|
+
p headers # => { ... }
|
207
|
+
p data # => <UploadResponse>
|
208
|
+
rescue PulpcoreClient::ApiError => e
|
209
|
+
puts "Error when calling UploadsApi->create_with_http_info: #{e}"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
### Parameters
|
214
|
+
|
215
|
+
| Name | Type | Description | Notes |
|
216
|
+
| ---- | ---- | ----------- | ----- |
|
217
|
+
| **upload** | [**Upload**](Upload.md) | | |
|
168
218
|
|
169
219
|
### Return type
|
170
220
|
|
@@ -188,10 +238,10 @@ Delete an upload
|
|
188
238
|
|
189
239
|
View for chunked uploads.
|
190
240
|
|
191
|
-
###
|
241
|
+
### Examples
|
192
242
|
|
193
243
|
```ruby
|
194
|
-
|
244
|
+
require 'time'
|
195
245
|
require 'pulpcore_client'
|
196
246
|
# setup authorization
|
197
247
|
PulpcoreClient.configure do |config|
|
@@ -204,19 +254,36 @@ api_instance = PulpcoreClient::UploadsApi.new
|
|
204
254
|
upload_href = 'upload_href_example' # String |
|
205
255
|
|
206
256
|
begin
|
207
|
-
#Delete an upload
|
257
|
+
# Delete an upload
|
208
258
|
api_instance.delete(upload_href)
|
209
259
|
rescue PulpcoreClient::ApiError => e
|
210
|
-
puts "
|
260
|
+
puts "Error when calling UploadsApi->delete: #{e}"
|
211
261
|
end
|
212
262
|
```
|
213
263
|
|
214
|
-
|
264
|
+
#### Using the delete_with_http_info variant
|
215
265
|
|
266
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
216
267
|
|
217
|
-
|
218
|
-
|
219
|
-
|
268
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(upload_href)
|
269
|
+
|
270
|
+
```ruby
|
271
|
+
begin
|
272
|
+
# Delete an upload
|
273
|
+
data, status_code, headers = api_instance.delete_with_http_info(upload_href)
|
274
|
+
p status_code # => 2xx
|
275
|
+
p headers # => { ... }
|
276
|
+
p data # => nil
|
277
|
+
rescue PulpcoreClient::ApiError => e
|
278
|
+
puts "Error when calling UploadsApi->delete_with_http_info: #{e}"
|
279
|
+
end
|
280
|
+
```
|
281
|
+
|
282
|
+
### Parameters
|
283
|
+
|
284
|
+
| Name | Type | Description | Notes |
|
285
|
+
| ---- | ---- | ----------- | ----- |
|
286
|
+
| **upload_href** | **String** | | |
|
220
287
|
|
221
288
|
### Return type
|
222
289
|
|
@@ -234,16 +301,16 @@ nil (empty response body)
|
|
234
301
|
|
235
302
|
## list
|
236
303
|
|
237
|
-
> PaginatedUploadResponseList list(opts)
|
304
|
+
> <PaginatedUploadResponseList> list(opts)
|
238
305
|
|
239
306
|
List uploads
|
240
307
|
|
241
308
|
View for chunked uploads.
|
242
309
|
|
243
|
-
###
|
310
|
+
### Examples
|
244
311
|
|
245
312
|
```ruby
|
246
|
-
|
313
|
+
require 'time'
|
247
314
|
require 'pulpcore_client'
|
248
315
|
# setup authorization
|
249
316
|
PulpcoreClient.configure do |config|
|
@@ -256,46 +323,63 @@ api_instance = PulpcoreClient::UploadsApi.new
|
|
256
323
|
opts = {
|
257
324
|
limit: 56, # Integer | Number of results to return per page.
|
258
325
|
offset: 56, # Integer | The initial index from which to return the results.
|
259
|
-
ordering: ['
|
260
|
-
prn__in: ['
|
261
|
-
pulp_href__in: ['
|
262
|
-
pulp_id__in: ['
|
326
|
+
ordering: ['-pk'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
327
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
328
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
329
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
263
330
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
264
331
|
size: 56, # Integer | Filter results where size matches value
|
265
332
|
size__gt: 56, # Integer | Filter results where size is greater than value
|
266
333
|
size__lt: 56, # Integer | Filter results where size is less than value
|
267
|
-
size__range: [
|
268
|
-
fields: ['
|
269
|
-
exclude_fields: ['
|
334
|
+
size__range: [37], # Array<Integer> | Filter results where size is between two comma separated values
|
335
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
336
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
270
337
|
}
|
271
338
|
|
272
339
|
begin
|
273
|
-
#List uploads
|
340
|
+
# List uploads
|
274
341
|
result = api_instance.list(opts)
|
275
342
|
p result
|
276
343
|
rescue PulpcoreClient::ApiError => e
|
277
|
-
puts "
|
344
|
+
puts "Error when calling UploadsApi->list: #{e}"
|
278
345
|
end
|
279
346
|
```
|
280
347
|
|
281
|
-
|
348
|
+
#### Using the list_with_http_info variant
|
349
|
+
|
350
|
+
This returns an Array which contains the response data, status code and headers.
|
351
|
+
|
352
|
+
> <Array(<PaginatedUploadResponseList>, Integer, Hash)> list_with_http_info(opts)
|
353
|
+
|
354
|
+
```ruby
|
355
|
+
begin
|
356
|
+
# List uploads
|
357
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
358
|
+
p status_code # => 2xx
|
359
|
+
p headers # => { ... }
|
360
|
+
p data # => <PaginatedUploadResponseList>
|
361
|
+
rescue PulpcoreClient::ApiError => e
|
362
|
+
puts "Error when calling UploadsApi->list_with_http_info: #{e}"
|
363
|
+
end
|
364
|
+
```
|
282
365
|
|
366
|
+
### Parameters
|
283
367
|
|
284
|
-
Name | Type | Description
|
285
|
-
|
286
|
-
**limit** | **Integer
|
287
|
-
**offset** | **Integer
|
288
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
289
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
290
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
291
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
292
|
-
**q** | **String
|
293
|
-
**size** | **Integer
|
294
|
-
**size__gt** | **Integer
|
295
|
-
**size__lt** | **Integer
|
296
|
-
**size__range** | [**Array<Integer>**](Integer.md)| Filter results where size is between two comma separated values | [optional]
|
297
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
298
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
368
|
+
| Name | Type | Description | Notes |
|
369
|
+
| ---- | ---- | ----------- | ----- |
|
370
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
371
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
372
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
373
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
374
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
375
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
376
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
377
|
+
| **size** | **Integer** | Filter results where size matches value | [optional] |
|
378
|
+
| **size__gt** | **Integer** | Filter results where size is greater than value | [optional] |
|
379
|
+
| **size__lt** | **Integer** | Filter results where size is less than value | [optional] |
|
380
|
+
| **size__range** | [**Array<Integer>**](Integer.md) | Filter results where size is between two comma separated values | [optional] |
|
381
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
382
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
299
383
|
|
300
384
|
### Return type
|
301
385
|
|
@@ -313,16 +397,16 @@ Name | Type | Description | Notes
|
|
313
397
|
|
314
398
|
## list_roles
|
315
399
|
|
316
|
-
> ObjectRolesResponse list_roles(upload_href, opts)
|
400
|
+
> <ObjectRolesResponse> list_roles(upload_href, opts)
|
317
401
|
|
318
402
|
List roles
|
319
403
|
|
320
404
|
List roles assigned to this object.
|
321
405
|
|
322
|
-
###
|
406
|
+
### Examples
|
323
407
|
|
324
408
|
```ruby
|
325
|
-
|
409
|
+
require 'time'
|
326
410
|
require 'pulpcore_client'
|
327
411
|
# setup authorization
|
328
412
|
PulpcoreClient.configure do |config|
|
@@ -334,27 +418,44 @@ end
|
|
334
418
|
api_instance = PulpcoreClient::UploadsApi.new
|
335
419
|
upload_href = 'upload_href_example' # String |
|
336
420
|
opts = {
|
337
|
-
fields: ['
|
338
|
-
exclude_fields: ['
|
421
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
422
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
339
423
|
}
|
340
424
|
|
341
425
|
begin
|
342
|
-
#List roles
|
426
|
+
# List roles
|
343
427
|
result = api_instance.list_roles(upload_href, opts)
|
344
428
|
p result
|
345
429
|
rescue PulpcoreClient::ApiError => e
|
346
|
-
puts "
|
430
|
+
puts "Error when calling UploadsApi->list_roles: #{e}"
|
347
431
|
end
|
348
432
|
```
|
349
433
|
|
350
|
-
|
434
|
+
#### Using the list_roles_with_http_info variant
|
435
|
+
|
436
|
+
This returns an Array which contains the response data, status code and headers.
|
351
437
|
|
438
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(upload_href, opts)
|
352
439
|
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
440
|
+
```ruby
|
441
|
+
begin
|
442
|
+
# List roles
|
443
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(upload_href, opts)
|
444
|
+
p status_code # => 2xx
|
445
|
+
p headers # => { ... }
|
446
|
+
p data # => <ObjectRolesResponse>
|
447
|
+
rescue PulpcoreClient::ApiError => e
|
448
|
+
puts "Error when calling UploadsApi->list_roles_with_http_info: #{e}"
|
449
|
+
end
|
450
|
+
```
|
451
|
+
|
452
|
+
### Parameters
|
453
|
+
|
454
|
+
| Name | Type | Description | Notes |
|
455
|
+
| ---- | ---- | ----------- | ----- |
|
456
|
+
| **upload_href** | **String** | | |
|
457
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
458
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
358
459
|
|
359
460
|
### Return type
|
360
461
|
|
@@ -372,16 +473,16 @@ Name | Type | Description | Notes
|
|
372
473
|
|
373
474
|
## my_permissions
|
374
475
|
|
375
|
-
> MyPermissionsResponse my_permissions(upload_href, opts)
|
476
|
+
> <MyPermissionsResponse> my_permissions(upload_href, opts)
|
376
477
|
|
377
478
|
List user permissions
|
378
479
|
|
379
480
|
List permissions available to the current user on this object.
|
380
481
|
|
381
|
-
###
|
482
|
+
### Examples
|
382
483
|
|
383
484
|
```ruby
|
384
|
-
|
485
|
+
require 'time'
|
385
486
|
require 'pulpcore_client'
|
386
487
|
# setup authorization
|
387
488
|
PulpcoreClient.configure do |config|
|
@@ -393,27 +494,44 @@ end
|
|
393
494
|
api_instance = PulpcoreClient::UploadsApi.new
|
394
495
|
upload_href = 'upload_href_example' # String |
|
395
496
|
opts = {
|
396
|
-
fields: ['
|
397
|
-
exclude_fields: ['
|
497
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
498
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
398
499
|
}
|
399
500
|
|
400
501
|
begin
|
401
|
-
#List user permissions
|
502
|
+
# List user permissions
|
402
503
|
result = api_instance.my_permissions(upload_href, opts)
|
403
504
|
p result
|
404
505
|
rescue PulpcoreClient::ApiError => e
|
405
|
-
puts "
|
506
|
+
puts "Error when calling UploadsApi->my_permissions: #{e}"
|
406
507
|
end
|
407
508
|
```
|
408
509
|
|
409
|
-
|
510
|
+
#### Using the my_permissions_with_http_info variant
|
410
511
|
|
512
|
+
This returns an Array which contains the response data, status code and headers.
|
411
513
|
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
514
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(upload_href, opts)
|
515
|
+
|
516
|
+
```ruby
|
517
|
+
begin
|
518
|
+
# List user permissions
|
519
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(upload_href, opts)
|
520
|
+
p status_code # => 2xx
|
521
|
+
p headers # => { ... }
|
522
|
+
p data # => <MyPermissionsResponse>
|
523
|
+
rescue PulpcoreClient::ApiError => e
|
524
|
+
puts "Error when calling UploadsApi->my_permissions_with_http_info: #{e}"
|
525
|
+
end
|
526
|
+
```
|
527
|
+
|
528
|
+
### Parameters
|
529
|
+
|
530
|
+
| Name | Type | Description | Notes |
|
531
|
+
| ---- | ---- | ----------- | ----- |
|
532
|
+
| **upload_href** | **String** | | |
|
533
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
534
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
417
535
|
|
418
536
|
### Return type
|
419
537
|
|
@@ -431,16 +549,16 @@ Name | Type | Description | Notes
|
|
431
549
|
|
432
550
|
## read
|
433
551
|
|
434
|
-
> UploadDetailResponse read(upload_href, opts)
|
552
|
+
> <UploadDetailResponse> read(upload_href, opts)
|
435
553
|
|
436
554
|
Inspect an upload
|
437
555
|
|
438
556
|
View for chunked uploads.
|
439
557
|
|
440
|
-
###
|
558
|
+
### Examples
|
441
559
|
|
442
560
|
```ruby
|
443
|
-
|
561
|
+
require 'time'
|
444
562
|
require 'pulpcore_client'
|
445
563
|
# setup authorization
|
446
564
|
PulpcoreClient.configure do |config|
|
@@ -452,27 +570,44 @@ end
|
|
452
570
|
api_instance = PulpcoreClient::UploadsApi.new
|
453
571
|
upload_href = 'upload_href_example' # String |
|
454
572
|
opts = {
|
455
|
-
fields: ['
|
456
|
-
exclude_fields: ['
|
573
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
574
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
457
575
|
}
|
458
576
|
|
459
577
|
begin
|
460
|
-
#Inspect an upload
|
578
|
+
# Inspect an upload
|
461
579
|
result = api_instance.read(upload_href, opts)
|
462
580
|
p result
|
463
581
|
rescue PulpcoreClient::ApiError => e
|
464
|
-
puts "
|
582
|
+
puts "Error when calling UploadsApi->read: #{e}"
|
465
583
|
end
|
466
584
|
```
|
467
585
|
|
468
|
-
|
586
|
+
#### Using the read_with_http_info variant
|
587
|
+
|
588
|
+
This returns an Array which contains the response data, status code and headers.
|
589
|
+
|
590
|
+
> <Array(<UploadDetailResponse>, Integer, Hash)> read_with_http_info(upload_href, opts)
|
591
|
+
|
592
|
+
```ruby
|
593
|
+
begin
|
594
|
+
# Inspect an upload
|
595
|
+
data, status_code, headers = api_instance.read_with_http_info(upload_href, opts)
|
596
|
+
p status_code # => 2xx
|
597
|
+
p headers # => { ... }
|
598
|
+
p data # => <UploadDetailResponse>
|
599
|
+
rescue PulpcoreClient::ApiError => e
|
600
|
+
puts "Error when calling UploadsApi->read_with_http_info: #{e}"
|
601
|
+
end
|
602
|
+
```
|
469
603
|
|
604
|
+
### Parameters
|
470
605
|
|
471
|
-
Name | Type | Description
|
472
|
-
|
473
|
-
**upload_href** | **String
|
474
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
475
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
606
|
+
| Name | Type | Description | Notes |
|
607
|
+
| ---- | ---- | ----------- | ----- |
|
608
|
+
| **upload_href** | **String** | | |
|
609
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
610
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
476
611
|
|
477
612
|
### Return type
|
478
613
|
|
@@ -490,16 +625,16 @@ Name | Type | Description | Notes
|
|
490
625
|
|
491
626
|
## remove_role
|
492
627
|
|
493
|
-
> NestedRoleResponse remove_role(upload_href, upload)
|
628
|
+
> <NestedRoleResponse> remove_role(upload_href, upload)
|
494
629
|
|
495
630
|
Remove a role
|
496
631
|
|
497
632
|
Remove a role for this object from users/groups.
|
498
633
|
|
499
|
-
###
|
634
|
+
### Examples
|
500
635
|
|
501
636
|
```ruby
|
502
|
-
|
637
|
+
require 'time'
|
503
638
|
require 'pulpcore_client'
|
504
639
|
# setup authorization
|
505
640
|
PulpcoreClient.configure do |config|
|
@@ -510,24 +645,41 @@ end
|
|
510
645
|
|
511
646
|
api_instance = PulpcoreClient::UploadsApi.new
|
512
647
|
upload_href = 'upload_href_example' # String |
|
513
|
-
upload = PulpcoreClient::Upload.new # Upload |
|
648
|
+
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
514
649
|
|
515
650
|
begin
|
516
|
-
#Remove a role
|
651
|
+
# Remove a role
|
517
652
|
result = api_instance.remove_role(upload_href, upload)
|
518
653
|
p result
|
519
654
|
rescue PulpcoreClient::ApiError => e
|
520
|
-
puts "
|
655
|
+
puts "Error when calling UploadsApi->remove_role: #{e}"
|
521
656
|
end
|
522
657
|
```
|
523
658
|
|
524
|
-
|
659
|
+
#### Using the remove_role_with_http_info variant
|
525
660
|
|
661
|
+
This returns an Array which contains the response data, status code and headers.
|
526
662
|
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
663
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upload_href, upload)
|
664
|
+
|
665
|
+
```ruby
|
666
|
+
begin
|
667
|
+
# Remove a role
|
668
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(upload_href, upload)
|
669
|
+
p status_code # => 2xx
|
670
|
+
p headers # => { ... }
|
671
|
+
p data # => <NestedRoleResponse>
|
672
|
+
rescue PulpcoreClient::ApiError => e
|
673
|
+
puts "Error when calling UploadsApi->remove_role_with_http_info: #{e}"
|
674
|
+
end
|
675
|
+
```
|
676
|
+
|
677
|
+
### Parameters
|
678
|
+
|
679
|
+
| Name | Type | Description | Notes |
|
680
|
+
| ---- | ---- | ----------- | ----- |
|
681
|
+
| **upload_href** | **String** | | |
|
682
|
+
| **upload** | [**Upload**](Upload.md) | | |
|
531
683
|
|
532
684
|
### Return type
|
533
685
|
|
@@ -545,16 +697,16 @@ Name | Type | Description | Notes
|
|
545
697
|
|
546
698
|
## update
|
547
699
|
|
548
|
-
> UploadResponse update(content_range, upload_href, file, opts)
|
700
|
+
> <UploadResponse> update(content_range, upload_href, file, opts)
|
549
701
|
|
550
702
|
Upload a file chunk
|
551
703
|
|
552
704
|
Upload a chunk for an upload.
|
553
705
|
|
554
|
-
###
|
706
|
+
### Examples
|
555
707
|
|
556
708
|
```ruby
|
557
|
-
|
709
|
+
require 'time'
|
558
710
|
require 'pulpcore_client'
|
559
711
|
# setup authorization
|
560
712
|
PulpcoreClient.configure do |config|
|
@@ -566,29 +718,46 @@ end
|
|
566
718
|
api_instance = PulpcoreClient::UploadsApi.new
|
567
719
|
content_range = 'content_range_example' # String | The Content-Range header specifies the location of the file chunk within the file.
|
568
720
|
upload_href = 'upload_href_example' # String |
|
569
|
-
file = File.new('/path/to/file') # File | A chunk of the uploaded file.
|
721
|
+
file = File.new('/path/to/some/file') # File | A chunk of the uploaded file.
|
570
722
|
opts = {
|
571
723
|
sha256: 'sha256_example' # String | The SHA-256 checksum of the chunk if available.
|
572
724
|
}
|
573
725
|
|
574
726
|
begin
|
575
|
-
#Upload a file chunk
|
727
|
+
# Upload a file chunk
|
576
728
|
result = api_instance.update(content_range, upload_href, file, opts)
|
577
729
|
p result
|
578
730
|
rescue PulpcoreClient::ApiError => e
|
579
|
-
puts "
|
731
|
+
puts "Error when calling UploadsApi->update: #{e}"
|
580
732
|
end
|
581
733
|
```
|
582
734
|
|
583
|
-
|
735
|
+
#### Using the update_with_http_info variant
|
736
|
+
|
737
|
+
This returns an Array which contains the response data, status code and headers.
|
738
|
+
|
739
|
+
> <Array(<UploadResponse>, Integer, Hash)> update_with_http_info(content_range, upload_href, file, opts)
|
740
|
+
|
741
|
+
```ruby
|
742
|
+
begin
|
743
|
+
# Upload a file chunk
|
744
|
+
data, status_code, headers = api_instance.update_with_http_info(content_range, upload_href, file, opts)
|
745
|
+
p status_code # => 2xx
|
746
|
+
p headers # => { ... }
|
747
|
+
p data # => <UploadResponse>
|
748
|
+
rescue PulpcoreClient::ApiError => e
|
749
|
+
puts "Error when calling UploadsApi->update_with_http_info: #{e}"
|
750
|
+
end
|
751
|
+
```
|
584
752
|
|
753
|
+
### Parameters
|
585
754
|
|
586
|
-
Name | Type | Description
|
587
|
-
|
588
|
-
**content_range** | **String
|
589
|
-
**upload_href** | **String
|
590
|
-
**file** | **File
|
591
|
-
**sha256** | **String
|
755
|
+
| Name | Type | Description | Notes |
|
756
|
+
| ---- | ---- | ----------- | ----- |
|
757
|
+
| **content_range** | **String** | The Content-Range header specifies the location of the file chunk within the file. | |
|
758
|
+
| **upload_href** | **String** | | |
|
759
|
+
| **file** | **File** | A chunk of the uploaded file. | |
|
760
|
+
| **sha256** | **String** | The SHA-256 checksum of the chunk if available. | [optional] |
|
592
761
|
|
593
762
|
### Return type
|
594
763
|
|