docs/DistrosApi.md in cloudsmith-api-0.30.7 vs docs/DistrosApi.md in cloudsmith-api-0.44.4

- old
+ new

@@ -1,13 +1,13 @@ # CloudsmithApi::DistrosApi -All URIs are relative to *https://api.cloudsmith.io/v1* +All URIs are relative to *https://api.cloudsmith.io* Method | HTTP request | Description ------------- | ------------- | ------------- [**distros_list**](DistrosApi.md#distros_list) | **GET** /distros/ | Get a list of all supported distributions. -[**distros_read**](DistrosApi.md#distros_read) | **GET** /distros/{slug}/ | View for viewing/listing package formats. +[**distros_read**](DistrosApi.md#distros_read) | **GET** /distros/{slug}/ | View for viewing/listing distributions. # **distros_list** > Array<Distribution> distros_list @@ -24,14 +24,10 @@ # 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: csrf_token config.api_key['X-CSRFToken'] = '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-CSRFToken'] = 'Bearer' end @@ -54,11 +50,11 @@ [**Array<Distribution>**](Distribution.md) ### Authorization -[apikey](../README.md#apikey), [basic](../README.md#basic), [csrf_token](../README.md#csrf_token) +[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined @@ -66,13 +62,13 @@ # **distros_read** > Distribution distros_read(slug) -View for viewing/listing package formats. +View for viewing/listing distributions. -View for viewing/listing package formats. +View for viewing/listing distributions. ### Example ```ruby # load the gem require 'cloudsmith-api' @@ -81,14 +77,10 @@ # 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: csrf_token config.api_key['X-CSRFToken'] = '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-CSRFToken'] = 'Bearer' end @@ -97,11 +89,11 @@ slug = "slug_example" # String | begin - #View for viewing/listing package formats. + #View for viewing/listing distributions. result = api_instance.distros_read(slug) p result rescue CloudsmithApi::ApiError => e puts "Exception when calling DistrosApi->distros_read: #{e}" end @@ -117,10 +109,10 @@ [**Distribution**](Distribution.md) ### Authorization -[apikey](../README.md#apikey), [basic](../README.md#basic), [csrf_token](../README.md#csrf_token) +[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined