cloudsmith-api 0.51.37 → 0.52.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +12 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +63 -0
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/EntitlementsCreate.md +1 -1
- data/docs/EntitlementsPartialUpdate.md +1 -1
- data/docs/EntitlementsRefresh.md +1 -1
- data/docs/EntitlmentTokenMetric.md +9 -0
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/MetricsApi.md +83 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackagesApi.md +107 -41
- data/docs/PackagesCopy.md +1 -1
- data/docs/PackagesMove.md +0 -1
- data/docs/PackagesTag.md +10 -0
- data/docs/PackagesUploadAlpine.md +1 -0
- data/docs/PackagesUploadCargo.md +1 -0
- data/docs/PackagesUploadCocoapods.md +1 -0
- data/docs/PackagesUploadComposer.md +1 -0
- data/docs/PackagesUploadConan.md +3 -0
- data/docs/PackagesUploadCran.md +1 -0
- data/docs/PackagesUploadDart.md +1 -0
- data/docs/PackagesUploadDeb.md +3 -0
- data/docs/PackagesUploadDocker.md +1 -0
- data/docs/PackagesUploadGo.md +1 -0
- data/docs/PackagesUploadHelm.md +1 -0
- data/docs/PackagesUploadLuarocks.md +1 -0
- data/docs/PackagesUploadMaven.md +1 -0
- data/docs/PackagesUploadNpm.md +1 -0
- data/docs/PackagesUploadNuget.md +1 -0
- data/docs/PackagesUploadPython.md +1 -0
- data/docs/PackagesUploadRaw.md +1 -0
- data/docs/PackagesUploadRpm.md +1 -0
- data/docs/PackagesUploadRuby.md +1 -0
- data/docs/PackagesUploadTerraform.md +1 -0
- data/docs/PackagesUploadVagrant.md +1 -0
- data/docs/PackagesValidateuploadAlpine.md +1 -0
- data/docs/PackagesValidateuploadCargo.md +1 -0
- data/docs/PackagesValidateuploadCocoapods.md +1 -0
- data/docs/PackagesValidateuploadComposer.md +1 -0
- data/docs/PackagesValidateuploadConan.md +3 -0
- data/docs/PackagesValidateuploadCran.md +1 -0
- data/docs/PackagesValidateuploadDart.md +1 -0
- data/docs/PackagesValidateuploadDeb.md +3 -0
- data/docs/PackagesValidateuploadDocker.md +1 -0
- data/docs/PackagesValidateuploadGo.md +1 -0
- data/docs/PackagesValidateuploadHelm.md +1 -0
- data/docs/PackagesValidateuploadLuarocks.md +1 -0
- data/docs/PackagesValidateuploadMaven.md +1 -0
- data/docs/PackagesValidateuploadNpm.md +1 -0
- data/docs/PackagesValidateuploadNuget.md +1 -0
- data/docs/PackagesValidateuploadPython.md +1 -0
- data/docs/PackagesValidateuploadRaw.md +1 -0
- data/docs/PackagesValidateuploadRpm.md +1 -0
- data/docs/PackagesValidateuploadRuby.md +1 -0
- data/docs/PackagesValidateuploadTerraform.md +1 -0
- data/docs/PackagesValidateuploadVagrant.md +1 -0
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposCreate.md +4 -7
- data/docs/ReposPartialUpdate.md +3 -7
- data/docs/Repository.md +11 -10
- data/docs/RepositoryToken.md +4 -3
- data/docs/RepositoryTokenRefresh.md +4 -3
- data/docs/RepositoryTokenSyncTokens.md +4 -3
- data/docs/RepositoryWebhook.md +1 -0
- data/docs/StorageRegion.md +9 -0
- data/docs/StorageregionsApi.md +122 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/WebhooksCreate.md +1 -0
- data/docs/WebhooksPartialUpdate.md +1 -0
- data/lib/cloudsmith-api.rb +6 -1
- data/lib/cloudsmith-api/api/metrics_api.rb +95 -0
- data/lib/cloudsmith-api/api/packages_api.rb +119 -56
- data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
- data/lib/cloudsmith-api/models/entitlment_token_metric.rb +209 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/package.rb +21 -1
- data/lib/cloudsmith-api/models/package_copy.rb +21 -1
- data/lib/cloudsmith-api/models/package_move.rb +21 -1
- data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
- data/lib/cloudsmith-api/models/packages_move.rb +4 -14
- data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
- data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_terraform.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/repos_create.rb +17 -57
- data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
- data/lib/cloudsmith-api/models/repository.rb +24 -24
- data/lib/cloudsmith-api/models/repository_token.rb +14 -4
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +14 -4
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +14 -4
- data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
- data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/metrics_api_spec.rb +53 -0
- data/spec/api/packages_api_spec.rb +32 -18
- data/spec/api/storageregions_api_spec.rb +58 -0
- data/spec/models/alpine_package_upload_spec.rb +372 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/entitlment_token_metric_spec.rb +48 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/packages_move_spec.rb +0 -6
- data/spec/models/packages_tag_spec.rb +54 -0
- data/spec/models/packages_upload_alpine_spec.rb +6 -0
- data/spec/models/packages_upload_cargo_spec.rb +6 -0
- data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_upload_composer_spec.rb +6 -0
- data/spec/models/packages_upload_conan_spec.rb +18 -0
- data/spec/models/packages_upload_cran_spec.rb +6 -0
- data/spec/models/packages_upload_dart_spec.rb +6 -0
- data/spec/models/packages_upload_deb_spec.rb +18 -0
- data/spec/models/packages_upload_docker_spec.rb +6 -0
- data/spec/models/packages_upload_go_spec.rb +6 -0
- data/spec/models/packages_upload_helm_spec.rb +6 -0
- data/spec/models/packages_upload_luarocks_spec.rb +6 -0
- data/spec/models/packages_upload_maven_spec.rb +6 -0
- data/spec/models/packages_upload_npm_spec.rb +6 -0
- data/spec/models/packages_upload_nuget_spec.rb +6 -0
- data/spec/models/packages_upload_python_spec.rb +6 -0
- data/spec/models/packages_upload_raw_spec.rb +6 -0
- data/spec/models/packages_upload_rpm_spec.rb +6 -0
- data/spec/models/packages_upload_ruby_spec.rb +6 -0
- data/spec/models/packages_upload_terraform_spec.rb +6 -0
- data/spec/models/packages_upload_vagrant_spec.rb +6 -0
- data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
- data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
- data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_validateupload_composer_spec.rb +6 -0
- data/spec/models/packages_validateupload_conan_spec.rb +18 -0
- data/spec/models/packages_validateupload_cran_spec.rb +6 -0
- data/spec/models/packages_validateupload_dart_spec.rb +6 -0
- data/spec/models/packages_validateupload_deb_spec.rb +18 -0
- data/spec/models/packages_validateupload_docker_spec.rb +6 -0
- data/spec/models/packages_validateupload_go_spec.rb +6 -0
- data/spec/models/packages_validateupload_helm_spec.rb +6 -0
- data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
- data/spec/models/packages_validateupload_maven_spec.rb +6 -0
- data/spec/models/packages_validateupload_npm_spec.rb +6 -0
- data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
- data/spec/models/packages_validateupload_python_spec.rb +6 -0
- data/spec/models/packages_validateupload_raw_spec.rb +6 -0
- data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
- data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
- data/spec/models/packages_validateupload_terraform_spec.rb +6 -0
- data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repos_create_spec.rb +3 -21
- data/spec/models/repos_partial_update_spec.rb +0 -24
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +6 -0
- data/spec/models/repository_token_spec.rb +6 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +6 -0
- data/spec/models/repository_webhook_spec.rb +6 -0
- data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/webhooks_create_spec.rb +6 -0
- data/spec/models/webhooks_partial_update_spec.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +277 -250
- data/docs/PackagesResync.md +0 -8
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac0c23c48552b5709804cc0ee3ae65c0c7bc5e0ab070613bc543c268cf375648
|
4
|
+
data.tar.gz: 510b8dfecf90c850d19c12a89e2acfcaeee6d313bb069b987f8cc96b1c9310eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b2ab045adb806c82955199fe9b41fdf251a85e02b75a18f191832ec957b507829a20c0edb55e2508b6a23b29b98fbc05d8984da23cfe2bd36b9e47932602f04
|
7
|
+
data.tar.gz: 60edab0ce0ce1e6070f880fa4e4770fafe3023b3dbc680b16fe72e7209f094eb315f538d2ce31e9aa096eb317f3d8217561181b0c82379f04fa739a4c8ce5bff
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudsmith-api (0.
|
4
|
+
cloudsmith-api (0.52.79)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
7
7
|
|
@@ -19,12 +19,12 @@ GEM
|
|
19
19
|
autotest-rails-pure (4.1.2)
|
20
20
|
crack (0.4.3)
|
21
21
|
safe_yaml (~> 1.0.0)
|
22
|
-
diff-lcs (1.
|
22
|
+
diff-lcs (1.4.4)
|
23
23
|
ethon (0.12.0)
|
24
24
|
ffi (>= 1.3.0)
|
25
25
|
ffi (1.13.1)
|
26
26
|
hashdiff (1.0.1)
|
27
|
-
json (2.3.
|
27
|
+
json (2.3.1)
|
28
28
|
public_suffix (4.0.5)
|
29
29
|
rake (12.0.0)
|
30
30
|
rspec (3.9.0)
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 0.
|
10
|
+
- Package version: 0.52.79
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./cloudsmith-api-0.
|
27
|
+
gem install ./cloudsmith-api-0.52.79.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-0.
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-0.52.79.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'cloudsmith-api', '~> 0.
|
35
|
+
gem 'cloudsmith-api', '~> 0.52.79'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -122,6 +122,7 @@ Class | Method | HTTP request | Description
|
|
122
122
|
*CloudsmithApi::FilesApi* | [**files_validate**](docs/FilesApi.md#files_validate) | **POST** /files/{owner}/{repo}/validate/ | Validate parameters used for create.
|
123
123
|
*CloudsmithApi::FormatsApi* | [**formats_list**](docs/FormatsApi.md#formats_list) | **GET** /formats/ | Get a list of all supported package formats.
|
124
124
|
*CloudsmithApi::FormatsApi* | [**formats_read**](docs/FormatsApi.md#formats_read) | **GET** /formats/{slug}/ | Get a specific supported package format.
|
125
|
+
*CloudsmithApi::MetricsApi* | [**metrics_entitlements_usage_list**](docs/MetricsApi.md#metrics_entitlements_usage_list) | **GET** /metrics/{owner}/{repo}/entitlements/usage/ | View for listing entitlement token usage as a metric.
|
125
126
|
*CloudsmithApi::NamespacesApi* | [**namespaces_list**](docs/NamespacesApi.md#namespaces_list) | **GET** /namespaces/ | Get a list of all namespaces the user belongs to.
|
126
127
|
*CloudsmithApi::NamespacesApi* | [**namespaces_read**](docs/NamespacesApi.md#namespaces_read) | **GET** /namespaces/{slug}/ | Views for working with namespaces.
|
127
128
|
*CloudsmithApi::OrgsApi* | [**orgs_list**](docs/OrgsApi.md#orgs_list) | **GET** /orgs/ | Get a list of all the organizations you are associated with.
|
@@ -133,6 +134,7 @@ Class | Method | HTTP request | Description
|
|
133
134
|
*CloudsmithApi::PackagesApi* | [**packages_read**](docs/PackagesApi.md#packages_read) | **GET** /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository.
|
134
135
|
*CloudsmithApi::PackagesApi* | [**packages_resync**](docs/PackagesApi.md#packages_resync) | **POST** /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation.
|
135
136
|
*CloudsmithApi::PackagesApi* | [**packages_status**](docs/PackagesApi.md#packages_status) | **GET** /packages/{owner}/{repo}/{identifier}/status/ | Get the synchronisation status for a package.
|
137
|
+
*CloudsmithApi::PackagesApi* | [**packages_tag**](docs/PackagesApi.md#packages_tag) | **POST** /packages/{owner}/{repo}/{identifier}/tag/ | Add/Replace/Remove tags for a package.
|
136
138
|
*CloudsmithApi::PackagesApi* | [**packages_upload_alpine**](docs/PackagesApi.md#packages_upload_alpine) | **POST** /packages/{owner}/{repo}/upload/alpine/ | Create a new Alpine package
|
137
139
|
*CloudsmithApi::PackagesApi* | [**packages_upload_cargo**](docs/PackagesApi.md#packages_upload_cargo) | **POST** /packages/{owner}/{repo}/upload/cargo/ | Create a new Cargo package
|
138
140
|
*CloudsmithApi::PackagesApi* | [**packages_upload_cocoapods**](docs/PackagesApi.md#packages_upload_cocoapods) | **POST** /packages/{owner}/{repo}/upload/cocoapods/ | Create a new CocoaPods package
|
@@ -183,6 +185,8 @@ Class | Method | HTTP request | Description
|
|
183
185
|
*CloudsmithApi::ReposApi* | [**repos_partial_update**](docs/ReposApi.md#repos_partial_update) | **PATCH** /repos/{owner}/{identifier}/ | Update details about a repository in a given namespace.
|
184
186
|
*CloudsmithApi::ReposApi* | [**repos_read**](docs/ReposApi.md#repos_read) | **GET** /repos/{owner}/{identifier}/ | Get a specific repository.
|
185
187
|
*CloudsmithApi::StatusApi* | [**status_check_basic**](docs/StatusApi.md#status_check_basic) | **GET** /status/check/basic/ | Endpoint to check basic API connectivity.
|
188
|
+
*CloudsmithApi::StorageregionsApi* | [**storage_regions_list**](docs/StorageregionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
|
189
|
+
*CloudsmithApi::StorageregionsApi* | [**storage_regions_read**](docs/StorageregionsApi.md#storage_regions_read) | **GET** /storage-regions/{slug}/ | Get a specific storage region.
|
186
190
|
*CloudsmithApi::UserApi* | [**user_self**](docs/UserApi.md#user_self) | **GET** /user/self/ | Provide a brief for the current user (if any).
|
187
191
|
*CloudsmithApi::UserApi* | [**user_token_create**](docs/UserApi.md#user_token_create) | **POST** /user/token/ | Retrieve the API key/token for the authenticated user.
|
188
192
|
*CloudsmithApi::UsersApi* | [**users_profile_read**](docs/UsersApi.md#users_profile_read) | **GET** /users/profile/{slug}/ | Provide a brief for the specified user (if any).
|
@@ -195,6 +199,7 @@ Class | Method | HTTP request | Description
|
|
195
199
|
|
196
200
|
## Documentation for Models
|
197
201
|
|
202
|
+
- [CloudsmithApi::AlpinePackageUpload](docs/AlpinePackageUpload.md)
|
198
203
|
- [CloudsmithApi::ConanPackageUpload](docs/ConanPackageUpload.md)
|
199
204
|
- [CloudsmithApi::Distribution](docs/Distribution.md)
|
200
205
|
- [CloudsmithApi::DistrosVersions](docs/DistrosVersions.md)
|
@@ -202,6 +207,7 @@ Class | Method | HTTP request | Description
|
|
202
207
|
- [CloudsmithApi::EntitlementsPartialUpdate](docs/EntitlementsPartialUpdate.md)
|
203
208
|
- [CloudsmithApi::EntitlementsRefresh](docs/EntitlementsRefresh.md)
|
204
209
|
- [CloudsmithApi::EntitlementsSync](docs/EntitlementsSync.md)
|
210
|
+
- [CloudsmithApi::EntitlmentTokenMetric](docs/EntitlmentTokenMetric.md)
|
205
211
|
- [CloudsmithApi::FilesAbort](docs/FilesAbort.md)
|
206
212
|
- [CloudsmithApi::FilesComplete](docs/FilesComplete.md)
|
207
213
|
- [CloudsmithApi::FilesCreate](docs/FilesCreate.md)
|
@@ -219,7 +225,7 @@ Class | Method | HTTP request | Description
|
|
219
225
|
- [CloudsmithApi::PackageStatus](docs/PackageStatus.md)
|
220
226
|
- [CloudsmithApi::PackagesCopy](docs/PackagesCopy.md)
|
221
227
|
- [CloudsmithApi::PackagesMove](docs/PackagesMove.md)
|
222
|
-
- [CloudsmithApi::
|
228
|
+
- [CloudsmithApi::PackagesTag](docs/PackagesTag.md)
|
223
229
|
- [CloudsmithApi::PackagesUploadAlpine](docs/PackagesUploadAlpine.md)
|
224
230
|
- [CloudsmithApi::PackagesUploadCargo](docs/PackagesUploadCargo.md)
|
225
231
|
- [CloudsmithApi::PackagesUploadCocoapods](docs/PackagesUploadCocoapods.md)
|
@@ -277,6 +283,7 @@ Class | Method | HTTP request | Description
|
|
277
283
|
- [CloudsmithApi::ResourcesRateCheck](docs/ResourcesRateCheck.md)
|
278
284
|
- [CloudsmithApi::Status](docs/Status.md)
|
279
285
|
- [CloudsmithApi::StatusBasic](docs/StatusBasic.md)
|
286
|
+
- [CloudsmithApi::StorageRegion](docs/StorageRegion.md)
|
280
287
|
- [CloudsmithApi::UserAuthToken](docs/UserAuthToken.md)
|
281
288
|
- [CloudsmithApi::UserBrief](docs/UserBrief.md)
|
282
289
|
- [CloudsmithApi::UserProfile](docs/UserProfile.md)
|
data/build.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"gemName": "cloudsmith-api",
|
9
9
|
"gemRequiredRubyVersion": ">= 1.9",
|
10
10
|
"gemSummary": "Cloudsmith API",
|
11
|
-
"gemVersion": "0.
|
11
|
+
"gemVersion": "0.52.79",
|
12
12
|
"hideGenerationTimestamp": true,
|
13
13
|
"moduleName": "CloudsmithApi",
|
14
14
|
"sortParamsByRequiredFlag": true
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# CloudsmithApi::AlpinePackageUpload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**architectures** | [**Array<PackagesownerrepoArchitectures>**](PackagesownerrepoArchitectures.md) | | [optional]
|
7
|
+
**cdn_url** | **String** | | [optional]
|
8
|
+
**checksum_md5** | **String** | | [optional]
|
9
|
+
**checksum_sha1** | **String** | | [optional]
|
10
|
+
**checksum_sha256** | **String** | | [optional]
|
11
|
+
**checksum_sha512** | **String** | | [optional]
|
12
|
+
**description** | **String** | A textual description of this package. | [optional]
|
13
|
+
**distro** | **Object** | | [optional]
|
14
|
+
**distro_version** | **Object** | | [optional]
|
15
|
+
**downloads** | **Integer** | | [optional]
|
16
|
+
**epoch** | **Integer** | The epoch of the package version (if any). | [optional]
|
17
|
+
**extension** | **String** | | [optional]
|
18
|
+
**filename** | **String** | | [optional]
|
19
|
+
**files** | [**Array<PackagesownerrepoFiles>**](PackagesownerrepoFiles.md) | | [optional]
|
20
|
+
**format** | **String** | | [optional]
|
21
|
+
**format_url** | **String** | | [optional]
|
22
|
+
**identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
|
23
|
+
**indexed** | **BOOLEAN** | | [optional]
|
24
|
+
**is_sync_awaiting** | **BOOLEAN** | | [optional]
|
25
|
+
**is_sync_completed** | **BOOLEAN** | | [optional]
|
26
|
+
**is_sync_failed** | **BOOLEAN** | | [optional]
|
27
|
+
**is_sync_in_flight** | **BOOLEAN** | | [optional]
|
28
|
+
**is_sync_in_progress** | **BOOLEAN** | | [optional]
|
29
|
+
**license** | **String** | The license of this package. | [optional]
|
30
|
+
**name** | **String** | The name of this package. | [optional]
|
31
|
+
**namespace** | **String** | | [optional]
|
32
|
+
**namespace_url** | **String** | | [optional]
|
33
|
+
**num_files** | **Integer** | | [optional]
|
34
|
+
**package_type** | **String** | The type of package contents. | [optional]
|
35
|
+
**release** | **String** | The release of the package version (if any). | [optional]
|
36
|
+
**repository** | **String** | | [optional]
|
37
|
+
**repository_url** | **String** | | [optional]
|
38
|
+
**self_html_url** | **String** | | [optional]
|
39
|
+
**self_url** | **String** | | [optional]
|
40
|
+
**size** | **Integer** | The calculated size of the package. | [optional]
|
41
|
+
**slug** | **String** | | [optional]
|
42
|
+
**slug_perm** | **String** | | [optional]
|
43
|
+
**stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
|
44
|
+
**stage_str** | **String** | | [optional]
|
45
|
+
**stage_updated_at** | **String** | The datetime the package stage was updated at. | [optional]
|
46
|
+
**status** | **String** | The synchronisation status of the package. | [optional]
|
47
|
+
**status_reason** | **String** | A textual description for the synchronous status reason (if any | [optional]
|
48
|
+
**status_str** | **String** | | [optional]
|
49
|
+
**status_updated_at** | **String** | The datetime the package status was updated at. | [optional]
|
50
|
+
**status_url** | **String** | | [optional]
|
51
|
+
**subtype** | **String** | | [optional]
|
52
|
+
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
53
|
+
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
54
|
+
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
55
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
56
|
+
**type_display** | **String** | | [optional]
|
57
|
+
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
58
|
+
**uploader** | **String** | | [optional]
|
59
|
+
**uploader_url** | **String** | | [optional]
|
60
|
+
**version** | **String** | The raw version for this package. | [optional]
|
61
|
+
**version_orig** | **String** | | [optional]
|
62
|
+
|
63
|
+
|
data/docs/ConanPackageUpload.md
CHANGED
@@ -54,6 +54,7 @@ Name | Type | Description | Notes
|
|
54
54
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
55
55
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
56
56
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
57
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
57
58
|
**type_display** | **String** | | [optional]
|
58
59
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
59
60
|
**uploader** | **String** | | [optional]
|
data/docs/EntitlementsCreate.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
9
9
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
10
10
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
11
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
11
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
12
12
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
13
13
|
**metadata** | **Object** | None | [optional]
|
14
14
|
**name** | **String** | None |
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
9
9
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
10
10
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
11
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
11
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
12
12
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
13
13
|
**metadata** | **Object** | None | [optional]
|
14
14
|
**name** | **String** | None | [optional]
|
data/docs/EntitlementsRefresh.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
9
9
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
10
10
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
11
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
11
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
12
12
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
13
13
|
**metadata** | **Object** | None | [optional]
|
14
14
|
**token** | **String** | None | [optional]
|
data/docs/MavenPackageUpload.md
CHANGED
@@ -55,6 +55,7 @@ Name | Type | Description | Notes
|
|
55
55
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
56
56
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
57
57
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
58
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
58
59
|
**type_display** | **String** | | [optional]
|
59
60
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
60
61
|
**uploader** | **String** | | [optional]
|
data/docs/MetricsApi.md
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
# CloudsmithApi::MetricsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudsmith.io*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**metrics_entitlements_usage_list**](MetricsApi.md#metrics_entitlements_usage_list) | **GET** /metrics/{owner}/{repo}/entitlements/usage/ | View for listing entitlement token usage as a metric.
|
8
|
+
|
9
|
+
|
10
|
+
# **metrics_entitlements_usage_list**
|
11
|
+
> Array<EntitlmentTokenMetric> metrics_entitlements_usage_list(owner, repo, opts)
|
12
|
+
|
13
|
+
View for listing entitlement token usage as a metric.
|
14
|
+
|
15
|
+
View for listing entitlement token usage as a metric.
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'cloudsmith-api'
|
21
|
+
# setup authorization
|
22
|
+
CloudsmithApi.configure do |config|
|
23
|
+
# Configure API key authorization: apikey
|
24
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
25
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
27
|
+
|
28
|
+
# Configure API key authorization: csrf_token
|
29
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
30
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
31
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
32
|
+
end
|
33
|
+
|
34
|
+
api_instance = CloudsmithApi::MetricsApi.new
|
35
|
+
|
36
|
+
owner = "owner_example" # String |
|
37
|
+
|
38
|
+
repo = "repo_example" # String |
|
39
|
+
|
40
|
+
opts = {
|
41
|
+
page: 56, # Integer | A page number within the paginated result set.
|
42
|
+
page_size: 56, # Integer | Number of results to return per page.
|
43
|
+
finish: 56, # Integer | Filter token usage ending before this timestamp. Defaults to now if not supplied.
|
44
|
+
start: 56, # Integer | Filter token usage starting from this timestamp (seconds since Jan 01 1970. (UTC)).
|
45
|
+
tokens: "tokens_example" # String | A comma seperated list of tokens (slug perm) to include in the results.
|
46
|
+
}
|
47
|
+
|
48
|
+
begin
|
49
|
+
#View for listing entitlement token usage as a metric.
|
50
|
+
result = api_instance.metrics_entitlements_usage_list(owner, repo, opts)
|
51
|
+
p result
|
52
|
+
rescue CloudsmithApi::ApiError => e
|
53
|
+
puts "Exception when calling MetricsApi->metrics_entitlements_usage_list: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
Name | Type | Description | Notes
|
60
|
+
------------- | ------------- | ------------- | -------------
|
61
|
+
**owner** | **String**| |
|
62
|
+
**repo** | **String**| |
|
63
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
64
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
65
|
+
**finish** | **Integer**| Filter token usage ending before this timestamp. Defaults to now if not supplied. | [optional]
|
66
|
+
**start** | **Integer**| Filter token usage starting from this timestamp (seconds since Jan 01 1970. (UTC)). | [optional]
|
67
|
+
**tokens** | **String**| A comma seperated list of tokens (slug perm) to include in the results. | [optional]
|
68
|
+
|
69
|
+
### Return type
|
70
|
+
|
71
|
+
[**Array<EntitlmentTokenMetric>**](EntitlmentTokenMetric.md)
|
72
|
+
|
73
|
+
### Authorization
|
74
|
+
|
75
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
76
|
+
|
77
|
+
### HTTP request headers
|
78
|
+
|
79
|
+
- **Content-Type**: Not defined
|
80
|
+
- **Accept**: Not defined
|
81
|
+
|
82
|
+
|
83
|
+
|
data/docs/Package.md
CHANGED
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
|
|
52
52
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
53
53
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
54
54
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
55
|
+
**tags** | **Object** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional]
|
56
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
55
57
|
**type_display** | **String** | | [optional]
|
56
58
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
57
59
|
**uploader** | **String** | | [optional]
|
data/docs/PackageCopy.md
CHANGED
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
|
|
52
52
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
53
53
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
54
54
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
55
|
+
**tags** | **Object** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional]
|
56
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
55
57
|
**type_display** | **String** | | [optional]
|
56
58
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
57
59
|
**uploader** | **String** | | [optional]
|
data/docs/PackageMove.md
CHANGED
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
|
|
52
52
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
53
53
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
54
54
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
55
|
+
**tags** | **Object** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional]
|
56
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
55
57
|
**type_display** | **String** | | [optional]
|
56
58
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
57
59
|
**uploader** | **String** | | [optional]
|
data/docs/PackagesApi.md
CHANGED
@@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
[**packages_read**](PackagesApi.md#packages_read) | **GET** /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository.
|
12
12
|
[**packages_resync**](PackagesApi.md#packages_resync) | **POST** /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation.
|
13
13
|
[**packages_status**](PackagesApi.md#packages_status) | **GET** /packages/{owner}/{repo}/{identifier}/status/ | Get the synchronisation status for a package.
|
14
|
+
[**packages_tag**](PackagesApi.md#packages_tag) | **POST** /packages/{owner}/{repo}/{identifier}/tag/ | Add/Replace/Remove tags for a package.
|
14
15
|
[**packages_upload_alpine**](PackagesApi.md#packages_upload_alpine) | **POST** /packages/{owner}/{repo}/upload/alpine/ | Create a new Alpine package
|
15
16
|
[**packages_upload_cargo**](PackagesApi.md#packages_upload_cargo) | **POST** /packages/{owner}/{repo}/upload/cargo/ | Create a new Cargo package
|
16
17
|
[**packages_upload_cocoapods**](PackagesApi.md#packages_upload_cocoapods) | **POST** /packages/{owner}/{repo}/upload/cocoapods/ | Create a new CocoaPods package
|
@@ -393,7 +394,7 @@ Name | Type | Description | Notes
|
|
393
394
|
|
394
395
|
|
395
396
|
# **packages_resync**
|
396
|
-
> Package packages_resync(owner, repo, identifier
|
397
|
+
> Package packages_resync(owner, repo, identifier)
|
397
398
|
|
398
399
|
Schedule a package for resynchronisation.
|
399
400
|
|
@@ -424,13 +425,10 @@ repo = "repo_example" # String |
|
|
424
425
|
|
425
426
|
identifier = "identifier_example" # String |
|
426
427
|
|
427
|
-
opts = {
|
428
|
-
data: CloudsmithApi::PackagesResync.new # PackagesResync |
|
429
|
-
}
|
430
428
|
|
431
429
|
begin
|
432
430
|
#Schedule a package for resynchronisation.
|
433
|
-
result = api_instance.packages_resync(owner, repo, identifier
|
431
|
+
result = api_instance.packages_resync(owner, repo, identifier)
|
434
432
|
p result
|
435
433
|
rescue CloudsmithApi::ApiError => e
|
436
434
|
puts "Exception when calling PackagesApi->packages_resync: #{e}"
|
@@ -444,7 +442,6 @@ Name | Type | Description | Notes
|
|
444
442
|
**owner** | **String**| |
|
445
443
|
**repo** | **String**| |
|
446
444
|
**identifier** | **String**| |
|
447
|
-
**data** | [**PackagesResync**](PackagesResync.md)| | [optional]
|
448
445
|
|
449
446
|
### Return type
|
450
447
|
|
@@ -456,7 +453,7 @@ Name | Type | Description | Notes
|
|
456
453
|
|
457
454
|
### HTTP request headers
|
458
455
|
|
459
|
-
- **Content-Type**:
|
456
|
+
- **Content-Type**: Not defined
|
460
457
|
- **Accept**: Not defined
|
461
458
|
|
462
459
|
|
@@ -526,8 +523,77 @@ Name | Type | Description | Notes
|
|
526
523
|
|
527
524
|
|
528
525
|
|
526
|
+
# **packages_tag**
|
527
|
+
> Package packages_tag(owner, repo, identifier, opts)
|
528
|
+
|
529
|
+
Add/Replace/Remove tags for a package.
|
530
|
+
|
531
|
+
Add/Replace/Remove tags for a package.
|
532
|
+
|
533
|
+
### Example
|
534
|
+
```ruby
|
535
|
+
# load the gem
|
536
|
+
require 'cloudsmith-api'
|
537
|
+
# setup authorization
|
538
|
+
CloudsmithApi.configure do |config|
|
539
|
+
# Configure API key authorization: apikey
|
540
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
541
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
542
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
543
|
+
|
544
|
+
# Configure API key authorization: csrf_token
|
545
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
546
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
547
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
548
|
+
end
|
549
|
+
|
550
|
+
api_instance = CloudsmithApi::PackagesApi.new
|
551
|
+
|
552
|
+
owner = "owner_example" # String |
|
553
|
+
|
554
|
+
repo = "repo_example" # String |
|
555
|
+
|
556
|
+
identifier = "identifier_example" # String |
|
557
|
+
|
558
|
+
opts = {
|
559
|
+
data: CloudsmithApi::PackagesTag.new # PackagesTag |
|
560
|
+
}
|
561
|
+
|
562
|
+
begin
|
563
|
+
#Add/Replace/Remove tags for a package.
|
564
|
+
result = api_instance.packages_tag(owner, repo, identifier, opts)
|
565
|
+
p result
|
566
|
+
rescue CloudsmithApi::ApiError => e
|
567
|
+
puts "Exception when calling PackagesApi->packages_tag: #{e}"
|
568
|
+
end
|
569
|
+
```
|
570
|
+
|
571
|
+
### Parameters
|
572
|
+
|
573
|
+
Name | Type | Description | Notes
|
574
|
+
------------- | ------------- | ------------- | -------------
|
575
|
+
**owner** | **String**| |
|
576
|
+
**repo** | **String**| |
|
577
|
+
**identifier** | **String**| |
|
578
|
+
**data** | [**PackagesTag**](PackagesTag.md)| | [optional]
|
579
|
+
|
580
|
+
### Return type
|
581
|
+
|
582
|
+
[**Package**](Package.md)
|
583
|
+
|
584
|
+
### Authorization
|
585
|
+
|
586
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
587
|
+
|
588
|
+
### HTTP request headers
|
589
|
+
|
590
|
+
- **Content-Type**: application/json
|
591
|
+
- **Accept**: Not defined
|
592
|
+
|
593
|
+
|
594
|
+
|
529
595
|
# **packages_upload_alpine**
|
530
|
-
>
|
596
|
+
> AlpinePackageUpload packages_upload_alpine(owner, repo, opts)
|
531
597
|
|
532
598
|
Create a new Alpine package
|
533
599
|
|
@@ -579,7 +645,7 @@ Name | Type | Description | Notes
|
|
579
645
|
|
580
646
|
### Return type
|
581
647
|
|
582
|
-
[**
|
648
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
583
649
|
|
584
650
|
### Authorization
|
585
651
|
|
@@ -593,7 +659,7 @@ Name | Type | Description | Notes
|
|
593
659
|
|
594
660
|
|
595
661
|
# **packages_upload_cargo**
|
596
|
-
>
|
662
|
+
> AlpinePackageUpload packages_upload_cargo(owner, repo, opts)
|
597
663
|
|
598
664
|
Create a new Cargo package
|
599
665
|
|
@@ -645,7 +711,7 @@ Name | Type | Description | Notes
|
|
645
711
|
|
646
712
|
### Return type
|
647
713
|
|
648
|
-
[**
|
714
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
649
715
|
|
650
716
|
### Authorization
|
651
717
|
|
@@ -659,7 +725,7 @@ Name | Type | Description | Notes
|
|
659
725
|
|
660
726
|
|
661
727
|
# **packages_upload_cocoapods**
|
662
|
-
>
|
728
|
+
> AlpinePackageUpload packages_upload_cocoapods(owner, repo, opts)
|
663
729
|
|
664
730
|
Create a new CocoaPods package
|
665
731
|
|
@@ -711,7 +777,7 @@ Name | Type | Description | Notes
|
|
711
777
|
|
712
778
|
### Return type
|
713
779
|
|
714
|
-
[**
|
780
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
715
781
|
|
716
782
|
### Authorization
|
717
783
|
|
@@ -725,7 +791,7 @@ Name | Type | Description | Notes
|
|
725
791
|
|
726
792
|
|
727
793
|
# **packages_upload_composer**
|
728
|
-
>
|
794
|
+
> AlpinePackageUpload packages_upload_composer(owner, repo, opts)
|
729
795
|
|
730
796
|
Create a new Composer package
|
731
797
|
|
@@ -777,7 +843,7 @@ Name | Type | Description | Notes
|
|
777
843
|
|
778
844
|
### Return type
|
779
845
|
|
780
|
-
[**
|
846
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
781
847
|
|
782
848
|
### Authorization
|
783
849
|
|
@@ -857,7 +923,7 @@ Name | Type | Description | Notes
|
|
857
923
|
|
858
924
|
|
859
925
|
# **packages_upload_cran**
|
860
|
-
>
|
926
|
+
> AlpinePackageUpload packages_upload_cran(owner, repo, opts)
|
861
927
|
|
862
928
|
Create a new CRAN package
|
863
929
|
|
@@ -909,7 +975,7 @@ Name | Type | Description | Notes
|
|
909
975
|
|
910
976
|
### Return type
|
911
977
|
|
912
|
-
[**
|
978
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
913
979
|
|
914
980
|
### Authorization
|
915
981
|
|
@@ -923,7 +989,7 @@ Name | Type | Description | Notes
|
|
923
989
|
|
924
990
|
|
925
991
|
# **packages_upload_dart**
|
926
|
-
>
|
992
|
+
> AlpinePackageUpload packages_upload_dart(owner, repo, opts)
|
927
993
|
|
928
994
|
Create a new Dart package
|
929
995
|
|
@@ -975,7 +1041,7 @@ Name | Type | Description | Notes
|
|
975
1041
|
|
976
1042
|
### Return type
|
977
1043
|
|
978
|
-
[**
|
1044
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
979
1045
|
|
980
1046
|
### Authorization
|
981
1047
|
|
@@ -989,7 +1055,7 @@ Name | Type | Description | Notes
|
|
989
1055
|
|
990
1056
|
|
991
1057
|
# **packages_upload_deb**
|
992
|
-
>
|
1058
|
+
> AlpinePackageUpload packages_upload_deb(owner, repo, opts)
|
993
1059
|
|
994
1060
|
Create a new Debian package
|
995
1061
|
|
@@ -1041,7 +1107,7 @@ Name | Type | Description | Notes
|
|
1041
1107
|
|
1042
1108
|
### Return type
|
1043
1109
|
|
1044
|
-
[**
|
1110
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1045
1111
|
|
1046
1112
|
### Authorization
|
1047
1113
|
|
@@ -1055,7 +1121,7 @@ Name | Type | Description | Notes
|
|
1055
1121
|
|
1056
1122
|
|
1057
1123
|
# **packages_upload_docker**
|
1058
|
-
>
|
1124
|
+
> AlpinePackageUpload packages_upload_docker(owner, repo, opts)
|
1059
1125
|
|
1060
1126
|
Create a new Docker package
|
1061
1127
|
|
@@ -1107,7 +1173,7 @@ Name | Type | Description | Notes
|
|
1107
1173
|
|
1108
1174
|
### Return type
|
1109
1175
|
|
1110
|
-
[**
|
1176
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1111
1177
|
|
1112
1178
|
### Authorization
|
1113
1179
|
|
@@ -1121,7 +1187,7 @@ Name | Type | Description | Notes
|
|
1121
1187
|
|
1122
1188
|
|
1123
1189
|
# **packages_upload_go**
|
1124
|
-
>
|
1190
|
+
> AlpinePackageUpload packages_upload_go(owner, repo, opts)
|
1125
1191
|
|
1126
1192
|
Create a new Go package
|
1127
1193
|
|
@@ -1173,7 +1239,7 @@ Name | Type | Description | Notes
|
|
1173
1239
|
|
1174
1240
|
### Return type
|
1175
1241
|
|
1176
|
-
[**
|
1242
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1177
1243
|
|
1178
1244
|
### Authorization
|
1179
1245
|
|
@@ -1187,7 +1253,7 @@ Name | Type | Description | Notes
|
|
1187
1253
|
|
1188
1254
|
|
1189
1255
|
# **packages_upload_helm**
|
1190
|
-
>
|
1256
|
+
> AlpinePackageUpload packages_upload_helm(owner, repo, opts)
|
1191
1257
|
|
1192
1258
|
Create a new Helm package
|
1193
1259
|
|
@@ -1239,7 +1305,7 @@ Name | Type | Description | Notes
|
|
1239
1305
|
|
1240
1306
|
### Return type
|
1241
1307
|
|
1242
|
-
[**
|
1308
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1243
1309
|
|
1244
1310
|
### Authorization
|
1245
1311
|
|
@@ -1253,7 +1319,7 @@ Name | Type | Description | Notes
|
|
1253
1319
|
|
1254
1320
|
|
1255
1321
|
# **packages_upload_luarocks**
|
1256
|
-
>
|
1322
|
+
> AlpinePackageUpload packages_upload_luarocks(owner, repo, opts)
|
1257
1323
|
|
1258
1324
|
Create a new LuaRocks package
|
1259
1325
|
|
@@ -1305,7 +1371,7 @@ Name | Type | Description | Notes
|
|
1305
1371
|
|
1306
1372
|
### Return type
|
1307
1373
|
|
1308
|
-
[**
|
1374
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1309
1375
|
|
1310
1376
|
### Authorization
|
1311
1377
|
|
@@ -1385,7 +1451,7 @@ Name | Type | Description | Notes
|
|
1385
1451
|
|
1386
1452
|
|
1387
1453
|
# **packages_upload_npm**
|
1388
|
-
>
|
1454
|
+
> AlpinePackageUpload packages_upload_npm(owner, repo, opts)
|
1389
1455
|
|
1390
1456
|
Create a new npm package
|
1391
1457
|
|
@@ -1437,7 +1503,7 @@ Name | Type | Description | Notes
|
|
1437
1503
|
|
1438
1504
|
### Return type
|
1439
1505
|
|
1440
|
-
[**
|
1506
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1441
1507
|
|
1442
1508
|
### Authorization
|
1443
1509
|
|
@@ -1451,7 +1517,7 @@ Name | Type | Description | Notes
|
|
1451
1517
|
|
1452
1518
|
|
1453
1519
|
# **packages_upload_nuget**
|
1454
|
-
>
|
1520
|
+
> AlpinePackageUpload packages_upload_nuget(owner, repo, opts)
|
1455
1521
|
|
1456
1522
|
Create a new NuGet package
|
1457
1523
|
|
@@ -1503,7 +1569,7 @@ Name | Type | Description | Notes
|
|
1503
1569
|
|
1504
1570
|
### Return type
|
1505
1571
|
|
1506
|
-
[**
|
1572
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1507
1573
|
|
1508
1574
|
### Authorization
|
1509
1575
|
|
@@ -1517,7 +1583,7 @@ Name | Type | Description | Notes
|
|
1517
1583
|
|
1518
1584
|
|
1519
1585
|
# **packages_upload_python**
|
1520
|
-
>
|
1586
|
+
> AlpinePackageUpload packages_upload_python(owner, repo, opts)
|
1521
1587
|
|
1522
1588
|
Create a new Python package
|
1523
1589
|
|
@@ -1569,7 +1635,7 @@ Name | Type | Description | Notes
|
|
1569
1635
|
|
1570
1636
|
### Return type
|
1571
1637
|
|
1572
|
-
[**
|
1638
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1573
1639
|
|
1574
1640
|
### Authorization
|
1575
1641
|
|
@@ -1649,7 +1715,7 @@ Name | Type | Description | Notes
|
|
1649
1715
|
|
1650
1716
|
|
1651
1717
|
# **packages_upload_rpm**
|
1652
|
-
>
|
1718
|
+
> AlpinePackageUpload packages_upload_rpm(owner, repo, opts)
|
1653
1719
|
|
1654
1720
|
Create a new RedHat package
|
1655
1721
|
|
@@ -1701,7 +1767,7 @@ Name | Type | Description | Notes
|
|
1701
1767
|
|
1702
1768
|
### Return type
|
1703
1769
|
|
1704
|
-
[**
|
1770
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1705
1771
|
|
1706
1772
|
### Authorization
|
1707
1773
|
|
@@ -1715,7 +1781,7 @@ Name | Type | Description | Notes
|
|
1715
1781
|
|
1716
1782
|
|
1717
1783
|
# **packages_upload_ruby**
|
1718
|
-
>
|
1784
|
+
> AlpinePackageUpload packages_upload_ruby(owner, repo, opts)
|
1719
1785
|
|
1720
1786
|
Create a new Ruby package
|
1721
1787
|
|
@@ -1767,7 +1833,7 @@ Name | Type | Description | Notes
|
|
1767
1833
|
|
1768
1834
|
### Return type
|
1769
1835
|
|
1770
|
-
[**
|
1836
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1771
1837
|
|
1772
1838
|
### Authorization
|
1773
1839
|
|
@@ -1781,7 +1847,7 @@ Name | Type | Description | Notes
|
|
1781
1847
|
|
1782
1848
|
|
1783
1849
|
# **packages_upload_terraform**
|
1784
|
-
>
|
1850
|
+
> AlpinePackageUpload packages_upload_terraform(owner, repo, opts)
|
1785
1851
|
|
1786
1852
|
Create a new Terraform package
|
1787
1853
|
|
@@ -1833,7 +1899,7 @@ Name | Type | Description | Notes
|
|
1833
1899
|
|
1834
1900
|
### Return type
|
1835
1901
|
|
1836
|
-
[**
|
1902
|
+
[**AlpinePackageUpload**](AlpinePackageUpload.md)
|
1837
1903
|
|
1838
1904
|
### Authorization
|
1839
1905
|
|