docs/VersionsHistoryApi.md in phrase-2.4.0 vs docs/VersionsHistoryApi.md in phrase-2.5.0
- old
+ new
@@ -29,10 +29,13 @@
config.password = 'YOUR PASSWORD'
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
config.api_key_prefix['Authorization'] = 'token'
+
+ # Configure Bearer authorization (JWT): bearerAuth
+ config.access_token = 'YOUR_BEARER_TOKEN'
end
api_instance = Phrase::VersionsHistoryApi.new
project_id = 'project_id_example' # String | Project ID
translation_id = 'translation_id_example' # String | Translation ID
@@ -66,11 +69,11 @@
Response<([**TranslationVersionWithUser**](TranslationVersionWithUser.md))>
### Authorization
-[Basic](../README.md#Basic), [Token](../README.md#Token)
+[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
@@ -96,10 +99,13 @@
config.password = 'YOUR PASSWORD'
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
config.api_key_prefix['Authorization'] = 'token'
+
+ # Configure Bearer authorization (JWT): bearerAuth
+ config.access_token = 'YOUR_BEARER_TOKEN'
end
api_instance = Phrase::VersionsHistoryApi.new
project_id = 'project_id_example' # String | Project ID
translation_id = 'translation_id_example' # String | Translation ID
@@ -135,10 +141,10 @@
Response<([**Array<TranslationVersion>**](TranslationVersion.md))>
### Authorization
-[Basic](../README.md#Basic), [Token](../README.md#Token)
+[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json