Skip to content

Commit

Permalink
Deploying from phrase/openapi@7a1a0d91
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed May 31, 2024
1 parent c5c355f commit 2f88799
Show file tree
Hide file tree
Showing 229 changed files with 402 additions and 411 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,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
Expand Down
53 changes: 22 additions & 31 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21905,7 +21905,7 @@ paths:
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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
Expand All @@ -21926,10 +21926,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
Expand Down Expand Up @@ -21991,7 +21991,7 @@ paths:
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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.
Expand All @@ -22018,10 +22018,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
Expand Down Expand Up @@ -22080,11 +22080,11 @@ paths:
- lang: CLI v2
source: |-
phrase repo_sync export \
--repo_sync_id <repo_sync_id> \
--id <repo_sync_id> \
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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.
Expand All @@ -22111,10 +22111,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
Expand Down Expand Up @@ -22173,11 +22173,11 @@ paths:
- lang: CLI v2
source: |-
phrase repo_sync import \
--repo_sync_id <repo_sync_id> \
--id <repo_sync_id> \
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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
Expand All @@ -22200,10 +22200,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
Expand Down Expand Up @@ -22271,7 +22271,7 @@ paths:
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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
Expand All @@ -22294,10 +22294,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
Expand Down Expand Up @@ -22356,11 +22356,11 @@ paths:
- lang: CLI v2
source: |-
phrase repo_sync deactivate \
--repo_sync_id <repo_sync_id> \
--id <repo_sync_id> \
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
/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,
Expand All @@ -22383,10 +22383,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
Expand Down Expand Up @@ -22445,7 +22445,7 @@ paths:
- lang: CLI v2
source: |-
phrase repo_sync activate \
--repo_sync_id <repo_sync_id> \
--id <repo_sync_id> \
--access_token <token>
x-cli-version: "2.24"
x-accepts: application/json
Expand Down Expand Up @@ -28754,15 +28754,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
Expand Down
60 changes: 30 additions & 30 deletions docs/RepoSyncsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ 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


<a name="repoSyncActivate"></a>
# **repoSyncActivate**
> RepoSync repoSyncActivate(accountId, repoSyncId, xPhraseAppOTP)
> RepoSync repoSyncActivate(accountId, id, xPhraseAppOTP)
Activate a Repo Sync

Expand Down Expand Up @@ -48,10 +48,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
RepoSync result = apiInstance.repoSyncActivate(accountId, repoSyncId, xPhraseAppOTP);
RepoSync result = apiInstance.repoSyncActivate(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncActivate");
Expand All @@ -69,7 +69,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -95,7 +95,7 @@ Name | Type | Description | Notes

<a name="repoSyncDeactivate"></a>
# **repoSyncDeactivate**
> RepoSync repoSyncDeactivate(accountId, repoSyncId, xPhraseAppOTP)
> RepoSync repoSyncDeactivate(accountId, id, xPhraseAppOTP)
Deactivate a Repo Sync

Expand Down Expand Up @@ -128,10 +128,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
RepoSync result = apiInstance.repoSyncDeactivate(accountId, repoSyncId, xPhraseAppOTP);
RepoSync result = apiInstance.repoSyncDeactivate(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncDeactivate");
Expand All @@ -149,7 +149,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -175,7 +175,7 @@ Name | Type | Description | Notes

<a name="repoSyncEvents"></a>
# **repoSyncEvents**
> List&lt;RepoSyncEvent&gt; repoSyncEvents(accountId, repoSyncId, xPhraseAppOTP)
> List&lt;RepoSyncEvent&gt; repoSyncEvents(accountId, id, xPhraseAppOTP)
Repository Syncs History

Expand Down Expand Up @@ -208,10 +208,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
List<RepoSyncEvent> result = apiInstance.repoSyncEvents(accountId, repoSyncId, xPhraseAppOTP);
List<RepoSyncEvent> result = apiInstance.repoSyncEvents(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncEvents");
Expand All @@ -229,7 +229,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -255,7 +255,7 @@ Name | Type | Description | Notes

<a name="repoSyncExport"></a>
# **repoSyncExport**
> RepoSyncExport repoSyncExport(accountId, repoSyncId, xPhraseAppOTP)
> RepoSyncExport repoSyncExport(accountId, id, xPhraseAppOTP)
Export to code repository

Expand Down Expand Up @@ -288,10 +288,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
RepoSyncExport result = apiInstance.repoSyncExport(accountId, repoSyncId, xPhraseAppOTP);
RepoSyncExport result = apiInstance.repoSyncExport(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncExport");
Expand All @@ -309,7 +309,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -335,7 +335,7 @@ Name | Type | Description | Notes

<a name="repoSyncImport"></a>
# **repoSyncImport**
> RepoSyncImport repoSyncImport(accountId, repoSyncId, xPhraseAppOTP)
> RepoSyncImport repoSyncImport(accountId, id, xPhraseAppOTP)
Import from code repository

Expand Down Expand Up @@ -368,10 +368,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
RepoSyncImport result = apiInstance.repoSyncImport(accountId, repoSyncId, xPhraseAppOTP);
RepoSyncImport result = apiInstance.repoSyncImport(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncImport");
Expand All @@ -389,7 +389,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand Down Expand Up @@ -493,7 +493,7 @@ Name | Type | Description | Notes

<a name="repoSyncShow"></a>
# **repoSyncShow**
> RepoSync repoSyncShow(accountId, repoSyncId, xPhraseAppOTP)
> RepoSync repoSyncShow(accountId, id, xPhraseAppOTP)
Get a single Repo Sync

Expand Down Expand Up @@ -526,10 +526,10 @@ public class Example {

RepoSyncsApi apiInstance = new RepoSyncsApi(defaultClient);
String accountId = "accountId_example"; // String | Account ID
String repoSyncId = "repoSyncId_example"; // String | Repo Sync ID
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
try {
RepoSync result = apiInstance.repoSyncShow(accountId, repoSyncId, xPhraseAppOTP);
RepoSync result = apiInstance.repoSyncShow(accountId, id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepoSyncsApi#repoSyncShow");
Expand All @@ -547,7 +547,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**accountId** | **String**| Account ID |
**repoSyncId** | **String**| Repo Sync ID |
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand Down
Loading

0 comments on commit 2f88799

Please sign in to comment.