docs/DistrosApi.md in cloudsmith-api-2.0.13 vs docs/DistrosApi.md in cloudsmith-api-2.0.14
- old
+ new
@@ -23,10 +23,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::DistrosApi.new
begin
@@ -45,11 +54,11 @@
[**Array<DistributionFull>**](DistributionFull.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
@@ -71,10 +80,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::DistrosApi.new
slug = 'slug_example' # String |
@@ -99,10 +117,10 @@
[**DistributionFull**](DistributionFull.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