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

- old
+ new

@@ -10,11 +10,11 @@ ## glossary_term_translation_create -> glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts) +> GlossaryTermTranslation glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts) Create a glossary term translation Create a new glossary term translation. @@ -29,12 +29,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::GlossaryTermTranslationsApi.new account_id = 'account_id_example' # String | Account ID glossary_id = 'glossary_id_example' # String | Glossary ID @@ -44,11 +43,12 @@ x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional) } begin #Create a glossary term translation - api_instance.glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts) + result = api_instance.glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts) + pp result rescue Phrase::ApiError => e puts "Exception when calling GlossaryTermTranslationsApi->glossary_term_translation_create: #{e}" end ``` @@ -63,20 +63,20 @@ **glossary_term_translation_create_parameters** | [**GlossaryTermTranslationCreateParameters**](GlossaryTermTranslationCreateParameters.md)| | **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] ### Return type -Response<(nil (empty response body))> +Response<([**GlossaryTermTranslation**](GlossaryTermTranslation.md))> ### Authorization [Basic](../README.md#Basic), [Token](../README.md#Token) ### HTTP request headers - **Content-Type**: application/json -- **Accept**: Not defined +- **Accept**: application/json ## glossary_term_translation_delete > glossary_term_translation_delete(account_id, glossary_id, term_id, id, opts) @@ -96,12 +96,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::GlossaryTermTranslationsApi.new account_id = 'account_id_example' # String | Account ID glossary_id = 'glossary_id_example' # String | Glossary ID @@ -163,11 +162,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::GlossaryTermTranslationsApi.new account_id = 'account_id_example' # String | Account ID glossary_id = 'glossary_id_example' # String | Glossary ID