cloudsmith-api 0.53.17 → 0.53.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 +2 -2
- data/README.md +11 -16
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -1
- data/docs/BadgesApi.md +1 -6
- data/docs/ConanPackageUpload.md +2 -1
- data/docs/DistrosApi.md +2 -12
- data/docs/EntitlementUsageMetric.md +8 -0
- data/docs/EntitlementsApi.md +10 -60
- data/docs/EntitlementsCreate.md +2 -1
- data/docs/EntitlementsPartialUpdate.md +2 -1
- data/docs/EntitlementsRefresh.md +2 -1
- data/docs/FilesApi.md +5 -30
- data/docs/FormatsApi.md +2 -12
- data/docs/MavenPackageUpload.md +2 -1
- data/docs/MetricsApi.md +4 -14
- data/docs/NamespacesApi.md +2 -12
- data/docs/OrgsApi.md +2 -12
- data/docs/Package.md +2 -1
- data/docs/PackageCopy.md +2 -1
- data/docs/PackageMove.md +2 -1
- data/docs/PackagesApi.md +50 -300
- data/docs/QuotaApi.md +4 -24
- data/docs/RatesApi.md +1 -6
- data/docs/RawPackageUpload.md +2 -1
- data/docs/ReposApi.md +6 -36
- data/docs/RepositoryToken.md +4 -1
- data/docs/RepositoryTokenRefresh.md +4 -1
- data/docs/RepositoryTokenSyncTokens.md +4 -1
- data/docs/StorageregionsApi.md +2 -12
- data/docs/UserApi.md +2 -12
- data/docs/UsersApi.md +1 -6
- data/docs/VagrantPackageUpload.md +2 -1
- data/docs/VulnerabilitiesApi.md +264 -0
- data/docs/VulnerabilityScanResults.md +15 -0
- data/docs/VulnerabilityScanResultsList.md +14 -0
- data/docs/WebhooksApi.md +5 -30
- data/lib/cloudsmith-api.rb +4 -1
- data/lib/cloudsmith-api/api/badges_api.rb +1 -1
- data/lib/cloudsmith-api/api/distros_api.rb +2 -2
- data/lib/cloudsmith-api/api/entitlements_api.rb +10 -10
- data/lib/cloudsmith-api/api/files_api.rb +5 -5
- data/lib/cloudsmith-api/api/formats_api.rb +2 -2
- data/lib/cloudsmith-api/api/metrics_api.rb +5 -5
- data/lib/cloudsmith-api/api/namespaces_api.rb +2 -2
- data/lib/cloudsmith-api/api/orgs_api.rb +2 -2
- data/lib/cloudsmith-api/api/packages_api.rb +50 -50
- data/lib/cloudsmith-api/api/quota_api.rb +4 -4
- data/lib/cloudsmith-api/api/rates_api.rb +1 -1
- data/lib/cloudsmith-api/api/repos_api.rb +6 -6
- data/lib/cloudsmith-api/api/storageregions_api.rb +2 -2
- data/lib/cloudsmith-api/api/user_api.rb +2 -2
- data/lib/cloudsmith-api/api/users_api.rb +1 -1
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +281 -0
- data/lib/cloudsmith-api/api/webhooks_api.rb +5 -5
- data/lib/cloudsmith-api/configuration.rb +0 -7
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/conan_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/{entitlement_token_metric.rb → entitlement_usage_metric.rb} +11 -26
- data/lib/cloudsmith-api/models/entitlements_create.rb +12 -2
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +12 -2
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +12 -2
- data/lib/cloudsmith-api/models/maven_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/package.rb +15 -5
- data/lib/cloudsmith-api/models/package_copy.rb +15 -5
- data/lib/cloudsmith-api/models/package_move.rb +15 -5
- data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/repository_token.rb +32 -2
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +32 -2
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +32 -2
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +279 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +264 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/metrics_api_spec.rb +1 -1
- data/spec/api/vulnerabilities_api_spec.rb +95 -0
- data/spec/models/alpine_package_upload_spec.rb +6 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/{entitlement_token_metric_spec.rb → entitlement_usage_metric_spec.rb} +7 -13
- data/spec/models/entitlements_create_spec.rb +6 -0
- data/spec/models/entitlements_partial_update_spec.rb +6 -0
- data/spec/models/entitlements_refresh_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +6 -0
- data/spec/models/package_move_spec.rb +6 -0
- data/spec/models/package_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +18 -0
- data/spec/models/repository_token_spec.rb +18 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +18 -0
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +78 -0
- data/spec/models/vulnerability_scan_results_spec.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.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.1/gem_make.out +1 -1
- 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/{rspec-core-3.9.2 → rspec-core-3.9.3}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/Changelog.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/README.md +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/fork_runner.rb +6 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration.rb +10 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example.rb +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_group.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/exception_presenter.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/hooks.rb +14 -9
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/invocations.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/world.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.2.gemspec → rspec-core-3.9.3.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +191 -179
- data/docs/EntitlementTokenMetric.md +0 -9
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9c6196d9012e8172bb23c7eaf2ce3315d46b40b6b70ebfb5a93eb3b955ebb98
|
4
|
+
data.tar.gz: 2fd6493a0532ff09b13027ad1993db6f575230287e53e453d00d373e96303433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d1444f1e33fd17d4db3d18def4ee5310d1d991e392bb1828036e811329a005438c919ff9ea406c7ed261b910c0421dfccb3c0fcb6d7a471e846689bc5f519bf
|
7
|
+
data.tar.gz: 28037da648f1f2bd29be20819043c7f1ddef7bd9c6436801b7cfc0642660917e4c201ef68adb71a9b4cc09451a6e79ac69a3537dea6e3e88b0d762d6713eabf9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudsmith-api (0.53.
|
4
|
+
cloudsmith-api (0.53.79)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
7
7
|
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
rspec-core (~> 3.9.0)
|
31
31
|
rspec-expectations (~> 3.9.0)
|
32
32
|
rspec-mocks (~> 3.9.0)
|
33
|
-
rspec-core (3.9.
|
33
|
+
rspec-core (3.9.3)
|
34
34
|
rspec-support (~> 3.9.3)
|
35
35
|
rspec-expectations (3.9.2)
|
36
36
|
diff-lcs (>= 1.2.0, < 2.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.53.
|
10
|
+
- Package version: 0.53.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.53.
|
27
|
+
gem install ./cloudsmith-api-0.53.79.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-0.53.
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-0.53.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.53.
|
35
|
+
gem 'cloudsmith-api', '~> 0.53.79'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -61,11 +61,6 @@ CloudsmithApi.configure do |config|
|
|
61
61
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
62
62
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
63
63
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
64
|
-
|
65
|
-
# Configure API key authorization: csrf_token
|
66
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
67
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
68
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
69
64
|
end
|
70
65
|
|
71
66
|
api_instance = CloudsmithApi::BadgesApi.new
|
@@ -195,6 +190,10 @@ Class | Method | HTTP request | Description
|
|
195
190
|
*CloudsmithApi::UserApi* | [**user_self**](docs/UserApi.md#user_self) | **GET** /user/self/ | Provide a brief for the current user (if any).
|
196
191
|
*CloudsmithApi::UserApi* | [**user_token_create**](docs/UserApi.md#user_token_create) | **POST** /user/token/ | Retrieve the API key/token for the authenticated user.
|
197
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).
|
193
|
+
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_list**](docs/VulnerabilitiesApi.md#vulnerabilities_list) | **GET** /vulnerabilities/{owner}/ | Read-only view to list vulnerabiltiy scan results within a Namespace.
|
194
|
+
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_list0**](docs/VulnerabilitiesApi.md#vulnerabilities_list0) | **GET** /vulnerabilities/{owner}/{repo}/ | Read-only views to list vulnerabiltiy scan results within a Repository.
|
195
|
+
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_list1**](docs/VulnerabilitiesApi.md#vulnerabilities_list1) | **GET** /vulnerabilities/{owner}/{repo}/{package}/ | Read-only views to list vulnerabiltiy scan results within a Repository
|
196
|
+
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_read**](docs/VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Read-only view to retrieve vulnerability scans results using a
|
198
197
|
*CloudsmithApi::WebhooksApi* | [**webhooks_create**](docs/WebhooksApi.md#webhooks_create) | **POST** /webhooks/{owner}/{repo}/ | Create a specific webhook in a repository.
|
199
198
|
*CloudsmithApi::WebhooksApi* | [**webhooks_delete**](docs/WebhooksApi.md#webhooks_delete) | **DELETE** /webhooks/{owner}/{repo}/{identifier}/ | Delete a specific webhook in a repository.
|
200
199
|
*CloudsmithApi::WebhooksApi* | [**webhooks_list**](docs/WebhooksApi.md#webhooks_list) | **GET** /webhooks/{owner}/{repo}/ | Get a list of all webhooks in a repository.
|
@@ -208,7 +207,7 @@ Class | Method | HTTP request | Description
|
|
208
207
|
- [CloudsmithApi::ConanPackageUpload](docs/ConanPackageUpload.md)
|
209
208
|
- [CloudsmithApi::Distribution](docs/Distribution.md)
|
210
209
|
- [CloudsmithApi::DistrosVersions](docs/DistrosVersions.md)
|
211
|
-
- [CloudsmithApi::
|
210
|
+
- [CloudsmithApi::EntitlementUsageMetric](docs/EntitlementUsageMetric.md)
|
212
211
|
- [CloudsmithApi::EntitlementsCreate](docs/EntitlementsCreate.md)
|
213
212
|
- [CloudsmithApi::EntitlementsPartialUpdate](docs/EntitlementsPartialUpdate.md)
|
214
213
|
- [CloudsmithApi::EntitlementsRefresh](docs/EntitlementsRefresh.md)
|
@@ -299,6 +298,8 @@ Class | Method | HTTP request | Description
|
|
299
298
|
- [CloudsmithApi::UserProfile](docs/UserProfile.md)
|
300
299
|
- [CloudsmithApi::UserTokenCreate](docs/UserTokenCreate.md)
|
301
300
|
- [CloudsmithApi::VagrantPackageUpload](docs/VagrantPackageUpload.md)
|
301
|
+
- [CloudsmithApi::VulnerabilityScanResults](docs/VulnerabilityScanResults.md)
|
302
|
+
- [CloudsmithApi::VulnerabilityScanResultsList](docs/VulnerabilityScanResultsList.md)
|
302
303
|
- [CloudsmithApi::WebhooksCreate](docs/WebhooksCreate.md)
|
303
304
|
- [CloudsmithApi::WebhooksPartialUpdate](docs/WebhooksPartialUpdate.md)
|
304
305
|
- [CloudsmithApi::WebhooksownerrepoTemplates](docs/WebhooksownerrepoTemplates.md)
|
@@ -317,9 +318,3 @@ Class | Method | HTTP request | Description
|
|
317
318
|
|
318
319
|
- **Type**: HTTP basic authentication
|
319
320
|
|
320
|
-
### csrf_token
|
321
|
-
|
322
|
-
- **Type**: API key
|
323
|
-
- **API key parameter name**: X-CSRFToken
|
324
|
-
- **Location**: HTTP header
|
325
|
-
|
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.53.
|
11
|
+
"gemVersion": "0.53.79",
|
12
12
|
"hideGenerationTimestamp": true,
|
13
13
|
"moduleName": "CloudsmithApi",
|
14
14
|
"sortParamsByRequiredFlag": true
|
data/docs/AlpinePackageUpload.md
CHANGED
@@ -38,7 +38,7 @@ Name | Type | Description | Notes
|
|
38
38
|
**self_html_url** | **String** | | [optional]
|
39
39
|
**self_url** | **String** | | [optional]
|
40
40
|
**size** | **Integer** | The calculated size of the package. | [optional]
|
41
|
-
**slug** | **String** |
|
41
|
+
**slug** | **String** | The public unique identifier for the package. | [optional]
|
42
42
|
**slug_perm** | **String** | | [optional]
|
43
43
|
**stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
|
44
44
|
**stage_str** | **String** | | [optional]
|
@@ -59,5 +59,6 @@ Name | Type | Description | Notes
|
|
59
59
|
**uploader_url** | **String** | | [optional]
|
60
60
|
**version** | **String** | The raw version for this package. | [optional]
|
61
61
|
**version_orig** | **String** | | [optional]
|
62
|
+
**vulnerability_scan_results_url** | **String** | | [optional]
|
62
63
|
|
63
64
|
|
data/docs/BadgesApi.md
CHANGED
@@ -24,11 +24,6 @@ CloudsmithApi.configure do |config|
|
|
24
24
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
25
25
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
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
27
|
end
|
33
28
|
|
34
29
|
api_instance = CloudsmithApi::BadgesApi.new
|
@@ -77,7 +72,7 @@ nil (empty response body)
|
|
77
72
|
|
78
73
|
### Authorization
|
79
74
|
|
80
|
-
[apikey](../README.md#apikey)
|
75
|
+
[apikey](../README.md#apikey)
|
81
76
|
|
82
77
|
### HTTP request headers
|
83
78
|
|
data/docs/ConanPackageUpload.md
CHANGED
@@ -40,7 +40,7 @@ Name | Type | Description | Notes
|
|
40
40
|
**self_html_url** | **String** | | [optional]
|
41
41
|
**self_url** | **String** | | [optional]
|
42
42
|
**size** | **Integer** | The calculated size of the package. | [optional]
|
43
|
-
**slug** | **String** |
|
43
|
+
**slug** | **String** | The public unique identifier for the package. | [optional]
|
44
44
|
**slug_perm** | **String** | | [optional]
|
45
45
|
**stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
|
46
46
|
**stage_str** | **String** | | [optional]
|
@@ -61,5 +61,6 @@ Name | Type | Description | Notes
|
|
61
61
|
**uploader_url** | **String** | | [optional]
|
62
62
|
**version** | **String** | The raw version for this package. | [optional]
|
63
63
|
**version_orig** | **String** | | [optional]
|
64
|
+
**vulnerability_scan_results_url** | **String** | | [optional]
|
64
65
|
|
65
66
|
|
data/docs/DistrosApi.md
CHANGED
@@ -25,11 +25,6 @@ CloudsmithApi.configure do |config|
|
|
25
25
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
26
26
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
27
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
|
-
|
29
|
-
# Configure API key authorization: csrf_token
|
30
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
31
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
33
28
|
end
|
34
29
|
|
35
30
|
api_instance = CloudsmithApi::DistrosApi.new
|
@@ -52,7 +47,7 @@ This endpoint does not need any parameter.
|
|
52
47
|
|
53
48
|
### Authorization
|
54
49
|
|
55
|
-
[apikey](../README.md#apikey)
|
50
|
+
[apikey](../README.md#apikey)
|
56
51
|
|
57
52
|
### HTTP request headers
|
58
53
|
|
@@ -78,11 +73,6 @@ CloudsmithApi.configure do |config|
|
|
78
73
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
79
74
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
75
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
81
|
-
|
82
|
-
# Configure API key authorization: csrf_token
|
83
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
84
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
86
76
|
end
|
87
77
|
|
88
78
|
api_instance = CloudsmithApi::DistrosApi.new
|
@@ -111,7 +101,7 @@ Name | Type | Description | Notes
|
|
111
101
|
|
112
102
|
### Authorization
|
113
103
|
|
114
|
-
[apikey](../README.md#apikey)
|
104
|
+
[apikey](../README.md#apikey)
|
115
105
|
|
116
106
|
### HTTP request headers
|
117
107
|
|
data/docs/EntitlementsApi.md
CHANGED
@@ -33,11 +33,6 @@ CloudsmithApi.configure do |config|
|
|
33
33
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
34
34
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
35
35
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
36
|
-
|
37
|
-
# Configure API key authorization: csrf_token
|
38
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
39
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
40
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
41
36
|
end
|
42
37
|
|
43
38
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -75,7 +70,7 @@ Name | Type | Description | Notes
|
|
75
70
|
|
76
71
|
### Authorization
|
77
72
|
|
78
|
-
[apikey](../README.md#apikey)
|
73
|
+
[apikey](../README.md#apikey)
|
79
74
|
|
80
75
|
### HTTP request headers
|
81
76
|
|
@@ -101,11 +96,6 @@ CloudsmithApi.configure do |config|
|
|
101
96
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
102
97
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
103
98
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
104
|
-
|
105
|
-
# Configure API key authorization: csrf_token
|
106
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
107
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
108
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
109
99
|
end
|
110
100
|
|
111
101
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -139,7 +129,7 @@ nil (empty response body)
|
|
139
129
|
|
140
130
|
### Authorization
|
141
131
|
|
142
|
-
[apikey](../README.md#apikey)
|
132
|
+
[apikey](../README.md#apikey)
|
143
133
|
|
144
134
|
### HTTP request headers
|
145
135
|
|
@@ -165,11 +155,6 @@ CloudsmithApi.configure do |config|
|
|
165
155
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
166
156
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
167
157
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
168
|
-
|
169
|
-
# Configure API key authorization: csrf_token
|
170
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
171
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
172
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
173
158
|
end
|
174
159
|
|
175
160
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -203,7 +188,7 @@ nil (empty response body)
|
|
203
188
|
|
204
189
|
### Authorization
|
205
190
|
|
206
|
-
[apikey](../README.md#apikey)
|
191
|
+
[apikey](../README.md#apikey)
|
207
192
|
|
208
193
|
### HTTP request headers
|
209
194
|
|
@@ -229,11 +214,6 @@ CloudsmithApi.configure do |config|
|
|
229
214
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
230
215
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
231
216
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
232
|
-
|
233
|
-
# Configure API key authorization: csrf_token
|
234
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
235
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
236
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
237
217
|
end
|
238
218
|
|
239
219
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -267,7 +247,7 @@ nil (empty response body)
|
|
267
247
|
|
268
248
|
### Authorization
|
269
249
|
|
270
|
-
[apikey](../README.md#apikey)
|
250
|
+
[apikey](../README.md#apikey)
|
271
251
|
|
272
252
|
### HTTP request headers
|
273
253
|
|
@@ -293,11 +273,6 @@ CloudsmithApi.configure do |config|
|
|
293
273
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
294
274
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
295
275
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
296
|
-
|
297
|
-
# Configure API key authorization: csrf_token
|
298
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
299
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
300
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
301
276
|
end
|
302
277
|
|
303
278
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -337,7 +312,7 @@ Name | Type | Description | Notes
|
|
337
312
|
|
338
313
|
### Authorization
|
339
314
|
|
340
|
-
[apikey](../README.md#apikey)
|
315
|
+
[apikey](../README.md#apikey)
|
341
316
|
|
342
317
|
### HTTP request headers
|
343
318
|
|
@@ -363,11 +338,6 @@ CloudsmithApi.configure do |config|
|
|
363
338
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
364
339
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
365
340
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
366
|
-
|
367
|
-
# Configure API key authorization: csrf_token
|
368
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
369
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
370
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
371
341
|
end
|
372
342
|
|
373
343
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -408,7 +378,7 @@ Name | Type | Description | Notes
|
|
408
378
|
|
409
379
|
### Authorization
|
410
380
|
|
411
|
-
[apikey](../README.md#apikey)
|
381
|
+
[apikey](../README.md#apikey)
|
412
382
|
|
413
383
|
### HTTP request headers
|
414
384
|
|
@@ -434,11 +404,6 @@ CloudsmithApi.configure do |config|
|
|
434
404
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
435
405
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
436
406
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
437
|
-
|
438
|
-
# Configure API key authorization: csrf_token
|
439
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
440
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
441
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
442
407
|
end
|
443
408
|
|
444
409
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -477,7 +442,7 @@ Name | Type | Description | Notes
|
|
477
442
|
|
478
443
|
### Authorization
|
479
444
|
|
480
|
-
[apikey](../README.md#apikey)
|
445
|
+
[apikey](../README.md#apikey)
|
481
446
|
|
482
447
|
### HTTP request headers
|
483
448
|
|
@@ -503,11 +468,6 @@ CloudsmithApi.configure do |config|
|
|
503
468
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
504
469
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
505
470
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
506
|
-
|
507
|
-
# Configure API key authorization: csrf_token
|
508
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
509
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
510
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
511
471
|
end
|
512
472
|
|
513
473
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -548,7 +508,7 @@ Name | Type | Description | Notes
|
|
548
508
|
|
549
509
|
### Authorization
|
550
510
|
|
551
|
-
[apikey](../README.md#apikey)
|
511
|
+
[apikey](../README.md#apikey)
|
552
512
|
|
553
513
|
### HTTP request headers
|
554
514
|
|
@@ -574,11 +534,6 @@ CloudsmithApi.configure do |config|
|
|
574
534
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
575
535
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
576
536
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
577
|
-
|
578
|
-
# Configure API key authorization: csrf_token
|
579
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
580
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
581
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
582
537
|
end
|
583
538
|
|
584
539
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -612,7 +567,7 @@ nil (empty response body)
|
|
612
567
|
|
613
568
|
### Authorization
|
614
569
|
|
615
|
-
[apikey](../README.md#apikey)
|
570
|
+
[apikey](../README.md#apikey)
|
616
571
|
|
617
572
|
### HTTP request headers
|
618
573
|
|
@@ -638,11 +593,6 @@ CloudsmithApi.configure do |config|
|
|
638
593
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
639
594
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
640
595
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
641
|
-
|
642
|
-
# Configure API key authorization: csrf_token
|
643
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
644
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
645
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
646
596
|
end
|
647
597
|
|
648
598
|
api_instance = CloudsmithApi::EntitlementsApi.new
|
@@ -680,7 +630,7 @@ Name | Type | Description | Notes
|
|
680
630
|
|
681
631
|
### Authorization
|
682
632
|
|
683
|
-
[apikey](../README.md#apikey)
|
633
|
+
[apikey](../README.md#apikey)
|
684
634
|
|
685
635
|
### HTTP request headers
|
686
636
|
|
data/docs/EntitlementsCreate.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
7
|
-
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.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]
|
7
|
+
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. 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]
|
8
8
|
**limit_bandwidth_unit** | **String** | None | [optional]
|
9
9
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
10
10
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**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]
|
15
15
|
**metadata** | **Object** | None | [optional]
|
16
16
|
**name** | **String** | None |
|
17
|
+
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
17
18
|
**scheduled_reset_period** | **String** | None | [optional]
|
18
19
|
**token** | **String** | None | [optional]
|
19
20
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
7
|
-
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.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]
|
7
|
+
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. 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]
|
8
8
|
**limit_bandwidth_unit** | **String** | None | [optional]
|
9
9
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
10
10
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**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]
|
15
15
|
**metadata** | **Object** | None | [optional]
|
16
16
|
**name** | **String** | None | [optional]
|
17
|
+
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
17
18
|
**scheduled_reset_period** | **String** | None | [optional]
|
18
19
|
**token** | **String** | None | [optional]
|
19
20
|
|