docs/NotificationsApi.md in phrase-2.4.0 vs docs/NotificationsApi.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::NotificationsApi.new
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
@@ -63,11 +66,11 @@
Response<(**Array<Object>**)>
### 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
@@ -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::NotificationsApi.new
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
@@ -122,11 +128,11 @@
Response<(**Array<Object>**)>
### 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
@@ -152,10 +158,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::NotificationsApi.new
id = 'id_example' # String | ID
opts = {
@@ -183,10 +192,10 @@
Response<([**Notification**](Notification.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