diff --git a/README.md b/README.md index ea2e71f..06d6355 100644 --- a/README.md +++ b/README.md @@ -255,13 +255,13 @@ Class | Method | HTTP request | Description *ReleasesApi* | [**ReleaseShow**](docs/ReleasesApi.md#releaseshow) | **Get** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Get a single release *ReleasesApi* | [**ReleaseUpdate**](docs/ReleasesApi.md#releaseupdate) | **Patch** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Update a release *ReleasesApi* | [**ReleasesList**](docs/ReleasesApi.md#releaseslist) | **Get** /accounts/{account_id}/distributions/{distribution_id}/releases | List releases -*RepoSyncsApi* | [**RepoSyncActivate**](docs/RepoSyncsApi.md#reposyncactivate) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate | Activate a Repo Sync -*RepoSyncsApi* | [**RepoSyncDeactivate**](docs/RepoSyncsApi.md#reposyncdeactivate) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate | Deactivate a Repo Sync -*RepoSyncsApi* | [**RepoSyncEvents**](docs/RepoSyncsApi.md#reposyncevents) | **Get** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events | Repository Syncs History -*RepoSyncsApi* | [**RepoSyncExport**](docs/RepoSyncsApi.md#reposyncexport) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/export | Export to code repository -*RepoSyncsApi* | [**RepoSyncImport**](docs/RepoSyncsApi.md#reposyncimport) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/import | Import from code repository +*RepoSyncsApi* | [**RepoSyncActivate**](docs/RepoSyncsApi.md#reposyncactivate) | **Post** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync +*RepoSyncsApi* | [**RepoSyncDeactivate**](docs/RepoSyncsApi.md#reposyncdeactivate) | **Post** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync +*RepoSyncsApi* | [**RepoSyncEvents**](docs/RepoSyncsApi.md#reposyncevents) | **Get** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History +*RepoSyncsApi* | [**RepoSyncExport**](docs/RepoSyncsApi.md#reposyncexport) | **Post** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository +*RepoSyncsApi* | [**RepoSyncImport**](docs/RepoSyncsApi.md#reposyncimport) | **Post** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository *RepoSyncsApi* | [**RepoSyncList**](docs/RepoSyncsApi.md#reposynclist) | **Get** /accounts/{account_id}/repo_syncs | Get Repo Syncs -*RepoSyncsApi* | [**RepoSyncShow**](docs/RepoSyncsApi.md#reposyncshow) | **Get** /accounts/{account_id}/repo_syncs/{repo_sync_id} | Get a single Repo Sync +*RepoSyncsApi* | [**RepoSyncShow**](docs/RepoSyncsApi.md#reposyncshow) | **Get** /accounts/{account_id}/repo_syncs/{id} | Get a single Repo Sync *ReportsApi* | [**ReportLocalesList**](docs/ReportsApi.md#reportlocaleslist) | **Get** /projects/{project_id}/report/locales | List Locale Reports *ReportsApi* | [**ReportShow**](docs/ReportsApi.md#reportshow) | **Get** /projects/{project_id}/report | Get Project Report *ScreenshotMarkersApi* | [**ScreenshotMarkerCreate**](docs/ScreenshotMarkersApi.md#screenshotmarkercreate) | **Post** /projects/{project_id}/screenshots/{screenshot_id}/markers | Create a screenshot marker diff --git a/api/openapi.yaml b/api/openapi.yaml index d62c7a9..b70a1bc 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -21626,7 +21626,7 @@ paths: --account_id abcd1234 \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}: + /accounts/{account_id}/repo_syncs/{id}: get: description: Shows a single Repo Sync setting. operationId: repo_sync/show @@ -21647,10 +21647,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -21711,7 +21711,7 @@ paths: --account_id abcd1234 \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}/export: + /accounts/{account_id}/repo_syncs/{id}/export: post: description: |- > Beta: this feature will change in the future. @@ -21738,10 +21738,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -21800,10 +21800,10 @@ paths: - lang: CLI v2 source: |- phrase repo_sync export \ - --repo_sync_id \ + --id \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}/import: + /accounts/{account_id}/repo_syncs/{id}/import: post: description: |- > Beta: this feature will change in the future. @@ -21830,10 +21830,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -21892,10 +21892,10 @@ paths: - lang: CLI v2 source: |- phrase repo_sync import \ - --repo_sync_id \ + --id \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}/events: + /accounts/{account_id}/repo_syncs/{id}/events: get: description: |- Get the history of a single Repo Sync. The history includes all imports and exports @@ -21918,10 +21918,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -21988,7 +21988,7 @@ paths: --account_id abcd1234 \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate: + /accounts/{account_id}/repo_syncs/{id}/deactivate: post: description: |- Deactivate an active Repo Sync. Import and export can't be performed on deactivated syncs @@ -22011,10 +22011,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -22073,10 +22073,10 @@ paths: - lang: CLI v2 source: |- phrase repo_sync deactivate \ - --repo_sync_id \ + --id \ --access_token x-cli-version: "2.24" - /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate: + /accounts/{account_id}/repo_syncs/{id}/activate: post: description: |- Activate a deactivated Repo Sync. Active syncs can be used to import and export translations, @@ -22099,10 +22099,10 @@ paths: schema: type: string style: simple - - description: Repo Sync ID + - description: ID explode: false in: path - name: repo_sync_id + name: id required: true schema: type: string @@ -22161,7 +22161,7 @@ paths: - lang: CLI v2 source: |- phrase repo_sync activate \ - --repo_sync_id \ + --id \ --access_token x-cli-version: "2.24" /accounts/{account_id}/spaces: @@ -28374,15 +28374,6 @@ components: schema: type: string style: form - repo_sync_id: - description: Repo Sync ID - explode: false - in: path - name: repo_sync_id - required: true - schema: - type: string - style: simple space_id: description: Space ID explode: false diff --git a/api_repo_syncs.go b/api_repo_syncs.go index b91697d..9feb1cd 100644 --- a/api_repo_syncs.go +++ b/api_repo_syncs.go @@ -28,13 +28,13 @@ RepoSyncActivate Activate a Repo Sync Activate a deactivated Repo Sync. Active syncs can be used to import and export translations, and imports to Phrase are automatically triggered by pushes to the repository, if configured. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncActivateOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return RepoSync */ -func (a *RepoSyncsApiService) RepoSyncActivate(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncActivateOpts) (RepoSync, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncActivate(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncActivateOpts) (RepoSync, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} @@ -45,10 +45,10 @@ func (a *RepoSyncsApiService) RepoSyncActivate(ctx _context.Context, accountId s ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}/activate" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}/activate" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} @@ -132,13 +132,13 @@ RepoSyncDeactivate Deactivate a Repo Sync Deactivate an active Repo Sync. Import and export can't be performed on deactivated syncs and the pushes to the repository won't trigger the import to Phrase. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncDeactivateOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return RepoSync */ -func (a *RepoSyncsApiService) RepoSyncDeactivate(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncDeactivateOpts) (RepoSync, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncDeactivate(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncDeactivateOpts) (RepoSync, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} @@ -149,10 +149,10 @@ func (a *RepoSyncsApiService) RepoSyncDeactivate(ctx _context.Context, accountId ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}/deactivate" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} @@ -236,13 +236,13 @@ RepoSyncEvents Repository Syncs History Get the history of a single Repo Sync. The history includes all imports and exports performed by the Repo Sync. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncEventsOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return []RepoSyncEvent */ -func (a *RepoSyncsApiService) RepoSyncEvents(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncEventsOpts) ([]RepoSyncEvent, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncEvents(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncEventsOpts) ([]RepoSyncEvent, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} @@ -253,10 +253,10 @@ func (a *RepoSyncsApiService) RepoSyncEvents(ctx _context.Context, accountId str ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}/events" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}/events" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} @@ -340,13 +340,13 @@ RepoSyncExport 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.* - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncExportOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return RepoSyncExport */ -func (a *RepoSyncsApiService) RepoSyncExport(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncExportOpts) (RepoSyncExport, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncExport(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncExportOpts) (RepoSyncExport, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} @@ -357,10 +357,10 @@ func (a *RepoSyncsApiService) RepoSyncExport(ctx _context.Context, accountId str ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}/export" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}/export" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} @@ -444,13 +444,13 @@ RepoSyncImport 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._ - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncImportOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return RepoSyncImport */ -func (a *RepoSyncsApiService) RepoSyncImport(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncImportOpts) (RepoSyncImport, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncImport(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncImportOpts) (RepoSyncImport, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} @@ -461,10 +461,10 @@ func (a *RepoSyncsApiService) RepoSyncImport(ctx _context.Context, accountId str ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}/import" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}/import" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} @@ -649,13 +649,13 @@ RepoSyncShow Get a single Repo Sync Shows a single Repo Sync setting. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param accountId Account ID - - @param repoSyncId Repo Sync ID + - @param id ID - @param optional nil or *RepoSyncShowOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) @return RepoSync */ -func (a *RepoSyncsApiService) RepoSyncShow(ctx _context.Context, accountId string, repoSyncId string, localVarOptionals *RepoSyncShowOpts) (RepoSync, *APIResponse, error) { +func (a *RepoSyncsApiService) RepoSyncShow(ctx _context.Context, accountId string, id string, localVarOptionals *RepoSyncShowOpts) (RepoSync, *APIResponse, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} @@ -666,10 +666,10 @@ func (a *RepoSyncsApiService) RepoSyncShow(ctx _context.Context, accountId strin ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{repo_sync_id}" + localVarPath := a.client.cfg.BasePath + "/accounts/{account_id}/repo_syncs/{id}" localVarPath = strings.Replace(localVarPath, "{"+"account_id"+"}", _neturl.QueryEscape(parameterToString(accountId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"repo_sync_id"+"}", _neturl.QueryEscape(parameterToString(repoSyncId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", _neturl.QueryEscape(parameterToString(id, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := _neturl.Values{} diff --git a/docs/RepoSyncsApi.md b/docs/RepoSyncsApi.md index 2318166..993a5fe 100644 --- a/docs/RepoSyncsApi.md +++ b/docs/RepoSyncsApi.md @@ -4,19 +4,19 @@ All URIs are relative to *https://api.phrase.com/v2* Method | HTTP request | Description ------------- | ------------- | ------------- -[**RepoSyncActivate**](RepoSyncsApi.md#RepoSyncActivate) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate | Activate a Repo Sync -[**RepoSyncDeactivate**](RepoSyncsApi.md#RepoSyncDeactivate) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate | Deactivate a Repo Sync -[**RepoSyncEvents**](RepoSyncsApi.md#RepoSyncEvents) | **Get** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events | Repository Syncs History -[**RepoSyncExport**](RepoSyncsApi.md#RepoSyncExport) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/export | Export to code repository -[**RepoSyncImport**](RepoSyncsApi.md#RepoSyncImport) | **Post** /accounts/{account_id}/repo_syncs/{repo_sync_id}/import | Import from code repository +[**RepoSyncActivate**](RepoSyncsApi.md#RepoSyncActivate) | **Post** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync +[**RepoSyncDeactivate**](RepoSyncsApi.md#RepoSyncDeactivate) | **Post** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync +[**RepoSyncEvents**](RepoSyncsApi.md#RepoSyncEvents) | **Get** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History +[**RepoSyncExport**](RepoSyncsApi.md#RepoSyncExport) | **Post** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository +[**RepoSyncImport**](RepoSyncsApi.md#RepoSyncImport) | **Post** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository [**RepoSyncList**](RepoSyncsApi.md#RepoSyncList) | **Get** /accounts/{account_id}/repo_syncs | Get Repo Syncs -[**RepoSyncShow**](RepoSyncsApi.md#RepoSyncShow) | **Get** /accounts/{account_id}/repo_syncs/{repo_sync_id} | Get a single Repo Sync +[**RepoSyncShow**](RepoSyncsApi.md#RepoSyncShow) | **Get** /accounts/{account_id}/repo_syncs/{id} | Get a single Repo Sync ## RepoSyncActivate -> RepoSync RepoSyncActivate(ctx, accountId, repoSyncId, optional) +> RepoSync RepoSyncActivate(ctx, accountId, id, optional) Activate a Repo Sync @@ -29,7 +29,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncActivateOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -63,7 +63,7 @@ Name | Type | Description | Notes ## RepoSyncDeactivate -> RepoSync RepoSyncDeactivate(ctx, accountId, repoSyncId, optional) +> RepoSync RepoSyncDeactivate(ctx, accountId, id, optional) Deactivate a Repo Sync @@ -76,7 +76,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncDeactivateOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -110,7 +110,7 @@ Name | Type | Description | Notes ## RepoSyncEvents -> []RepoSyncEvent RepoSyncEvents(ctx, accountId, repoSyncId, optional) +> []RepoSyncEvent RepoSyncEvents(ctx, accountId, id, optional) Repository Syncs History @@ -123,7 +123,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncEventsOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -157,7 +157,7 @@ Name | Type | Description | Notes ## RepoSyncExport -> RepoSyncExport RepoSyncExport(ctx, accountId, repoSyncId, optional) +> RepoSyncExport RepoSyncExport(ctx, accountId, id, optional) Export to code repository @@ -170,7 +170,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncExportOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -204,7 +204,7 @@ Name | Type | Description | Notes ## RepoSyncImport -> RepoSyncImport RepoSyncImport(ctx, accountId, repoSyncId, optional) +> RepoSyncImport RepoSyncImport(ctx, accountId, id, optional) Import from code repository @@ -217,7 +217,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncImportOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -296,7 +296,7 @@ Name | Type | Description | Notes ## RepoSyncShow -> RepoSync RepoSyncShow(ctx, accountId, repoSyncId, optional) +> RepoSync RepoSyncShow(ctx, accountId, id, optional) Get a single Repo Sync @@ -309,7 +309,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **accountId** | **string**| Account ID | -**repoSyncId** | **string**| Repo Sync ID | +**id** | **string**| ID | **optional** | ***RepoSyncShowOpts** | optional parameters | nil if no parameters ### Optional Parameters