docs/RepoSyncsApi.md in phrase-3.2.1 vs docs/RepoSyncsApi.md in phrase-3.3.0
- old
+ new
@@ -4,10 +4,11 @@
Method | HTTP request | Description
------------- | ------------- | -------------
[**repo_sync_activate**](RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync
[**repo_sync_deactivate**](RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync
+[**repo_sync_event_show**](RepoSyncsApi.md#repo_sync_event_show) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events/{id} | Get a single Repo Sync Event
[**repo_sync_events**](RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
[**repo_sync_export**](RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository
[**repo_sync_import**](RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository
[**repo_sync_list**](RepoSyncsApi.md#repo_sync_list) | **GET** /accounts/{account_id}/repo_syncs | Get Repo Syncs
[**repo_sync_show**](RepoSyncsApi.md#repo_sync_show) | **GET** /accounts/{account_id}/repo_syncs/{id} | Get a single Repo Sync
@@ -138,10 +139,75 @@
- **Content-Type**: Not defined
- **Accept**: application/json
+## repo_sync_event_show
+
+> RepoSyncEvent repo_sync_event_show(account_id, repo_sync_id, id, opts)
+
+Get a single Repo Sync Event
+
+Shows a single Repo Sync event.
+
+### Example
+
+```ruby
+# load the gem
+require 'phrase'
+# setup authorization
+Phrase.configure do |config|
+ # Configure HTTP basic authorization: Basic
+ config.username = 'YOUR USERNAME'
+ config.password = 'YOUR PASSWORD'
+
+ # Configure API key authorization: Token
+ config.api_key['Authorization'] = 'YOUR API KEY'
+ config.api_key_prefix['Authorization'] = 'token'
+end
+
+api_instance = Phrase::RepoSyncsApi.new
+account_id = 'account_id_example' # String | Account ID
+repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
+id = 'id_example' # String | ID
+opts = {
+ x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
+}
+
+begin
+ #Get a single Repo Sync Event
+ result = api_instance.repo_sync_event_show(account_id, repo_sync_id, id, opts)
+ pp result
+rescue Phrase::ApiError => e
+ puts "Exception when calling RepoSyncsApi->repo_sync_event_show: #{e}"
+end
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **account_id** | **String**| Account ID |
+ **repo_sync_id** | **String**| Repo Sync ID |
+ **id** | **String**| ID |
+ **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
+
+### Return type
+
+Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
+
+### Authorization
+
+[Basic](../README.md#Basic), [Token](../README.md#Token)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
## repo_sync_events
> Array<RepoSyncEvent> repo_sync_events(account_id, id, opts)
Repository Syncs History
@@ -203,11 +269,11 @@
- **Accept**: application/json
## repo_sync_export
-> RepoSyncExport repo_sync_export(account_id, id, opts)
+> RepoSyncEvent repo_sync_export(account_id, id, opts)
Export to code repository
> Beta: this feature will change in the future. Export translations from Phrase Strings to repository provider according to the .phrase.yml file within the code repository. *Export is done asynchronously and may take several seconds depending on the project size.*
@@ -252,11 +318,11 @@
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
### Return type
-Response<([**RepoSyncExport**](RepoSyncExport.md))>
+Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
### Authorization
[Basic](../README.md#Basic), [Token](../README.md#Token)
@@ -266,11 +332,11 @@
- **Accept**: application/json
## repo_sync_import
-> RepoSyncImport repo_sync_import(account_id, id, opts)
+> RepoSyncEvent repo_sync_import(account_id, id, opts)
Import from code repository
> Beta: this feature will change in the future. Import translations from repository provider to Phrase Strings according to the .phrase.yml file within the code repository. _Import is done asynchronously and may take several seconds depending on the project size._
@@ -315,10 +381,10 @@
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
### Return type
-Response<([**RepoSyncImport**](RepoSyncImport.md))>
+Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
### Authorization
[Basic](../README.md#Basic), [Token](../README.md#Token)