docs/LocalesApi.md in phrase-1.0.14 vs docs/LocalesApi.md in phrase-2.0.0

- old
+ new

@@ -140,11 +140,11 @@ - **Accept**: Not defined ## locale_download -> locale_download(project_id, id, opts) +> File locale_download(project_id, id, opts) Download a locale Download a locale in a specific file format. @@ -186,11 +186,12 @@ fallback_locale_id: 'fallback_locale_id_example' # String | If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to <code>true</code>. } begin #Download a locale - api_instance.locale_download(project_id, id, opts) + result = api_instance.locale_download(project_id, id, opts) + pp result rescue Phrase::ApiError => e puts "Exception when calling LocalesApi->locale_download: #{e}" end ``` @@ -218,19 +219,19 @@ **use_last_reviewed_version** | **Boolean**| If set to true the last reviewed version of a translation is used. This is only available if the review workflow (currently in beta) is enabled for the project. | [optional] **fallback_locale_id** | **String**| If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to &lt;code&gt;true&lt;/code&gt;. | [optional] ### Return type -Response<(nil (empty response body))> +Response<(**File**)> ### Authorization [Basic](../README.md#Basic), [Token](../README.md#Token) ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: Not defined +- **Accept**: * ## locale_show > LocaleDetails locale_show(project_id, id, opts)