docs/TranslationsApi.md in phrase-2.4.0 vs docs/TranslationsApi.md in phrase-2.5.0
- old
+ new
@@ -44,10 +44,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translation_create_parameters = Phrase::TranslationCreateParameters.new # TranslationCreateParameters |
@@ -77,11 +80,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -107,10 +110,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -142,11 +148,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -172,10 +178,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -207,11 +216,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -237,10 +246,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -272,11 +284,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -302,10 +314,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -337,11 +352,11 @@
Response<([**TranslationDetails**](TranslationDetails.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
@@ -367,10 +382,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -402,11 +420,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -432,10 +450,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -467,11 +488,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -497,10 +518,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -532,11 +556,11 @@
Response<([**TranslationDetails**](TranslationDetails.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**: application/json
- **Accept**: application/json
@@ -562,10 +586,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
key_id = 'key_id_example' # String | Translation Key ID
@@ -607,11 +634,11 @@
Response<([**Array<Translation>**](Translation.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
@@ -637,10 +664,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
locale_id = 'locale_id_example' # String | Locale ID
@@ -682,11 +712,11 @@
Response<([**Array<Translation>**](Translation.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
@@ -712,10 +742,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_exclude_parameters = Phrase::TranslationsExcludeParameters.new # TranslationsExcludeParameters |
@@ -745,11 +778,11 @@
Response<([**AffectedCount**](AffectedCount.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**: application/json
- **Accept**: application/json
@@ -775,10 +808,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_include_parameters = Phrase::TranslationsIncludeParameters.new # TranslationsIncludeParameters |
@@ -808,11 +844,11 @@
Response<([**AffectedCount**](AffectedCount.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**: application/json
- **Accept**: application/json
@@ -838,10 +874,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
opts = {
@@ -881,11 +920,11 @@
Response<([**Array<Translation>**](Translation.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
@@ -911,10 +950,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_review_parameters = Phrase::TranslationsReviewParameters.new # TranslationsReviewParameters |
@@ -944,11 +986,11 @@
Response<([**AffectedCount**](AffectedCount.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**: application/json
- **Accept**: application/json
@@ -974,10 +1016,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_search_parameters = Phrase::TranslationsSearchParameters.new # TranslationsSearchParameters |
@@ -1011,11 +1056,11 @@
Response<([**Array<Translation>**](Translation.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**: application/json
- **Accept**: application/json
@@ -1041,10 +1086,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_unverify_parameters = Phrase::TranslationsUnverifyParameters.new # TranslationsUnverifyParameters |
@@ -1074,11 +1122,11 @@
Response<([**AffectedCount**](AffectedCount.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**: application/json
- **Accept**: application/json
@@ -1104,10 +1152,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::TranslationsApi.new
project_id = 'project_id_example' # String | Project ID
translations_verify_parameters = Phrase::TranslationsVerifyParameters.new # TranslationsVerifyParameters |
@@ -1137,10 +1188,10 @@
Response<([**AffectedCount**](AffectedCount.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**: application/json
- **Accept**: application/json