docs/JobsApi.md in phrase-2.4.0 vs docs/JobsApi.md in phrase-2.5.0
- old
+ new
@@ -38,10 +38,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -73,11 +76,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -103,10 +106,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
job_create_parameters = Phrase::JobCreateParameters.new # JobCreateParameters |
@@ -136,11 +142,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -166,10 +172,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -200,11 +209,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
@@ -230,10 +239,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -265,11 +277,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -295,10 +307,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -331,11 +346,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
@@ -361,10 +376,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -396,11 +414,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -426,10 +444,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -461,11 +482,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -491,10 +512,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -526,11 +550,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -556,10 +580,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
id = 'id_example' # String | ID
@@ -591,11 +618,11 @@
Response<([**JobDetails**](JobDetails.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
@@ -621,10 +648,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::JobsApi.new
account_id = 'account_id_example' # String | Account ID
opts = {
@@ -662,11 +692,11 @@
Response<([**Array<Job>**](Job.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
@@ -692,10 +722,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::JobsApi.new
project_id = 'project_id_example' # String | Project ID
opts = {
@@ -735,10 +768,10 @@
Response<([**Array<Job>**](Job.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