docs/BitbucketSyncApi.md in phrase-2.4.0 vs docs/BitbucketSyncApi.md in phrase-2.5.0
- old
+ new
@@ -30,10 +30,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::BitbucketSyncApi.new
id = 'id_example' # String | ID
bitbucket_sync_export_parameters = Phrase::BitbucketSyncExportParameters.new # BitbucketSyncExportParameters |
@@ -63,11 +66,11 @@
Response<([**BitbucketSyncExportResponse**](BitbucketSyncExportResponse.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
@@ -93,10 +96,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::BitbucketSyncApi.new
id = 'id_example' # String | ID
bitbucket_sync_import_parameters = Phrase::BitbucketSyncImportParameters.new # BitbucketSyncImportParameters |
@@ -125,11 +131,11 @@
Response<(nil (empty response body))>
### 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**: Not defined
@@ -155,10 +161,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::BitbucketSyncApi.new
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
@@ -186,10 +195,10 @@
Response<([**Array<BitbucketSync>**](BitbucketSync.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