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
data/docs/QuotaApi.md
CHANGED
@@ -27,11 +27,6 @@ CloudsmithApi.configure do |config|
|
|
27
27
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
28
28
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
29
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
30
|
-
|
31
|
-
# Configure API key authorization: csrf_token
|
32
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
33
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
34
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
35
30
|
end
|
36
31
|
|
37
32
|
api_instance = CloudsmithApi::QuotaApi.new
|
@@ -60,7 +55,7 @@ Name | Type | Description | Notes
|
|
60
55
|
|
61
56
|
### Authorization
|
62
57
|
|
63
|
-
[apikey](../README.md#apikey)
|
58
|
+
[apikey](../README.md#apikey)
|
64
59
|
|
65
60
|
### HTTP request headers
|
66
61
|
|
@@ -86,11 +81,6 @@ CloudsmithApi.configure do |config|
|
|
86
81
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
87
82
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
88
83
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
89
|
-
|
90
|
-
# Configure API key authorization: csrf_token
|
91
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
92
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
93
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
94
84
|
end
|
95
85
|
|
96
86
|
api_instance = CloudsmithApi::QuotaApi.new
|
@@ -119,7 +109,7 @@ Name | Type | Description | Notes
|
|
119
109
|
|
120
110
|
### Authorization
|
121
111
|
|
122
|
-
[apikey](../README.md#apikey)
|
112
|
+
[apikey](../README.md#apikey)
|
123
113
|
|
124
114
|
### HTTP request headers
|
125
115
|
|
@@ -145,11 +135,6 @@ CloudsmithApi.configure do |config|
|
|
145
135
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
146
136
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
147
137
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
148
|
-
|
149
|
-
# Configure API key authorization: csrf_token
|
150
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
151
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
152
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
153
138
|
end
|
154
139
|
|
155
140
|
api_instance = CloudsmithApi::QuotaApi.new
|
@@ -178,7 +163,7 @@ Name | Type | Description | Notes
|
|
178
163
|
|
179
164
|
### Authorization
|
180
165
|
|
181
|
-
[apikey](../README.md#apikey)
|
166
|
+
[apikey](../README.md#apikey)
|
182
167
|
|
183
168
|
### HTTP request headers
|
184
169
|
|
@@ -204,11 +189,6 @@ CloudsmithApi.configure do |config|
|
|
204
189
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
205
190
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
206
191
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
207
|
-
|
208
|
-
# Configure API key authorization: csrf_token
|
209
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
210
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
211
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
212
192
|
end
|
213
193
|
|
214
194
|
api_instance = CloudsmithApi::QuotaApi.new
|
@@ -237,7 +217,7 @@ Name | Type | Description | Notes
|
|
237
217
|
|
238
218
|
### Authorization
|
239
219
|
|
240
|
-
[apikey](../README.md#apikey)
|
220
|
+
[apikey](../README.md#apikey)
|
241
221
|
|
242
222
|
### HTTP request headers
|
243
223
|
|
data/docs/RatesApi.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::RatesApi.new
|
@@ -51,7 +46,7 @@ This endpoint does not need any parameter.
|
|
51
46
|
|
52
47
|
### Authorization
|
53
48
|
|
54
|
-
[apikey](../README.md#apikey)
|
49
|
+
[apikey](../README.md#apikey)
|
55
50
|
|
56
51
|
### HTTP request headers
|
57
52
|
|
data/docs/RawPackageUpload.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/ReposApi.md
CHANGED
@@ -29,11 +29,6 @@ CloudsmithApi.configure do |config|
|
|
29
29
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
30
30
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
31
31
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
32
|
-
|
33
|
-
# Configure API key authorization: csrf_token
|
34
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
35
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
36
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
37
32
|
end
|
38
33
|
|
39
34
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -65,7 +60,7 @@ Name | Type | Description | Notes
|
|
65
60
|
|
66
61
|
### Authorization
|
67
62
|
|
68
|
-
[apikey](../README.md#apikey)
|
63
|
+
[apikey](../README.md#apikey)
|
69
64
|
|
70
65
|
### HTTP request headers
|
71
66
|
|
@@ -91,11 +86,6 @@ CloudsmithApi.configure do |config|
|
|
91
86
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
92
87
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
93
88
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
94
|
-
|
95
|
-
# Configure API key authorization: csrf_token
|
96
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
97
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
98
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
99
89
|
end
|
100
90
|
|
101
91
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -128,7 +118,7 @@ Name | Type | Description | Notes
|
|
128
118
|
|
129
119
|
### Authorization
|
130
120
|
|
131
|
-
[apikey](../README.md#apikey)
|
121
|
+
[apikey](../README.md#apikey)
|
132
122
|
|
133
123
|
### HTTP request headers
|
134
124
|
|
@@ -154,11 +144,6 @@ CloudsmithApi.configure do |config|
|
|
154
144
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
155
145
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
156
146
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
157
|
-
|
158
|
-
# Configure API key authorization: csrf_token
|
159
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
160
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
161
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
162
147
|
end
|
163
148
|
|
164
149
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -189,7 +174,7 @@ nil (empty response body)
|
|
189
174
|
|
190
175
|
### Authorization
|
191
176
|
|
192
|
-
[apikey](../README.md#apikey)
|
177
|
+
[apikey](../README.md#apikey)
|
193
178
|
|
194
179
|
### HTTP request headers
|
195
180
|
|
@@ -215,11 +200,6 @@ CloudsmithApi.configure do |config|
|
|
215
200
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
216
201
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
217
202
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
218
|
-
|
219
|
-
# Configure API key authorization: csrf_token
|
220
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
221
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
222
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
223
203
|
end
|
224
204
|
|
225
205
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -254,7 +234,7 @@ Name | Type | Description | Notes
|
|
254
234
|
|
255
235
|
### Authorization
|
256
236
|
|
257
|
-
[apikey](../README.md#apikey)
|
237
|
+
[apikey](../README.md#apikey)
|
258
238
|
|
259
239
|
### HTTP request headers
|
260
240
|
|
@@ -280,11 +260,6 @@ CloudsmithApi.configure do |config|
|
|
280
260
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
281
261
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
282
262
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
283
|
-
|
284
|
-
# Configure API key authorization: csrf_token
|
285
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
286
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
287
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
288
263
|
end
|
289
264
|
|
290
265
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -320,7 +295,7 @@ Name | Type | Description | Notes
|
|
320
295
|
|
321
296
|
### Authorization
|
322
297
|
|
323
|
-
[apikey](../README.md#apikey)
|
298
|
+
[apikey](../README.md#apikey)
|
324
299
|
|
325
300
|
### HTTP request headers
|
326
301
|
|
@@ -346,11 +321,6 @@ CloudsmithApi.configure do |config|
|
|
346
321
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
347
322
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
348
323
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
349
|
-
|
350
|
-
# Configure API key authorization: csrf_token
|
351
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
352
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
353
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
354
324
|
end
|
355
325
|
|
356
326
|
api_instance = CloudsmithApi::ReposApi.new
|
@@ -382,7 +352,7 @@ Name | Type | Description | Notes
|
|
382
352
|
|
383
353
|
### Authorization
|
384
354
|
|
385
|
-
[apikey](../README.md#apikey)
|
355
|
+
[apikey](../README.md#apikey)
|
386
356
|
|
387
357
|
### HTTP request headers
|
388
358
|
|
data/docs/RepositoryToken.md
CHANGED
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**created_by** | **String** | | [optional]
|
9
9
|
**created_by_url** | **String** | | [optional]
|
10
10
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
11
|
+
**disable_url** | **String** | | [optional]
|
11
12
|
**downloads** | **Integer** | | [optional]
|
13
|
+
**enable_url** | **String** | | [optional]
|
12
14
|
**has_limits** | **BOOLEAN** | | [optional]
|
13
15
|
**identifier** | **Integer** | | [optional]
|
14
16
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
15
17
|
**is_limited** | **BOOLEAN** | | [optional]
|
16
|
-
**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]
|
18
|
+
**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]
|
17
19
|
**limit_bandwidth_unit** | **String** | | [optional]
|
18
20
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
19
21
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
|
|
24
26
|
**metadata** | **Object** | | [optional]
|
25
27
|
**name** | **String** | |
|
26
28
|
**refresh_url** | **String** | | [optional]
|
29
|
+
**reset_url** | **String** | | [optional]
|
27
30
|
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
28
31
|
**scheduled_reset_period** | **String** | | [optional]
|
29
32
|
**self_url** | **String** | | [optional]
|
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**created_by** | **String** | | [optional]
|
9
9
|
**created_by_url** | **String** | | [optional]
|
10
10
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
11
|
+
**disable_url** | **String** | | [optional]
|
11
12
|
**downloads** | **Integer** | | [optional]
|
13
|
+
**enable_url** | **String** | | [optional]
|
12
14
|
**has_limits** | **BOOLEAN** | | [optional]
|
13
15
|
**identifier** | **Integer** | | [optional]
|
14
16
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
15
17
|
**is_limited** | **BOOLEAN** | | [optional]
|
16
|
-
**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]
|
18
|
+
**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]
|
17
19
|
**limit_bandwidth_unit** | **String** | | [optional]
|
18
20
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
19
21
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
|
|
24
26
|
**metadata** | **Object** | | [optional]
|
25
27
|
**name** | **String** | | [optional]
|
26
28
|
**refresh_url** | **String** | | [optional]
|
29
|
+
**reset_url** | **String** | | [optional]
|
27
30
|
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
28
31
|
**scheduled_reset_period** | **String** | | [optional]
|
29
32
|
**self_url** | **String** | | [optional]
|
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**created_by** | **String** | | [optional]
|
9
9
|
**created_by_url** | **String** | | [optional]
|
10
10
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
11
|
+
**disable_url** | **String** | | [optional]
|
11
12
|
**downloads** | **Integer** | | [optional]
|
13
|
+
**enable_url** | **String** | | [optional]
|
12
14
|
**has_limits** | **BOOLEAN** | | [optional]
|
13
15
|
**identifier** | **Integer** | | [optional]
|
14
16
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
15
17
|
**is_limited** | **BOOLEAN** | | [optional]
|
16
|
-
**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]
|
18
|
+
**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]
|
17
19
|
**limit_bandwidth_unit** | **String** | | [optional]
|
18
20
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
19
21
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
|
|
24
26
|
**metadata** | **String** | | [optional]
|
25
27
|
**name** | **String** | | [optional]
|
26
28
|
**refresh_url** | **String** | | [optional]
|
29
|
+
**reset_url** | **String** | | [optional]
|
27
30
|
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
28
31
|
**scheduled_reset_period** | **String** | | [optional]
|
29
32
|
**self_url** | **String** | | [optional]
|
data/docs/StorageregionsApi.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::StorageregionsApi.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::StorageregionsApi.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/UserApi.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::UserApi.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::UserApi.new
|
@@ -112,7 +102,7 @@ Name | Type | Description | Notes
|
|
112
102
|
|
113
103
|
### Authorization
|
114
104
|
|
115
|
-
[apikey](../README.md#apikey)
|
105
|
+
[apikey](../README.md#apikey)
|
116
106
|
|
117
107
|
### HTTP request headers
|
118
108
|
|
data/docs/UsersApi.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::UsersApi.new
|
@@ -57,7 +52,7 @@ Name | Type | Description | Notes
|
|
57
52
|
|
58
53
|
### Authorization
|
59
54
|
|
60
|
-
[apikey](../README.md#apikey)
|
55
|
+
[apikey](../README.md#apikey)
|
61
56
|
|
62
57
|
### HTTP request headers
|
63
58
|
|
@@ -39,7 +39,7 @@ Name | Type | Description | Notes
|
|
39
39
|
**self_html_url** | **String** | | [optional]
|
40
40
|
**self_url** | **String** | | [optional]
|
41
41
|
**size** | **Integer** | The calculated size of the package. | [optional]
|
42
|
-
**slug** | **String** |
|
42
|
+
**slug** | **String** | The public unique identifier for the package. | [optional]
|
43
43
|
**slug_perm** | **String** | | [optional]
|
44
44
|
**stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
|
45
45
|
**stage_str** | **String** | | [optional]
|
@@ -60,5 +60,6 @@ Name | Type | Description | Notes
|
|
60
60
|
**uploader_url** | **String** | | [optional]
|
61
61
|
**version** | **String** | The raw version for this package. |
|
62
62
|
**version_orig** | **String** | | [optional]
|
63
|
+
**vulnerability_scan_results_url** | **String** | | [optional]
|
63
64
|
|
64
65
|
|
@@ -0,0 +1,264 @@
|
|
1
|
+
# CloudsmithApi::VulnerabilitiesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudsmith.io*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**vulnerabilities_list**](VulnerabilitiesApi.md#vulnerabilities_list) | **GET** /vulnerabilities/{owner}/ | Read-only view to list vulnerabiltiy scan results within a Namespace.
|
8
|
+
[**vulnerabilities_list0**](VulnerabilitiesApi.md#vulnerabilities_list0) | **GET** /vulnerabilities/{owner}/{repo}/ | Read-only views to list vulnerabiltiy scan results within a Repository.
|
9
|
+
[**vulnerabilities_list1**](VulnerabilitiesApi.md#vulnerabilities_list1) | **GET** /vulnerabilities/{owner}/{repo}/{package}/ | Read-only views to list vulnerabiltiy scan results within a Repository
|
10
|
+
[**vulnerabilities_read**](VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Read-only view to retrieve vulnerability scans results using a
|
11
|
+
|
12
|
+
|
13
|
+
# **vulnerabilities_list**
|
14
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list(owner, opts)
|
15
|
+
|
16
|
+
Read-only view to list vulnerabiltiy scan results within a Namespace.
|
17
|
+
|
18
|
+
Read-only view to list vulnerabiltiy scan results within a Namespace.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'cloudsmith-api'
|
24
|
+
# setup authorization
|
25
|
+
CloudsmithApi.configure do |config|
|
26
|
+
# Configure API key authorization: apikey
|
27
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
33
|
+
|
34
|
+
owner = "owner_example" # String |
|
35
|
+
|
36
|
+
opts = {
|
37
|
+
page: 56, # Integer | A page number within the paginated result set.
|
38
|
+
page_size: 56 # Integer | Number of results to return per page.
|
39
|
+
}
|
40
|
+
|
41
|
+
begin
|
42
|
+
#Read-only view to list vulnerabiltiy scan results within a Namespace.
|
43
|
+
result = api_instance.vulnerabilities_list(owner, opts)
|
44
|
+
p result
|
45
|
+
rescue CloudsmithApi::ApiError => e
|
46
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Parameters
|
51
|
+
|
52
|
+
Name | Type | Description | Notes
|
53
|
+
------------- | ------------- | ------------- | -------------
|
54
|
+
**owner** | **String**| |
|
55
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
56
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
[apikey](../README.md#apikey)
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: Not defined
|
69
|
+
- **Accept**: Not defined
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
# **vulnerabilities_list0**
|
74
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list0(owner, repo, opts)
|
75
|
+
|
76
|
+
Read-only views to list vulnerabiltiy scan results within a Repository.
|
77
|
+
|
78
|
+
Read-only views to list vulnerabiltiy scan results within a Repository.
|
79
|
+
|
80
|
+
### Example
|
81
|
+
```ruby
|
82
|
+
# load the gem
|
83
|
+
require 'cloudsmith-api'
|
84
|
+
# setup authorization
|
85
|
+
CloudsmithApi.configure do |config|
|
86
|
+
# Configure API key authorization: apikey
|
87
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
88
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
89
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
90
|
+
end
|
91
|
+
|
92
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
93
|
+
|
94
|
+
owner = "owner_example" # String |
|
95
|
+
|
96
|
+
repo = "repo_example" # String |
|
97
|
+
|
98
|
+
opts = {
|
99
|
+
page: 56, # Integer | A page number within the paginated result set.
|
100
|
+
page_size: 56 # Integer | Number of results to return per page.
|
101
|
+
}
|
102
|
+
|
103
|
+
begin
|
104
|
+
#Read-only views to list vulnerabiltiy scan results within a Repository.
|
105
|
+
result = api_instance.vulnerabilities_list0(owner, repo, opts)
|
106
|
+
p result
|
107
|
+
rescue CloudsmithApi::ApiError => e
|
108
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list0: #{e}"
|
109
|
+
end
|
110
|
+
```
|
111
|
+
|
112
|
+
### Parameters
|
113
|
+
|
114
|
+
Name | Type | Description | Notes
|
115
|
+
------------- | ------------- | ------------- | -------------
|
116
|
+
**owner** | **String**| |
|
117
|
+
**repo** | **String**| |
|
118
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
119
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
120
|
+
|
121
|
+
### Return type
|
122
|
+
|
123
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
124
|
+
|
125
|
+
### Authorization
|
126
|
+
|
127
|
+
[apikey](../README.md#apikey)
|
128
|
+
|
129
|
+
### HTTP request headers
|
130
|
+
|
131
|
+
- **Content-Type**: Not defined
|
132
|
+
- **Accept**: Not defined
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
# **vulnerabilities_list1**
|
137
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list1(owner, repo, package, opts)
|
138
|
+
|
139
|
+
Read-only views to list vulnerabiltiy scan results within a Repository
|
140
|
+
|
141
|
+
Read-only views to list vulnerabiltiy scan results within a Repository for a given Package identifier.
|
142
|
+
|
143
|
+
### Example
|
144
|
+
```ruby
|
145
|
+
# load the gem
|
146
|
+
require 'cloudsmith-api'
|
147
|
+
# setup authorization
|
148
|
+
CloudsmithApi.configure do |config|
|
149
|
+
# Configure API key authorization: apikey
|
150
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
151
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
152
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
153
|
+
end
|
154
|
+
|
155
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
156
|
+
|
157
|
+
owner = "owner_example" # String |
|
158
|
+
|
159
|
+
repo = "repo_example" # String |
|
160
|
+
|
161
|
+
package = "package_example" # String | The package that the scan result relates to.
|
162
|
+
|
163
|
+
opts = {
|
164
|
+
page: 56, # Integer | A page number within the paginated result set.
|
165
|
+
page_size: 56 # Integer | Number of results to return per page.
|
166
|
+
}
|
167
|
+
|
168
|
+
begin
|
169
|
+
#Read-only views to list vulnerabiltiy scan results within a Repository
|
170
|
+
result = api_instance.vulnerabilities_list1(owner, repo, package, opts)
|
171
|
+
p result
|
172
|
+
rescue CloudsmithApi::ApiError => e
|
173
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list1: #{e}"
|
174
|
+
end
|
175
|
+
```
|
176
|
+
|
177
|
+
### Parameters
|
178
|
+
|
179
|
+
Name | Type | Description | Notes
|
180
|
+
------------- | ------------- | ------------- | -------------
|
181
|
+
**owner** | **String**| |
|
182
|
+
**repo** | **String**| |
|
183
|
+
**package** | **String**| The package that the scan result relates to. |
|
184
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
185
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
186
|
+
|
187
|
+
### Return type
|
188
|
+
|
189
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
190
|
+
|
191
|
+
### Authorization
|
192
|
+
|
193
|
+
[apikey](../README.md#apikey)
|
194
|
+
|
195
|
+
### HTTP request headers
|
196
|
+
|
197
|
+
- **Content-Type**: Not defined
|
198
|
+
- **Accept**: Not defined
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
# **vulnerabilities_read**
|
203
|
+
> VulnerabilityScanResults vulnerabilities_read(owner, repo, package, scan_id)
|
204
|
+
|
205
|
+
Read-only view to retrieve vulnerability scans results using a
|
206
|
+
|
207
|
+
Read-only view to retrieve vulnerability scans results using a vulnerabiltiy scan results identifier (slug_perm).
|
208
|
+
|
209
|
+
### Example
|
210
|
+
```ruby
|
211
|
+
# load the gem
|
212
|
+
require 'cloudsmith-api'
|
213
|
+
# setup authorization
|
214
|
+
CloudsmithApi.configure do |config|
|
215
|
+
# Configure API key authorization: apikey
|
216
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
217
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
218
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
219
|
+
end
|
220
|
+
|
221
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
222
|
+
|
223
|
+
owner = "owner_example" # String |
|
224
|
+
|
225
|
+
repo = "repo_example" # String |
|
226
|
+
|
227
|
+
package = "package_example" # String | The package that the scan result relates to.
|
228
|
+
|
229
|
+
scan_id = "scan_id_example" # String | A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.)
|
230
|
+
|
231
|
+
|
232
|
+
begin
|
233
|
+
#Read-only view to retrieve vulnerability scans results using a
|
234
|
+
result = api_instance.vulnerabilities_read(owner, repo, package, scan_id)
|
235
|
+
p result
|
236
|
+
rescue CloudsmithApi::ApiError => e
|
237
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_read: #{e}"
|
238
|
+
end
|
239
|
+
```
|
240
|
+
|
241
|
+
### Parameters
|
242
|
+
|
243
|
+
Name | Type | Description | Notes
|
244
|
+
------------- | ------------- | ------------- | -------------
|
245
|
+
**owner** | **String**| |
|
246
|
+
**repo** | **String**| |
|
247
|
+
**package** | **String**| The package that the scan result relates to. |
|
248
|
+
**scan_id** | **String**| A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.) |
|
249
|
+
|
250
|
+
### Return type
|
251
|
+
|
252
|
+
[**VulnerabilityScanResults**](VulnerabilityScanResults.md)
|
253
|
+
|
254
|
+
### Authorization
|
255
|
+
|
256
|
+
[apikey](../README.md#apikey)
|
257
|
+
|
258
|
+
### HTTP request headers
|
259
|
+
|
260
|
+
- **Content-Type**: Not defined
|
261
|
+
- **Accept**: Not defined
|
262
|
+
|
263
|
+
|
264
|
+
|