docs/ReleasesApi.md in phrase-1.0.1 vs docs/ReleasesApi.md in phrase-1.0.2

- old
+ new

@@ -13,11 +13,11 @@ ## release_create -> release_create(account_id, distribution_id, release_create_parameters, opts) +> Release release_create(account_id, distribution_id, release_create_parameters, opts) Create a release Create a new release. @@ -32,12 +32,11 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID @@ -46,11 +45,12 @@ x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional) } begin #Create a release - api_instance.release_create(account_id, distribution_id, release_create_parameters, opts) + result = api_instance.release_create(account_id, distribution_id, release_create_parameters, opts) + pp result rescue Phrase::ApiError => e puts "Exception when calling ReleasesApi->release_create: #{e}" end ``` @@ -64,20 +64,20 @@ **release_create_parameters** | [**ReleaseCreateParameters**](ReleaseCreateParameters.md)| | **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] ### Return type -Response<(nil (empty response body))> +Response<([**Release**](Release.md))> ### Authorization [Basic](../README.md#Basic), [Token](../README.md#Token) ### HTTP request headers - **Content-Type**: application/json -- **Accept**: Not defined +- **Accept**: application/json ## release_delete > release_delete(account_id, distribution_id, id, opts) @@ -97,12 +97,11 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID @@ -162,12 +161,11 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID @@ -228,12 +226,11 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID @@ -294,12 +291,11 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID @@ -362,11 +358,10 @@ 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' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ReleasesApi.new account_id = 'account_id_example' # String | Account ID distribution_id = 'distribution_id_example' # String | Distribution ID