docs/MetricsApi.md in cloudsmith-api-2.0.13 vs docs/MetricsApi.md in cloudsmith-api-2.0.14

- old
+ new

@@ -24,10 +24,19 @@ CloudsmithApi.configure do |config| # Configure API key authorization: apikey config.api_key['X-Api-Key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) #config.api_key_prefix['X-Api-Key'] = 'Bearer' + + # Configure HTTP basic authorization: basic + config.username = 'YOUR USERNAME' + config.password = 'YOUR PASSWORD' + + # Configure API key authorization: token + config.api_key['Authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = CloudsmithApi::MetricsApi.new owner = 'owner_example' # String | @@ -64,11 +73,11 @@ [**EntitlementUsageMetrics**](EntitlementUsageMetrics.md) ### Authorization -[apikey](../README.md#apikey) +[apikey](../README.md#apikey), [basic](../README.md#basic), [token](../README.md#token) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json @@ -90,10 +99,19 @@ CloudsmithApi.configure do |config| # Configure API key authorization: apikey config.api_key['X-Api-Key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) #config.api_key_prefix['X-Api-Key'] = 'Bearer' + + # Configure HTTP basic authorization: basic + config.username = 'YOUR USERNAME' + config.password = 'YOUR PASSWORD' + + # Configure API key authorization: token + config.api_key['Authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = CloudsmithApi::MetricsApi.new owner = 'owner_example' # String | @@ -133,11 +151,11 @@ [**EntitlementUsageMetrics**](EntitlementUsageMetrics.md) ### Authorization -[apikey](../README.md#apikey) +[apikey](../README.md#apikey), [basic](../README.md#basic), [token](../README.md#token) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json @@ -159,10 +177,19 @@ CloudsmithApi.configure do |config| # Configure API key authorization: apikey config.api_key['X-Api-Key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) #config.api_key_prefix['X-Api-Key'] = 'Bearer' + + # Configure HTTP basic authorization: basic + config.username = 'YOUR USERNAME' + config.password = 'YOUR PASSWORD' + + # Configure API key authorization: token + config.api_key['Authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = CloudsmithApi::MetricsApi.new owner = 'owner_example' # String | @@ -202,10 +229,10 @@ [**PackageUsageMetrics**](PackageUsageMetrics.md) ### Authorization -[apikey](../README.md#apikey) +[apikey](../README.md#apikey), [basic](../README.md#basic), [token](../README.md#token) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json