docs/BadgesApi.md in cloudsmith-api-2.0.13 vs docs/BadgesApi.md in cloudsmith-api-2.0.14
- old
+ new
@@ -22,10 +22,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::BadgesApi.new
owner = 'owner_example' # String |
@@ -89,10 +98,10 @@
[**PackageVersionBadge**](PackageVersionBadge.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