cloudsmith-api 2.0.27 → 2.0.30
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/Gemfile.lock +1 -1
- data/README.md +26 -4
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +4 -0
- data/docs/AlpinePackageUploadRequest.md +2 -0
- data/docs/CargoPackageUpload.md +4 -0
- data/docs/CargoPackageUploadRequest.md +2 -0
- data/docs/CocoapodsPackageUpload.md +4 -0
- data/docs/CocoapodsPackageUploadRequest.md +2 -0
- data/docs/ComposerPackageUpload.md +4 -0
- data/docs/ComposerPackageUploadRequest.md +2 -0
- data/docs/ConanPackageUpload.md +4 -0
- data/docs/ConanPackageUploadRequest.md +2 -0
- data/docs/CondaPackageUpload.md +4 -0
- data/docs/CondaPackageUploadRequest.md +2 -0
- data/docs/ConnectedRepository.md +3 -1
- data/docs/ConnectedRepositoryRequest.md +1 -1
- data/docs/ConnectedRepositoryRequestPatch.md +1 -1
- data/docs/CranPackageUpload.md +4 -0
- data/docs/CranPackageUploadRequest.md +2 -0
- data/docs/DartPackageUpload.md +4 -0
- data/docs/DartPackageUploadRequest.md +2 -0
- data/docs/DebPackageUpload.md +4 -0
- data/docs/DebPackageUploadRequest.md +2 -0
- data/docs/DockerPackageUpload.md +4 -0
- data/docs/DockerPackageUploadRequest.md +2 -0
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +4 -0
- data/docs/GenericPackageUploadRequest.md +2 -0
- data/docs/GoPackageUpload.md +4 -0
- data/docs/GoPackageUploadRequest.md +2 -0
- data/docs/HelmPackageUpload.md +4 -0
- data/docs/HelmPackageUploadRequest.md +2 -0
- data/docs/HexPackageUpload.md +4 -0
- data/docs/HexPackageUploadRequest.md +2 -0
- data/docs/HuggingfacePackageUpload.md +4 -0
- data/docs/HuggingfacePackageUploadRequest.md +2 -0
- data/docs/InlineResponse200.md +5 -1
- data/docs/InlineResponse2001.md +3 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +8 -0
- data/docs/InlineResponse2004.md +8 -0
- data/docs/LuarocksPackageUpload.md +4 -0
- data/docs/LuarocksPackageUploadRequest.md +2 -0
- data/docs/MavenPackageUpload.md +4 -0
- data/docs/MavenPackageUploadRequest.md +2 -0
- data/docs/McpPackageUpload.md +4 -0
- data/docs/McpPackageUploadRequest.md +2 -0
- data/docs/NixPackageUpload.md +97 -0
- data/docs/NixPackageUploadRequest.md +14 -0
- data/docs/NixUpstream.md +32 -0
- data/docs/NixUpstreamRequest.md +20 -0
- data/docs/NixUpstreamRequestPatch.md +20 -0
- data/docs/NpmPackageUpload.md +4 -0
- data/docs/NpmPackageUploadRequest.md +2 -0
- data/docs/NugetPackageUpload.md +4 -0
- data/docs/NugetPackageUploadRequest.md +2 -0
- data/docs/OrganizationSAMLAuth.md +2 -0
- data/docs/OrganizationSAMLAuthRequestPatch.md +2 -0
- data/docs/OrganizationUsage.md +11 -0
- data/docs/OrganizationUsageUpdate.md +10 -0
- data/docs/OrganizationUsageUpdateRequestPatch.md +10 -0
- data/docs/OrgsApi.md +123 -1
- data/docs/P2PackageUpload.md +4 -0
- data/docs/P2PackageUploadRequest.md +2 -0
- data/docs/Package.md +4 -0
- data/docs/PackageCopy.md +4 -0
- data/docs/PackageCopyRequest.md +2 -0
- data/docs/PackageDetail.md +100 -0
- data/docs/PackageLicense.md +2 -0
- data/docs/PackageLicenseRequestPatch.md +3 -1
- data/docs/PackageMove.md +4 -0
- data/docs/PackageMoveRequest.md +2 -0
- data/docs/PackageQuarantine.md +4 -0
- data/docs/PackageQuarantineRequest.md +2 -0
- data/docs/PackageResync.md +4 -0
- data/docs/PackageTag.md +4 -0
- data/docs/PackageTagRequest.md +2 -0
- data/docs/PackageVulnerability.md +2 -0
- data/docs/PackagesApi.md +156 -9
- data/docs/PythonPackageUpload.md +4 -0
- data/docs/PythonPackageUploadRequest.md +2 -0
- data/docs/RawPackageUpload.md +4 -0
- data/docs/RawPackageUploadRequest.md +2 -0
- data/docs/RecycleBinPackage.md +2 -0
- data/docs/ReposApi.md +405 -4
- data/docs/Repository.md +1 -0
- data/docs/RepositoryCreate.md +1 -0
- data/docs/RepositoryEd25519Key.md +1 -0
- data/docs/RpmPackageUpload.md +4 -0
- data/docs/RpmPackageUploadRequest.md +2 -0
- data/docs/RubyPackageUpload.md +4 -0
- data/docs/RubyPackageUploadRequest.md +2 -0
- data/docs/SwiftPackageUpload.md +4 -0
- data/docs/SwiftPackageUploadRequest.md +2 -0
- data/docs/TerraformPackageUpload.md +4 -0
- data/docs/TerraformPackageUploadRequest.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +4 -0
- data/docs/VagrantPackageUploadRequest.md +2 -0
- data/docs/VsxPackageUpload.md +4 -0
- data/docs/VsxPackageUploadRequest.md +2 -0
- data/docs/WebOSVSeverityCounts.md +14 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +109 -0
- data/lib/cloudsmith-api/api/packages_api.rb +144 -6
- data/lib/cloudsmith-api/api/repos_api.rb +400 -5
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cargo_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/composer_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/composer_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/composer_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/conan_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/conan_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/conda_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/conda_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/conda_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/connected_repository.rb +57 -2
- data/lib/cloudsmith-api/models/connected_repository_request.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/cran_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cran_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cran_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/dart_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/dart_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/dart_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/deb_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/deb_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/deb_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/docker_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/docker_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/format_support_upstream.rb +16 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/generic_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/generic_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/go_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/go_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/helm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/helm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/hex_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/hex_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/inline_response_200.rb +48 -14
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +28 -14
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_3.rb +191 -0
- data/lib/cloudsmith-api/models/inline_response_200_4.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/maven_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/nix_package_upload.rb +1061 -0
- data/lib/cloudsmith-api/models/nix_package_upload_request.rb +249 -0
- data/lib/cloudsmith-api/models/nix_upstream.rb +496 -0
- data/lib/cloudsmith-api/models/nix_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/nix_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/npm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/npm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/nuget_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/organization_saml_auth.rb +24 -4
- data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +24 -4
- data/lib/cloudsmith-api/models/organization_usage.rb +215 -0
- data/lib/cloudsmith-api/models/organization_usage_update.rb +202 -0
- data/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb +202 -0
- data/lib/cloudsmith-api/models/p2_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/p2_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/package.rb +42 -1
- data/lib/cloudsmith-api/models/package_copy.rb +42 -1
- data/lib/cloudsmith-api/models/package_copy_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_detail.rb +1090 -0
- data/lib/cloudsmith-api/models/package_license.rb +23 -4
- data/lib/cloudsmith-api/models/package_license_request_patch.rb +28 -4
- data/lib/cloudsmith-api/models/package_move.rb +42 -1
- data/lib/cloudsmith-api/models/package_move_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_quarantine.rb +42 -1
- data/lib/cloudsmith-api/models/package_quarantine_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_resync.rb +42 -1
- data/lib/cloudsmith-api/models/package_tag.rb +42 -1
- data/lib/cloudsmith-api/models/package_tag_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_vulnerability.rb +23 -4
- data/lib/cloudsmith-api/models/python_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/python_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/python_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/raw_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/raw_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/recycle_bin_package.rb +23 -4
- data/lib/cloudsmith-api/models/repository.rb +11 -1
- data/lib/cloudsmith-api/models/repository_create.rb +11 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key.rb +14 -4
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/swift_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/web_osv_severity_counts.rb +239 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +12 -0
- data/spec/api/orgs_api_spec.rb +24 -0
- data/spec/api/packages_api_spec.rb +35 -2
- data/spec/api/repos_api_spec.rb +89 -2
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_request_spec.rb +12 -0
- data/spec/models/alpine_package_upload_spec.rb +24 -0
- data/spec/models/cargo_package_upload_request_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +24 -0
- data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_spec.rb +1 -1
- data/spec/models/cargo_upstream_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_request_spec.rb +12 -0
- data/spec/models/cocoapods_package_upload_spec.rb +24 -0
- data/spec/models/composer_package_upload_request_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +24 -0
- data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
- data/spec/models/composer_upstream_request_spec.rb +1 -1
- data/spec/models/composer_upstream_spec.rb +1 -1
- data/spec/models/conan_package_upload_request_spec.rb +12 -0
- data/spec/models/conan_package_upload_spec.rb +24 -0
- data/spec/models/conda_package_upload_request_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +24 -0
- data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
- data/spec/models/conda_upstream_request_spec.rb +1 -1
- data/spec/models/conda_upstream_spec.rb +1 -1
- data/spec/models/connected_repository_spec.rb +16 -0
- data/spec/models/cran_package_upload_request_spec.rb +12 -0
- data/spec/models/cran_package_upload_spec.rb +24 -0
- data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cran_upstream_request_spec.rb +1 -1
- data/spec/models/cran_upstream_spec.rb +1 -1
- data/spec/models/dart_package_upload_request_spec.rb +12 -0
- data/spec/models/dart_package_upload_spec.rb +24 -0
- data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
- data/spec/models/dart_upstream_request_spec.rb +1 -1
- data/spec/models/dart_upstream_spec.rb +1 -1
- data/spec/models/deb_package_upload_request_spec.rb +12 -0
- data/spec/models/deb_package_upload_spec.rb +24 -0
- data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
- data/spec/models/deb_upstream_request_spec.rb +1 -1
- data/spec/models/deb_upstream_spec.rb +1 -1
- data/spec/models/docker_package_upload_request_spec.rb +12 -0
- data/spec/models/docker_package_upload_spec.rb +24 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_request_spec.rb +12 -0
- data/spec/models/generic_package_upload_spec.rb +24 -0
- data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
- data/spec/models/generic_upstream_request_spec.rb +1 -1
- data/spec/models/generic_upstream_spec.rb +1 -1
- data/spec/models/go_package_upload_request_spec.rb +12 -0
- data/spec/models/go_package_upload_spec.rb +24 -0
- data/spec/models/helm_package_upload_request_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +24 -0
- data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/helm_upstream_request_spec.rb +1 -1
- data/spec/models/helm_upstream_spec.rb +1 -1
- data/spec/models/hex_package_upload_request_spec.rb +12 -0
- data/spec/models/hex_package_upload_spec.rb +24 -0
- data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
- data/spec/models/hex_upstream_request_spec.rb +1 -1
- data/spec/models/hex_upstream_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_request_spec.rb +12 -0
- data/spec/models/huggingface_package_upload_spec.rb +24 -0
- data/spec/models/inline_response_200_1_spec.rb +13 -1
- data/spec/models/inline_response_200_3_spec.rb +41 -0
- data/spec/models/inline_response_200_4_spec.rb +41 -0
- data/spec/models/inline_response_200_spec.rb +25 -1
- data/spec/models/luarocks_package_upload_request_spec.rb +12 -0
- data/spec/models/luarocks_package_upload_spec.rb +24 -0
- data/spec/models/maven_package_upload_request_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +24 -0
- data/spec/models/mcp_package_upload_request_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +24 -0
- data/spec/models/nix_package_upload_request_spec.rb +77 -0
- data/spec/models/nix_package_upload_spec.rb +579 -0
- data/spec/models/nix_upstream_request_patch_spec.rb +121 -0
- data/spec/models/nix_upstream_request_spec.rb +121 -0
- data/spec/models/nix_upstream_spec.rb +197 -0
- data/spec/models/npm_package_upload_request_spec.rb +12 -0
- data/spec/models/npm_package_upload_spec.rb +24 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/npm_upstream_request_spec.rb +1 -1
- data/spec/models/npm_upstream_spec.rb +1 -1
- data/spec/models/nuget_package_upload_request_spec.rb +12 -0
- data/spec/models/nuget_package_upload_spec.rb +24 -0
- data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_spec.rb +1 -1
- data/spec/models/nuget_upstream_spec.rb +1 -1
- data/spec/models/organization_saml_auth_request_patch_spec.rb +12 -0
- data/spec/models/organization_saml_auth_spec.rb +12 -0
- data/spec/models/organization_usage_spec.rb +59 -0
- data/spec/models/organization_usage_update_request_patch_spec.rb +53 -0
- data/spec/models/organization_usage_update_spec.rb +53 -0
- data/spec/models/p2_package_upload_request_spec.rb +12 -0
- data/spec/models/p2_package_upload_spec.rb +24 -0
- data/spec/models/package_copy_request_spec.rb +12 -0
- data/spec/models/package_copy_spec.rb +24 -0
- data/spec/models/package_detail_spec.rb +597 -0
- data/spec/models/package_license_request_patch_spec.rb +12 -0
- data/spec/models/package_license_spec.rb +12 -0
- data/spec/models/package_move_request_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +24 -0
- data/spec/models/package_quarantine_request_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +24 -0
- data/spec/models/package_resync_spec.rb +24 -0
- data/spec/models/package_spec.rb +24 -0
- data/spec/models/package_tag_request_spec.rb +12 -0
- data/spec/models/package_tag_spec.rb +24 -0
- data/spec/models/package_vulnerability_spec.rb +12 -0
- data/spec/models/python_package_upload_request_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +24 -0
- data/spec/models/python_upstream_request_patch_spec.rb +1 -1
- data/spec/models/python_upstream_request_spec.rb +1 -1
- data/spec/models/python_upstream_spec.rb +1 -1
- data/spec/models/raw_package_upload_request_spec.rb +12 -0
- data/spec/models/raw_package_upload_spec.rb +24 -0
- data/spec/models/recycle_bin_package_spec.rb +12 -0
- data/spec/models/repository_create_spec.rb +6 -0
- data/spec/models/repository_ed25519_key_spec.rb +6 -0
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/rpm_package_upload_request_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +24 -0
- data/spec/models/ruby_package_upload_request_spec.rb +12 -0
- data/spec/models/ruby_package_upload_spec.rb +24 -0
- data/spec/models/swift_package_upload_request_spec.rb +12 -0
- data/spec/models/swift_package_upload_spec.rb +24 -0
- data/spec/models/terraform_package_upload_request_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +24 -0
- data/spec/models/vagrant_package_upload_request_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +24 -0
- data/spec/models/vsx_package_upload_request_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +24 -0
- data/spec/models/web_osv_severity_counts_spec.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- metadata +51 -3
data/docs/ReposApi.md
CHANGED
|
@@ -124,6 +124,12 @@ Method | HTTP request | Description
|
|
|
124
124
|
[**repos_upstream_maven_partial_update**](ReposApi.md#repos_upstream_maven_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository.
|
|
125
125
|
[**repos_upstream_maven_read**](ReposApi.md#repos_upstream_maven_read) | **GET** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository.
|
|
126
126
|
[**repos_upstream_maven_update**](ReposApi.md#repos_upstream_maven_update) | **PUT** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository.
|
|
127
|
+
[**repos_upstream_nix_create**](ReposApi.md#repos_upstream_nix_create) | **POST** /repos/{owner}/{identifier}/upstream/nix/ | Create a Nix upstream config for this repository.
|
|
128
|
+
[**repos_upstream_nix_delete**](ReposApi.md#repos_upstream_nix_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Delete a Nix upstream config for this repository.
|
|
129
|
+
[**repos_upstream_nix_list**](ReposApi.md#repos_upstream_nix_list) | **GET** /repos/{owner}/{identifier}/upstream/nix/ | List Nix upstream configs for this repository.
|
|
130
|
+
[**repos_upstream_nix_partial_update**](ReposApi.md#repos_upstream_nix_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Partially update a Nix upstream config for this repository.
|
|
131
|
+
[**repos_upstream_nix_read**](ReposApi.md#repos_upstream_nix_read) | **GET** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Retrieve a Nix upstream config for this repository.
|
|
132
|
+
[**repos_upstream_nix_update**](ReposApi.md#repos_upstream_nix_update) | **PUT** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Update a Nix upstream config for this repository.
|
|
127
133
|
[**repos_upstream_npm_create**](ReposApi.md#repos_upstream_npm_create) | **POST** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository.
|
|
128
134
|
[**repos_upstream_npm_delete**](ReposApi.md#repos_upstream_npm_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository.
|
|
129
135
|
[**repos_upstream_npm_list**](ReposApi.md#repos_upstream_npm_list) | **GET** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository.
|
|
@@ -481,7 +487,7 @@ nil (empty response body)
|
|
|
481
487
|
|
|
482
488
|
|
|
483
489
|
# **repos_connected_list**
|
|
484
|
-
>
|
|
490
|
+
> InlineResponse2003 repos_connected_list(owner, identifier, opts)
|
|
485
491
|
|
|
486
492
|
List connected repositories for this repository.
|
|
487
493
|
|
|
@@ -534,7 +540,7 @@ Name | Type | Description | Notes
|
|
|
534
540
|
|
|
535
541
|
### Return type
|
|
536
542
|
|
|
537
|
-
[**
|
|
543
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
|
538
544
|
|
|
539
545
|
### Authorization
|
|
540
546
|
|
|
@@ -1844,7 +1850,7 @@ opts = {
|
|
|
1844
1850
|
page: 56, # Integer | A page number within the paginated result set.
|
|
1845
1851
|
page_size: 56, # Integer | Number of results to return per page.
|
|
1846
1852
|
query: '', # String | A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type.
|
|
1847
|
-
sort: '-created_at' # String | A field for sorting objects in ascending or descending order.
|
|
1853
|
+
sort: '-created_at' # String | A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size.
|
|
1848
1854
|
}
|
|
1849
1855
|
|
|
1850
1856
|
begin
|
|
@@ -1864,7 +1870,7 @@ Name | Type | Description | Notes
|
|
|
1864
1870
|
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
1865
1871
|
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
1866
1872
|
**query** | **String**| A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type. | [optional] [default to ]
|
|
1867
|
-
**sort** | **String**| A field for sorting objects in ascending or descending order. | [optional] [default to -created_at]
|
|
1873
|
+
**sort** | **String**| A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size. | [optional] [default to -created_at]
|
|
1868
1874
|
|
|
1869
1875
|
### Return type
|
|
1870
1876
|
|
|
@@ -7983,6 +7989,401 @@ Name | Type | Description | Notes
|
|
|
7983
7989
|
|
|
7984
7990
|
|
|
7985
7991
|
|
|
7992
|
+
# **repos_upstream_nix_create**
|
|
7993
|
+
> NixUpstream repos_upstream_nix_create(owner, identifier, opts)
|
|
7994
|
+
|
|
7995
|
+
Create a Nix upstream config for this repository.
|
|
7996
|
+
|
|
7997
|
+
Create a Nix upstream config for this repository.
|
|
7998
|
+
|
|
7999
|
+
### Example
|
|
8000
|
+
```ruby
|
|
8001
|
+
# load the gem
|
|
8002
|
+
require 'cloudsmith-api'
|
|
8003
|
+
# setup authorization
|
|
8004
|
+
CloudsmithApi.configure do |config|
|
|
8005
|
+
# Configure API key authorization: apikey
|
|
8006
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8007
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8008
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8009
|
+
|
|
8010
|
+
# Configure HTTP basic authorization: basic
|
|
8011
|
+
config.username = 'YOUR USERNAME'
|
|
8012
|
+
config.password = 'YOUR PASSWORD'
|
|
8013
|
+
end
|
|
8014
|
+
|
|
8015
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8016
|
+
|
|
8017
|
+
owner = 'owner_example' # String |
|
|
8018
|
+
|
|
8019
|
+
identifier = 'identifier_example' # String |
|
|
8020
|
+
|
|
8021
|
+
opts = {
|
|
8022
|
+
data: CloudsmithApi::NixUpstreamRequest.new # NixUpstreamRequest |
|
|
8023
|
+
}
|
|
8024
|
+
|
|
8025
|
+
begin
|
|
8026
|
+
#Create a Nix upstream config for this repository.
|
|
8027
|
+
result = api_instance.repos_upstream_nix_create(owner, identifier, opts)
|
|
8028
|
+
p result
|
|
8029
|
+
rescue CloudsmithApi::ApiError => e
|
|
8030
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_create: #{e}"
|
|
8031
|
+
end
|
|
8032
|
+
```
|
|
8033
|
+
|
|
8034
|
+
### Parameters
|
|
8035
|
+
|
|
8036
|
+
Name | Type | Description | Notes
|
|
8037
|
+
------------- | ------------- | ------------- | -------------
|
|
8038
|
+
**owner** | **String**| |
|
|
8039
|
+
**identifier** | **String**| |
|
|
8040
|
+
**data** | [**NixUpstreamRequest**](NixUpstreamRequest.md)| | [optional]
|
|
8041
|
+
|
|
8042
|
+
### Return type
|
|
8043
|
+
|
|
8044
|
+
[**NixUpstream**](NixUpstream.md)
|
|
8045
|
+
|
|
8046
|
+
### Authorization
|
|
8047
|
+
|
|
8048
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8049
|
+
|
|
8050
|
+
### HTTP request headers
|
|
8051
|
+
|
|
8052
|
+
- **Content-Type**: application/json
|
|
8053
|
+
- **Accept**: application/json
|
|
8054
|
+
|
|
8055
|
+
|
|
8056
|
+
|
|
8057
|
+
# **repos_upstream_nix_delete**
|
|
8058
|
+
> repos_upstream_nix_delete(owner, identifier, slug_perm)
|
|
8059
|
+
|
|
8060
|
+
Delete a Nix upstream config for this repository.
|
|
8061
|
+
|
|
8062
|
+
Delete a Nix upstream config for this repository.
|
|
8063
|
+
|
|
8064
|
+
### Example
|
|
8065
|
+
```ruby
|
|
8066
|
+
# load the gem
|
|
8067
|
+
require 'cloudsmith-api'
|
|
8068
|
+
# setup authorization
|
|
8069
|
+
CloudsmithApi.configure do |config|
|
|
8070
|
+
# Configure API key authorization: apikey
|
|
8071
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8072
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8073
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8074
|
+
|
|
8075
|
+
# Configure HTTP basic authorization: basic
|
|
8076
|
+
config.username = 'YOUR USERNAME'
|
|
8077
|
+
config.password = 'YOUR PASSWORD'
|
|
8078
|
+
end
|
|
8079
|
+
|
|
8080
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8081
|
+
|
|
8082
|
+
owner = 'owner_example' # String |
|
|
8083
|
+
|
|
8084
|
+
identifier = 'identifier_example' # String |
|
|
8085
|
+
|
|
8086
|
+
slug_perm = 'slug_perm_example' # String |
|
|
8087
|
+
|
|
8088
|
+
|
|
8089
|
+
begin
|
|
8090
|
+
#Delete a Nix upstream config for this repository.
|
|
8091
|
+
api_instance.repos_upstream_nix_delete(owner, identifier, slug_perm)
|
|
8092
|
+
rescue CloudsmithApi::ApiError => e
|
|
8093
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_delete: #{e}"
|
|
8094
|
+
end
|
|
8095
|
+
```
|
|
8096
|
+
|
|
8097
|
+
### Parameters
|
|
8098
|
+
|
|
8099
|
+
Name | Type | Description | Notes
|
|
8100
|
+
------------- | ------------- | ------------- | -------------
|
|
8101
|
+
**owner** | **String**| |
|
|
8102
|
+
**identifier** | **String**| |
|
|
8103
|
+
**slug_perm** | **String**| |
|
|
8104
|
+
|
|
8105
|
+
### Return type
|
|
8106
|
+
|
|
8107
|
+
nil (empty response body)
|
|
8108
|
+
|
|
8109
|
+
### Authorization
|
|
8110
|
+
|
|
8111
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8112
|
+
|
|
8113
|
+
### HTTP request headers
|
|
8114
|
+
|
|
8115
|
+
- **Content-Type**: application/json
|
|
8116
|
+
- **Accept**: application/json
|
|
8117
|
+
|
|
8118
|
+
|
|
8119
|
+
|
|
8120
|
+
# **repos_upstream_nix_list**
|
|
8121
|
+
> Array<NixUpstream> repos_upstream_nix_list(owner, identifier, opts)
|
|
8122
|
+
|
|
8123
|
+
List Nix upstream configs for this repository.
|
|
8124
|
+
|
|
8125
|
+
List Nix upstream configs for this repository.
|
|
8126
|
+
|
|
8127
|
+
### Example
|
|
8128
|
+
```ruby
|
|
8129
|
+
# load the gem
|
|
8130
|
+
require 'cloudsmith-api'
|
|
8131
|
+
# setup authorization
|
|
8132
|
+
CloudsmithApi.configure do |config|
|
|
8133
|
+
# Configure API key authorization: apikey
|
|
8134
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8135
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8136
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8137
|
+
|
|
8138
|
+
# Configure HTTP basic authorization: basic
|
|
8139
|
+
config.username = 'YOUR USERNAME'
|
|
8140
|
+
config.password = 'YOUR PASSWORD'
|
|
8141
|
+
end
|
|
8142
|
+
|
|
8143
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8144
|
+
|
|
8145
|
+
owner = 'owner_example' # String |
|
|
8146
|
+
|
|
8147
|
+
identifier = 'identifier_example' # String |
|
|
8148
|
+
|
|
8149
|
+
opts = {
|
|
8150
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
8151
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
8152
|
+
}
|
|
8153
|
+
|
|
8154
|
+
begin
|
|
8155
|
+
#List Nix upstream configs for this repository.
|
|
8156
|
+
result = api_instance.repos_upstream_nix_list(owner, identifier, opts)
|
|
8157
|
+
p result
|
|
8158
|
+
rescue CloudsmithApi::ApiError => e
|
|
8159
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_list: #{e}"
|
|
8160
|
+
end
|
|
8161
|
+
```
|
|
8162
|
+
|
|
8163
|
+
### Parameters
|
|
8164
|
+
|
|
8165
|
+
Name | Type | Description | Notes
|
|
8166
|
+
------------- | ------------- | ------------- | -------------
|
|
8167
|
+
**owner** | **String**| |
|
|
8168
|
+
**identifier** | **String**| |
|
|
8169
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
8170
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
8171
|
+
|
|
8172
|
+
### Return type
|
|
8173
|
+
|
|
8174
|
+
[**Array<NixUpstream>**](NixUpstream.md)
|
|
8175
|
+
|
|
8176
|
+
### Authorization
|
|
8177
|
+
|
|
8178
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8179
|
+
|
|
8180
|
+
### HTTP request headers
|
|
8181
|
+
|
|
8182
|
+
- **Content-Type**: application/json
|
|
8183
|
+
- **Accept**: application/json
|
|
8184
|
+
|
|
8185
|
+
|
|
8186
|
+
|
|
8187
|
+
# **repos_upstream_nix_partial_update**
|
|
8188
|
+
> NixUpstream repos_upstream_nix_partial_update(owner, identifier, slug_perm, opts)
|
|
8189
|
+
|
|
8190
|
+
Partially update a Nix upstream config for this repository.
|
|
8191
|
+
|
|
8192
|
+
Partially update a Nix upstream config for this repository.
|
|
8193
|
+
|
|
8194
|
+
### Example
|
|
8195
|
+
```ruby
|
|
8196
|
+
# load the gem
|
|
8197
|
+
require 'cloudsmith-api'
|
|
8198
|
+
# setup authorization
|
|
8199
|
+
CloudsmithApi.configure do |config|
|
|
8200
|
+
# Configure API key authorization: apikey
|
|
8201
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8202
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8203
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8204
|
+
|
|
8205
|
+
# Configure HTTP basic authorization: basic
|
|
8206
|
+
config.username = 'YOUR USERNAME'
|
|
8207
|
+
config.password = 'YOUR PASSWORD'
|
|
8208
|
+
end
|
|
8209
|
+
|
|
8210
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8211
|
+
|
|
8212
|
+
owner = 'owner_example' # String |
|
|
8213
|
+
|
|
8214
|
+
identifier = 'identifier_example' # String |
|
|
8215
|
+
|
|
8216
|
+
slug_perm = 'slug_perm_example' # String |
|
|
8217
|
+
|
|
8218
|
+
opts = {
|
|
8219
|
+
data: CloudsmithApi::NixUpstreamRequestPatch.new # NixUpstreamRequestPatch |
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8222
|
+
begin
|
|
8223
|
+
#Partially update a Nix upstream config for this repository.
|
|
8224
|
+
result = api_instance.repos_upstream_nix_partial_update(owner, identifier, slug_perm, opts)
|
|
8225
|
+
p result
|
|
8226
|
+
rescue CloudsmithApi::ApiError => e
|
|
8227
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_partial_update: #{e}"
|
|
8228
|
+
end
|
|
8229
|
+
```
|
|
8230
|
+
|
|
8231
|
+
### Parameters
|
|
8232
|
+
|
|
8233
|
+
Name | Type | Description | Notes
|
|
8234
|
+
------------- | ------------- | ------------- | -------------
|
|
8235
|
+
**owner** | **String**| |
|
|
8236
|
+
**identifier** | **String**| |
|
|
8237
|
+
**slug_perm** | **String**| |
|
|
8238
|
+
**data** | [**NixUpstreamRequestPatch**](NixUpstreamRequestPatch.md)| | [optional]
|
|
8239
|
+
|
|
8240
|
+
### Return type
|
|
8241
|
+
|
|
8242
|
+
[**NixUpstream**](NixUpstream.md)
|
|
8243
|
+
|
|
8244
|
+
### Authorization
|
|
8245
|
+
|
|
8246
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8247
|
+
|
|
8248
|
+
### HTTP request headers
|
|
8249
|
+
|
|
8250
|
+
- **Content-Type**: application/json
|
|
8251
|
+
- **Accept**: application/json
|
|
8252
|
+
|
|
8253
|
+
|
|
8254
|
+
|
|
8255
|
+
# **repos_upstream_nix_read**
|
|
8256
|
+
> NixUpstream repos_upstream_nix_read(owner, identifier, slug_perm)
|
|
8257
|
+
|
|
8258
|
+
Retrieve a Nix upstream config for this repository.
|
|
8259
|
+
|
|
8260
|
+
Retrieve a Nix upstream config for this repository.
|
|
8261
|
+
|
|
8262
|
+
### Example
|
|
8263
|
+
```ruby
|
|
8264
|
+
# load the gem
|
|
8265
|
+
require 'cloudsmith-api'
|
|
8266
|
+
# setup authorization
|
|
8267
|
+
CloudsmithApi.configure do |config|
|
|
8268
|
+
# Configure API key authorization: apikey
|
|
8269
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8270
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8271
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8272
|
+
|
|
8273
|
+
# Configure HTTP basic authorization: basic
|
|
8274
|
+
config.username = 'YOUR USERNAME'
|
|
8275
|
+
config.password = 'YOUR PASSWORD'
|
|
8276
|
+
end
|
|
8277
|
+
|
|
8278
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8279
|
+
|
|
8280
|
+
owner = 'owner_example' # String |
|
|
8281
|
+
|
|
8282
|
+
identifier = 'identifier_example' # String |
|
|
8283
|
+
|
|
8284
|
+
slug_perm = 'slug_perm_example' # String |
|
|
8285
|
+
|
|
8286
|
+
|
|
8287
|
+
begin
|
|
8288
|
+
#Retrieve a Nix upstream config for this repository.
|
|
8289
|
+
result = api_instance.repos_upstream_nix_read(owner, identifier, slug_perm)
|
|
8290
|
+
p result
|
|
8291
|
+
rescue CloudsmithApi::ApiError => e
|
|
8292
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_read: #{e}"
|
|
8293
|
+
end
|
|
8294
|
+
```
|
|
8295
|
+
|
|
8296
|
+
### Parameters
|
|
8297
|
+
|
|
8298
|
+
Name | Type | Description | Notes
|
|
8299
|
+
------------- | ------------- | ------------- | -------------
|
|
8300
|
+
**owner** | **String**| |
|
|
8301
|
+
**identifier** | **String**| |
|
|
8302
|
+
**slug_perm** | **String**| |
|
|
8303
|
+
|
|
8304
|
+
### Return type
|
|
8305
|
+
|
|
8306
|
+
[**NixUpstream**](NixUpstream.md)
|
|
8307
|
+
|
|
8308
|
+
### Authorization
|
|
8309
|
+
|
|
8310
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8311
|
+
|
|
8312
|
+
### HTTP request headers
|
|
8313
|
+
|
|
8314
|
+
- **Content-Type**: application/json
|
|
8315
|
+
- **Accept**: application/json
|
|
8316
|
+
|
|
8317
|
+
|
|
8318
|
+
|
|
8319
|
+
# **repos_upstream_nix_update**
|
|
8320
|
+
> NixUpstream repos_upstream_nix_update(owner, identifier, slug_perm, opts)
|
|
8321
|
+
|
|
8322
|
+
Update a Nix upstream config for this repository.
|
|
8323
|
+
|
|
8324
|
+
Update a Nix upstream config for this repository.
|
|
8325
|
+
|
|
8326
|
+
### Example
|
|
8327
|
+
```ruby
|
|
8328
|
+
# load the gem
|
|
8329
|
+
require 'cloudsmith-api'
|
|
8330
|
+
# setup authorization
|
|
8331
|
+
CloudsmithApi.configure do |config|
|
|
8332
|
+
# Configure API key authorization: apikey
|
|
8333
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
8334
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
8335
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
8336
|
+
|
|
8337
|
+
# Configure HTTP basic authorization: basic
|
|
8338
|
+
config.username = 'YOUR USERNAME'
|
|
8339
|
+
config.password = 'YOUR PASSWORD'
|
|
8340
|
+
end
|
|
8341
|
+
|
|
8342
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
8343
|
+
|
|
8344
|
+
owner = 'owner_example' # String |
|
|
8345
|
+
|
|
8346
|
+
identifier = 'identifier_example' # String |
|
|
8347
|
+
|
|
8348
|
+
slug_perm = 'slug_perm_example' # String |
|
|
8349
|
+
|
|
8350
|
+
opts = {
|
|
8351
|
+
data: CloudsmithApi::NixUpstreamRequest.new # NixUpstreamRequest |
|
|
8352
|
+
}
|
|
8353
|
+
|
|
8354
|
+
begin
|
|
8355
|
+
#Update a Nix upstream config for this repository.
|
|
8356
|
+
result = api_instance.repos_upstream_nix_update(owner, identifier, slug_perm, opts)
|
|
8357
|
+
p result
|
|
8358
|
+
rescue CloudsmithApi::ApiError => e
|
|
8359
|
+
puts "Exception when calling ReposApi->repos_upstream_nix_update: #{e}"
|
|
8360
|
+
end
|
|
8361
|
+
```
|
|
8362
|
+
|
|
8363
|
+
### Parameters
|
|
8364
|
+
|
|
8365
|
+
Name | Type | Description | Notes
|
|
8366
|
+
------------- | ------------- | ------------- | -------------
|
|
8367
|
+
**owner** | **String**| |
|
|
8368
|
+
**identifier** | **String**| |
|
|
8369
|
+
**slug_perm** | **String**| |
|
|
8370
|
+
**data** | [**NixUpstreamRequest**](NixUpstreamRequest.md)| | [optional]
|
|
8371
|
+
|
|
8372
|
+
### Return type
|
|
8373
|
+
|
|
8374
|
+
[**NixUpstream**](NixUpstream.md)
|
|
8375
|
+
|
|
8376
|
+
### Authorization
|
|
8377
|
+
|
|
8378
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
8379
|
+
|
|
8380
|
+
### HTTP request headers
|
|
8381
|
+
|
|
8382
|
+
- **Content-Type**: application/json
|
|
8383
|
+
- **Accept**: application/json
|
|
8384
|
+
|
|
8385
|
+
|
|
8386
|
+
|
|
7986
8387
|
# **repos_upstream_npm_create**
|
|
7987
8388
|
> NpmUpstream repos_upstream_npm_create(owner, identifier, opts)
|
|
7988
8389
|
|
data/docs/Repository.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**active_connection_count** | **Integer** | Number of active connections for the repository | [optional]
|
|
6
7
|
**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off']
|
|
7
8
|
**cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional]
|
|
8
9
|
**content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard']
|
data/docs/RepositoryCreate.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**active_connection_count** | **Integer** | Number of active connections for the repository | [optional]
|
|
6
7
|
**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off']
|
|
7
8
|
**cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional]
|
|
8
9
|
**content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard']
|
|
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**fingerprint** | **String** | Uppercase hex-encoded SHA-256 fingerprint of the public key. | [optional]
|
|
10
10
|
**fingerprint_short** | **String** | | [optional]
|
|
11
11
|
**public_key** | **String** | The public key given to repository users. | [optional]
|
|
12
|
+
**public_key_wire** | **String** | The public key in `<name>:<base64>` wire format, ready to paste into Nix `trusted-public-keys`. | [optional]
|
|
12
13
|
|
|
13
14
|
|
data/docs/RpmPackageUpload.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -76,18 +77,21 @@ Name | Type | Description | Notes
|
|
|
76
77
|
**status_str** | **String** | | [optional]
|
|
77
78
|
**status_updated_at** | **DateTime** | The datetime the package status was updated at. | [optional]
|
|
78
79
|
**status_url** | **String** | | [optional]
|
|
80
|
+
**store_path** | **String** | Absolute store path for the package, including store hash and name. | [optional]
|
|
79
81
|
**subtype** | **String** | | [optional]
|
|
80
82
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
|
81
83
|
**sync_finished_at** | **DateTime** | The datetime the package sync was finished at. | [optional]
|
|
82
84
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
|
83
85
|
**tags_automatic** | [**Tags**](Tags.md) | | [optional]
|
|
84
86
|
**tags_immutable** | [**Tags**](Tags.md) | | [optional]
|
|
87
|
+
**tags_static** | **Hash<String, Array<String>>** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
|
|
85
88
|
**type_display** | **String** | | [optional]
|
|
86
89
|
**uploaded_at** | **DateTime** | The date this package was uploaded. | [optional]
|
|
87
90
|
**uploader** | **String** | | [optional]
|
|
88
91
|
**uploader_url** | **String** | | [optional]
|
|
89
92
|
**version** | **String** | The raw version for this package. | [optional]
|
|
90
93
|
**version_orig** | **String** | | [optional]
|
|
94
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
91
95
|
**vulnerability_scan_results_url** | **String** | | [optional]
|
|
92
96
|
|
|
93
97
|
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**distribution** | **String** | The distribution to store the package for. |
|
|
7
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
7
8
|
**package_file** | **String** | The primary file for the package. |
|
|
8
9
|
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
|
9
10
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
|
11
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
10
12
|
|
|
11
13
|
|
data/docs/RubyPackageUpload.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -76,18 +77,21 @@ Name | Type | Description | Notes
|
|
|
76
77
|
**status_str** | **String** | | [optional]
|
|
77
78
|
**status_updated_at** | **DateTime** | The datetime the package status was updated at. | [optional]
|
|
78
79
|
**status_url** | **String** | | [optional]
|
|
80
|
+
**store_path** | **String** | Absolute store path for the package, including store hash and name. | [optional]
|
|
79
81
|
**subtype** | **String** | | [optional]
|
|
80
82
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
|
81
83
|
**sync_finished_at** | **DateTime** | The datetime the package sync was finished at. | [optional]
|
|
82
84
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
|
83
85
|
**tags_automatic** | [**Tags**](Tags.md) | | [optional]
|
|
84
86
|
**tags_immutable** | [**Tags**](Tags.md) | | [optional]
|
|
87
|
+
**tags_static** | **Hash<String, Array<String>>** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
|
|
85
88
|
**type_display** | **String** | | [optional]
|
|
86
89
|
**uploaded_at** | **DateTime** | The date this package was uploaded. | [optional]
|
|
87
90
|
**uploader** | **String** | | [optional]
|
|
88
91
|
**uploader_url** | **String** | | [optional]
|
|
89
92
|
**version** | **String** | The raw version for this package. | [optional]
|
|
90
93
|
**version_orig** | **String** | | [optional]
|
|
94
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
91
95
|
**vulnerability_scan_results_url** | **String** | | [optional]
|
|
92
96
|
|
|
93
97
|
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
6
7
|
**package_file** | **String** | The primary file for the package. |
|
|
7
8
|
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
|
8
9
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
|
10
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
9
11
|
|
|
10
12
|
|
data/docs/SwiftPackageUpload.md
CHANGED
|
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
|
|
|
34
34
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
35
35
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
36
36
|
**is_hidden** | **BOOLEAN** | | [optional]
|
|
37
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
37
38
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
38
39
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
39
40
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -81,18 +82,21 @@ Name | Type | Description | Notes
|
|
|
81
82
|
**status_str** | **String** | | [optional]
|
|
82
83
|
**status_updated_at** | **DateTime** | The datetime the package status was updated at. | [optional]
|
|
83
84
|
**status_url** | **String** | | [optional]
|
|
85
|
+
**store_path** | **String** | Absolute store path for the package, including store hash and name. | [optional]
|
|
84
86
|
**subtype** | **String** | | [optional]
|
|
85
87
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
|
86
88
|
**sync_finished_at** | **DateTime** | The datetime the package sync was finished at. | [optional]
|
|
87
89
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
|
88
90
|
**tags_automatic** | [**Tags**](Tags.md) | | [optional]
|
|
89
91
|
**tags_immutable** | [**Tags**](Tags.md) | | [optional]
|
|
92
|
+
**tags_static** | **Hash<String, Array<String>>** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
|
|
90
93
|
**type_display** | **String** | | [optional]
|
|
91
94
|
**uploaded_at** | **DateTime** | The date this package was uploaded. | [optional]
|
|
92
95
|
**uploader** | **String** | | [optional]
|
|
93
96
|
**uploader_url** | **String** | | [optional]
|
|
94
97
|
**version** | **String** | The raw version for this package. |
|
|
95
98
|
**version_orig** | **String** | | [optional]
|
|
99
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
96
100
|
**vulnerability_scan_results_url** | **String** | | [optional]
|
|
97
101
|
|
|
98
102
|
|
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**author_name** | **String** | The name of the author of the package. | [optional]
|
|
7
7
|
**author_org** | **String** | The organization of the author. | [optional]
|
|
8
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
8
9
|
**license_url** | **String** | The license URL of this package. | [optional]
|
|
9
10
|
**name** | **String** | The name of this package. |
|
|
10
11
|
**package_file** | **String** | The primary file for the package. |
|
|
@@ -14,5 +15,6 @@ Name | Type | Description | Notes
|
|
|
14
15
|
**scope** | **String** | A scope provides a namespace for related packages within the package registry. |
|
|
15
16
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
|
16
17
|
**version** | **String** | The raw version for this package. |
|
|
18
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
17
19
|
|
|
18
20
|
|
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -76,18 +77,21 @@ Name | Type | Description | Notes
|
|
|
76
77
|
**status_str** | **String** | | [optional]
|
|
77
78
|
**status_updated_at** | **DateTime** | The datetime the package status was updated at. | [optional]
|
|
78
79
|
**status_url** | **String** | | [optional]
|
|
80
|
+
**store_path** | **String** | Absolute store path for the package, including store hash and name. | [optional]
|
|
79
81
|
**subtype** | **String** | | [optional]
|
|
80
82
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
|
81
83
|
**sync_finished_at** | **DateTime** | The datetime the package sync was finished at. | [optional]
|
|
82
84
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
|
83
85
|
**tags_automatic** | [**Tags**](Tags.md) | | [optional]
|
|
84
86
|
**tags_immutable** | [**Tags**](Tags.md) | | [optional]
|
|
87
|
+
**tags_static** | **Hash<String, Array<String>>** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
|
|
85
88
|
**type_display** | **String** | | [optional]
|
|
86
89
|
**uploaded_at** | **DateTime** | The date this package was uploaded. | [optional]
|
|
87
90
|
**uploader** | **String** | | [optional]
|
|
88
91
|
**uploader_url** | **String** | | [optional]
|
|
89
92
|
**version** | **String** | The raw version for this package. | [optional]
|
|
90
93
|
**version_orig** | **String** | | [optional]
|
|
94
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
91
95
|
**vulnerability_scan_results_url** | **String** | | [optional]
|
|
92
96
|
|
|
93
97
|
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**is_malware_detected** | **BOOLEAN** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
|
|
6
7
|
**package_file** | **String** | The primary file for the package. |
|
|
7
8
|
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
|
8
9
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
|
10
|
+
**vulnerability_counts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
|
|
9
11
|
|
|
10
12
|
|
data/docs/UserApi.md
CHANGED
|
@@ -170,7 +170,7 @@ This endpoint does not need any parameter.
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
# **user_tokens_list**
|
|
173
|
-
>
|
|
173
|
+
> InlineResponse2004 user_tokens_list(opts)
|
|
174
174
|
|
|
175
175
|
Retrieve the API key assigned to the user that is currently authenticated.
|
|
176
176
|
|
|
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
|
|
|
217
217
|
|
|
218
218
|
### Return type
|
|
219
219
|
|
|
220
|
-
[**
|
|
220
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
|
221
221
|
|
|
222
222
|
### Authorization
|
|
223
223
|
|