docs/ReleasesApi.md in phrase-2.4.0 vs docs/ReleasesApi.md in phrase-2.5.0
- old
+ new
@@ -33,10 +33,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -68,11 +71,11 @@
Response<([**Release**](Release.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
@@ -98,10 +101,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -132,11 +138,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**: Not defined
- **Accept**: Not defined
@@ -162,10 +168,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -197,11 +206,11 @@
Response<([**Release**](Release.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
@@ -227,10 +236,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -262,11 +274,11 @@
Response<([**Release**](Release.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
@@ -292,10 +304,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -329,11 +344,11 @@
Response<([**Release**](Release.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
@@ -359,10 +374,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::ReleasesApi.new
account_id = 'account_id_example' # String | Account ID
distribution_id = 'distribution_id_example' # String | Distribution ID
@@ -396,10 +414,10 @@
Response<([**Array<ReleasePreview>**](ReleasePreview.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