phrase 2.7.2 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +39 -13
- data/docs/BitbucketSyncApi.md +9 -9
- data/docs/BranchMergeParameters.md +2 -2
- data/docs/GitHubSyncApi.md +8 -8
- data/docs/GitLabSyncApi.md +8 -8
- data/docs/LocaleCreateParameters.md +3 -3
- data/docs/LocaleUpdateParameters.md +3 -3
- data/docs/LocalesApi.md +4 -4
- data/docs/ProjectCreateParameters.md +4 -4
- data/docs/ProjectUpdateParameters.md +4 -4
- data/docs/TeamsApi.md +3 -3
- data/docs/TranslationCreateParameters.md +1 -1
- data/docs/TranslationUpdateParameters.md +1 -1
- data/docs/WebhookDeliveriesApi.md +206 -0
- data/docs/WebhookDelivery.md +29 -0
- data/lib/phrase/api/bitbucket_sync_api.rb +10 -10
- data/lib/phrase/api/git_hub_sync_api.rb +8 -8
- data/lib/phrase/api/git_lab_sync_api.rb +10 -10
- data/lib/phrase/api/locales_api.rb +4 -4
- data/lib/phrase/api/teams_api.rb +3 -3
- data/lib/phrase/api/webhook_deliveries_api.rb +241 -0
- data/lib/phrase/models/branch_merge_parameters.rb +1 -1
- data/lib/phrase/models/locale_create_parameters.rb +3 -3
- data/lib/phrase/models/locale_update_parameters.rb +3 -3
- data/lib/phrase/models/project_create_parameters.rb +4 -4
- data/lib/phrase/models/project_update_parameters.rb +4 -4
- data/lib/phrase/models/translation_create_parameters.rb +1 -1
- data/lib/phrase/models/translation_update_parameters.rb +1 -1
- data/lib/phrase/models/webhook_delivery.rb +248 -0
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +2 -0
- data/phrase.gemspec +2 -2
- data/spec/api/bitbucket_sync_api_spec.rb +5 -5
- data/spec/api/git_hub_sync_api_spec.rb +4 -4
- data/spec/api/git_lab_sync_api_spec.rb +5 -5
- data/spec/api/locales_api_spec.rb +2 -2
- data/spec/api/webhook_deliveries_api_spec.rb +68 -0
- data/spec/models/webhook_delivery_spec.rb +65 -0
- metadata +212 -204
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a2d7195769cd8db27e3e34b4fc87bc80b359a1db5ef7c3257ddbe6d88950d80
|
4
|
+
data.tar.gz: d4980333222dba6fb7c8a75a6d33eba235e2331ce680f4f1a31e59e27d4167f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60e9877e7ad87077a0bf6f05b0d94c086b5f32ed06141e19c0a6f32f3c954e1660fd21be284f26f3e36e5a2f11cb05673642bbfb96fdb6d5aa6e666811d06e0c
|
7
|
+
data.tar.gz: a0d452271b834e34764f8505bb2bec988e977a653d39fb36090517f38134eebd022576e0f078100a2c99f25b7e8b8afaf35b582c2116c9fc1870489e8d8dd8a0
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# phrase
|
2
2
|
|
3
|
-
Phrase - the Ruby gem for the Phrase API Reference
|
3
|
+
Phrase - the Ruby gem for the Phrase Strings API Reference
|
4
4
|
|
5
|
-
Phrase is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase for your account.
|
5
|
+
Phrase Strings is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase Strings for your account.
|
6
6
|
|
7
7
|
## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.8.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
|
13
13
|
|
@@ -56,10 +56,10 @@ gem build phrase.gemspec
|
|
56
56
|
Then install the gem locally:
|
57
57
|
|
58
58
|
```shell
|
59
|
-
gem install ./phrase-2.
|
59
|
+
gem install ./phrase-2.8.1.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-2.
|
62
|
+
(for development, run `gem install --dev ./phrase-2.8.1.gem` to install the development dependencies)
|
63
63
|
|
64
64
|
## Getting Started
|
65
65
|
|
@@ -98,6 +98,28 @@ end
|
|
98
98
|
|
99
99
|
```
|
100
100
|
|
101
|
+
## Datacenters
|
102
|
+
|
103
|
+
The API is only accessible via HTTPS and the current version is <code>v2</code>, which results in a base URL like: <code>https://api.phrase.com/v2</code> depending on the datacenter.
|
104
|
+
|
105
|
+
### EU Datacenter
|
106
|
+
```
|
107
|
+
https://api.phrase.com/v2
|
108
|
+
```
|
109
|
+
|
110
|
+
This is the default datacenter.
|
111
|
+
|
112
|
+
### US Datacenter
|
113
|
+
```
|
114
|
+
https://api.us.app.phrase.com/v2/
|
115
|
+
```
|
116
|
+
|
117
|
+
### Specifying US Datacenter
|
118
|
+
You can use the US datacenter by setting the following:
|
119
|
+
```
|
120
|
+
config.host = "api.us.app.phrase.com"
|
121
|
+
```
|
122
|
+
|
101
123
|
## Get help / support
|
102
124
|
|
103
125
|
Please contact [support@phrase.com](mailto:support@phrase.com?subject=[GitHub]%20phrase-go) and we can take more direct action toward finding a solution.
|
@@ -115,8 +137,8 @@ Class | Method | HTTP request | Description
|
|
115
137
|
*Phrase::AuthorizationsApi* | [**authorization_show**](docs/AuthorizationsApi.md#authorization_show) | **GET** /authorizations/{id} | Get a single authorization
|
116
138
|
*Phrase::AuthorizationsApi* | [**authorization_update**](docs/AuthorizationsApi.md#authorization_update) | **PATCH** /authorizations/{id} | Update an authorization
|
117
139
|
*Phrase::AuthorizationsApi* | [**authorizations_list**](docs/AuthorizationsApi.md#authorizations_list) | **GET** /authorizations | List authorizations
|
118
|
-
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_export**](docs/BitbucketSyncApi.md#bitbucket_sync_export) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase to Bitbucket
|
119
|
-
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_import**](docs/BitbucketSyncApi.md#bitbucket_sync_import) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase from Bitbucket
|
140
|
+
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_export**](docs/BitbucketSyncApi.md#bitbucket_sync_export) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase Strings to Bitbucket
|
141
|
+
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_import**](docs/BitbucketSyncApi.md#bitbucket_sync_import) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase Strings from Bitbucket
|
120
142
|
*Phrase::BitbucketSyncApi* | [**bitbucket_syncs_list**](docs/BitbucketSyncApi.md#bitbucket_syncs_list) | **GET** /bitbucket_syncs | List Bitbucket syncs
|
121
143
|
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_create**](docs/BlacklistedKeysApi.md#blacklisted_key_create) | **POST** /projects/{project_id}/blacklisted_keys | Create a blocked key
|
122
144
|
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_delete**](docs/BlacklistedKeysApi.md#blacklisted_key_delete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a blocked key
|
@@ -146,10 +168,10 @@ Class | Method | HTTP request | Description
|
|
146
168
|
*Phrase::DocumentsApi* | [**document_delete**](docs/DocumentsApi.md#document_delete) | **DELETE** /projects/{project_id}/documents/{id} | Delete document
|
147
169
|
*Phrase::DocumentsApi* | [**documents_list**](docs/DocumentsApi.md#documents_list) | **GET** /projects/{project_id}/documents | List documents
|
148
170
|
*Phrase::FormatsApi* | [**formats_list**](docs/FormatsApi.md#formats_list) | **GET** /formats | List formats
|
149
|
-
*Phrase::GitHubSyncApi* | [**github_sync_export**](docs/GitHubSyncApi.md#github_sync_export) | **POST** /github_syncs/export | Export from Phrase to GitHub
|
150
|
-
*Phrase::GitHubSyncApi* | [**github_sync_import**](docs/GitHubSyncApi.md#github_sync_import) | **POST** /github_syncs/import | Import to Phrase from GitHub
|
171
|
+
*Phrase::GitHubSyncApi* | [**github_sync_export**](docs/GitHubSyncApi.md#github_sync_export) | **POST** /github_syncs/export | Export from Phrase Strings to GitHub
|
172
|
+
*Phrase::GitHubSyncApi* | [**github_sync_import**](docs/GitHubSyncApi.md#github_sync_import) | **POST** /github_syncs/import | Import to Phrase Strings from GitHub
|
151
173
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_delete**](docs/GitLabSyncApi.md#gitlab_sync_delete) | **DELETE** /gitlab_syncs/{id} | Delete single Sync Setting
|
152
|
-
*Phrase::GitLabSyncApi* | [**gitlab_sync_export**](docs/GitLabSyncApi.md#gitlab_sync_export) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase to GitLab
|
174
|
+
*Phrase::GitLabSyncApi* | [**gitlab_sync_export**](docs/GitLabSyncApi.md#gitlab_sync_export) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase Strings to GitLab
|
153
175
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_history**](docs/GitLabSyncApi.md#gitlab_sync_history) | **GET** /gitlab_syncs/{gitlab_sync_id}/history | History of single Sync Setting
|
154
176
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_import**](docs/GitLabSyncApi.md#gitlab_sync_import) | **POST** /gitlab_syncs/{gitlab_sync_id}/import | Import from GitLab to Phrase
|
155
177
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_list**](docs/GitLabSyncApi.md#gitlab_sync_list) | **GET** /gitlab_syncs | List GitLab syncs
|
@@ -286,9 +308,9 @@ Class | Method | HTTP request | Description
|
|
286
308
|
*Phrase::TagsApi* | [**tag_show**](docs/TagsApi.md#tag_show) | **GET** /projects/{project_id}/tags/{name} | Get a single tag
|
287
309
|
*Phrase::TagsApi* | [**tags_list**](docs/TagsApi.md#tags_list) | **GET** /projects/{project_id}/tags | List tags
|
288
310
|
*Phrase::TeamsApi* | [**team_create**](docs/TeamsApi.md#team_create) | **POST** /accounts/{account_id}/teams | Create a Team
|
289
|
-
*Phrase::TeamsApi* | [**team_delete**](docs/TeamsApi.md#team_delete) | **DELETE** /accounts/{account_id}/teams/{
|
290
|
-
*Phrase::TeamsApi* | [**team_show**](docs/TeamsApi.md#team_show) | **GET** /accounts/{account_id}/teams/{
|
291
|
-
*Phrase::TeamsApi* | [**team_update**](docs/TeamsApi.md#team_update) | **PATCH** /accounts/{account_id}/teams/{
|
311
|
+
*Phrase::TeamsApi* | [**team_delete**](docs/TeamsApi.md#team_delete) | **DELETE** /accounts/{account_id}/teams/{id} | Delete Team
|
312
|
+
*Phrase::TeamsApi* | [**team_show**](docs/TeamsApi.md#team_show) | **GET** /accounts/{account_id}/teams/{id} | Get Team
|
313
|
+
*Phrase::TeamsApi* | [**team_update**](docs/TeamsApi.md#team_update) | **PATCH** /accounts/{account_id}/teams/{id} | Update Team
|
292
314
|
*Phrase::TeamsApi* | [**teams_list**](docs/TeamsApi.md#teams_list) | **GET** /accounts/{account_id}/teams | List Teams
|
293
315
|
*Phrase::TeamsApi* | [**teams_projects_create**](docs/TeamsApi.md#teams_projects_create) | **POST** /accounts/{account_id}/teams/{team_id}/projects | Add Project
|
294
316
|
*Phrase::TeamsApi* | [**teams_projects_delete**](docs/TeamsApi.md#teams_projects_delete) | **DELETE** /accounts/{account_id}/teams/{team_id}/projects/{id} | Remove Project
|
@@ -324,6 +346,9 @@ Class | Method | HTTP request | Description
|
|
324
346
|
*Phrase::VariablesApi* | [**variables_list**](docs/VariablesApi.md#variables_list) | **GET** /projects/{project_id}/variables | List variables
|
325
347
|
*Phrase::VersionsHistoryApi* | [**version_show**](docs/VersionsHistoryApi.md#version_show) | **GET** /projects/{project_id}/translations/{translation_id}/versions/{id} | Get a single version
|
326
348
|
*Phrase::VersionsHistoryApi* | [**versions_list**](docs/VersionsHistoryApi.md#versions_list) | **GET** /projects/{project_id}/translations/{translation_id}/versions | List all versions
|
349
|
+
*Phrase::WebhookDeliveriesApi* | [**webhook_deliveries_list**](docs/WebhookDeliveriesApi.md#webhook_deliveries_list) | **GET** /projects/{project_id}/webhooks/{webhook_id}/deliveries | List webhook deliveries
|
350
|
+
*Phrase::WebhookDeliveriesApi* | [**webhook_deliveries_redeliver**](docs/WebhookDeliveriesApi.md#webhook_deliveries_redeliver) | **POST** /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id}/redeliver | Redeliver a single webhook delivery
|
351
|
+
*Phrase::WebhookDeliveriesApi* | [**webhook_deliveries_show**](docs/WebhookDeliveriesApi.md#webhook_deliveries_show) | **GET** /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id} | Get a single webhook delivery
|
327
352
|
*Phrase::WebhooksApi* | [**webhook_create**](docs/WebhooksApi.md#webhook_create) | **POST** /projects/{project_id}/webhooks | Create a webhook
|
328
353
|
*Phrase::WebhooksApi* | [**webhook_delete**](docs/WebhooksApi.md#webhook_delete) | **DELETE** /projects/{project_id}/webhooks/{id} | Delete a webhook
|
329
354
|
*Phrase::WebhooksApi* | [**webhook_show**](docs/WebhooksApi.md#webhook_show) | **GET** /projects/{project_id}/webhooks/{id} | Get a single webhook
|
@@ -525,6 +550,7 @@ Class | Method | HTTP request | Description
|
|
525
550
|
- [Phrase::VariableUpdateParameters](docs/VariableUpdateParameters.md)
|
526
551
|
- [Phrase::Webhook](docs/Webhook.md)
|
527
552
|
- [Phrase::WebhookCreateParameters](docs/WebhookCreateParameters.md)
|
553
|
+
- [Phrase::WebhookDelivery](docs/WebhookDelivery.md)
|
528
554
|
- [Phrase::WebhookUpdateParameters](docs/WebhookUpdateParameters.md)
|
529
555
|
|
530
556
|
|
data/docs/BitbucketSyncApi.md
CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**bitbucket_sync_export**](BitbucketSyncApi.md#bitbucket_sync_export) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase to Bitbucket
|
8
|
-
[**bitbucket_sync_import**](BitbucketSyncApi.md#bitbucket_sync_import) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase from Bitbucket
|
7
|
+
[**bitbucket_sync_export**](BitbucketSyncApi.md#bitbucket_sync_export) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase Strings to Bitbucket
|
8
|
+
[**bitbucket_sync_import**](BitbucketSyncApi.md#bitbucket_sync_import) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase Strings from Bitbucket
|
9
9
|
[**bitbucket_syncs_list**](BitbucketSyncApi.md#bitbucket_syncs_list) | **GET** /bitbucket_syncs | List Bitbucket syncs
|
10
10
|
|
11
11
|
|
@@ -14,9 +14,9 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
> BitbucketSyncExportResponse bitbucket_sync_export(id, bitbucket_sync_export_parameters, opts)
|
16
16
|
|
17
|
-
Export from Phrase to Bitbucket
|
17
|
+
Export from Phrase Strings to Bitbucket
|
18
18
|
|
19
|
-
Export translations from Phrase to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
|
19
|
+
Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -42,7 +42,7 @@ opts = {
|
|
42
42
|
}
|
43
43
|
|
44
44
|
begin
|
45
|
-
#Export from Phrase to Bitbucket
|
45
|
+
#Export from Phrase Strings to Bitbucket
|
46
46
|
result = api_instance.bitbucket_sync_export(id, bitbucket_sync_export_parameters, opts)
|
47
47
|
pp result
|
48
48
|
rescue Phrase::ApiError => e
|
@@ -77,9 +77,9 @@ Response<([**BitbucketSyncExportResponse**](BitbucketSyncExportResponse.md))>
|
|
77
77
|
|
78
78
|
> bitbucket_sync_import(id, bitbucket_sync_import_parameters, opts)
|
79
79
|
|
80
|
-
Import to Phrase from Bitbucket
|
80
|
+
Import to Phrase Strings from Bitbucket
|
81
81
|
|
82
|
-
Import translations from Bitbucket to Phrase according to the .phraseapp.yml file within the Bitbucket repository.
|
82
|
+
Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
|
83
83
|
|
84
84
|
### Example
|
85
85
|
|
@@ -105,7 +105,7 @@ opts = {
|
|
105
105
|
}
|
106
106
|
|
107
107
|
begin
|
108
|
-
#Import to Phrase from Bitbucket
|
108
|
+
#Import to Phrase Strings from Bitbucket
|
109
109
|
api_instance.bitbucket_sync_import(id, bitbucket_sync_import_parameters, opts)
|
110
110
|
rescue Phrase::ApiError => e
|
111
111
|
puts "Exception when calling BitbucketSyncApi->bitbucket_sync_import: #{e}"
|
@@ -141,7 +141,7 @@ Response<(nil (empty response body))>
|
|
141
141
|
|
142
142
|
List Bitbucket syncs
|
143
143
|
|
144
|
-
List all Bitbucket repositories for which synchronisation with Phrase is activated.
|
144
|
+
List all Bitbucket repositories for which synchronisation with Phrase Strings is activated.
|
145
145
|
|
146
146
|
### Example
|
147
147
|
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**strategy** | **String** | strategy used for merge blocking,
|
7
|
+
**strategy** | **String** | strategy used for merge blocking, use_main or use_branch | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
require 'Phrase'
|
13
13
|
|
14
|
-
instance = Phrase::BranchMergeParameters.new(strategy:
|
14
|
+
instance = Phrase::BranchMergeParameters.new(strategy: use_main)
|
15
15
|
```
|
16
16
|
|
17
17
|
|
data/docs/GitHubSyncApi.md
CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**github_sync_export**](GitHubSyncApi.md#github_sync_export) | **POST** /github_syncs/export | Export from Phrase to GitHub
|
8
|
-
[**github_sync_import**](GitHubSyncApi.md#github_sync_import) | **POST** /github_syncs/import | Import to Phrase from GitHub
|
7
|
+
[**github_sync_export**](GitHubSyncApi.md#github_sync_export) | **POST** /github_syncs/export | Export from Phrase Strings to GitHub
|
8
|
+
[**github_sync_import**](GitHubSyncApi.md#github_sync_import) | **POST** /github_syncs/import | Import to Phrase Strings from GitHub
|
9
9
|
|
10
10
|
|
11
11
|
|
@@ -13,9 +13,9 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
> github_sync_export(github_sync_export_parameters, opts)
|
15
15
|
|
16
|
-
Export from Phrase to GitHub
|
16
|
+
Export from Phrase Strings to GitHub
|
17
17
|
|
18
|
-
Export translations from Phrase to GitHub according to the .phraseapp.yml file within the GitHub repository.
|
18
|
+
Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository.
|
19
19
|
|
20
20
|
### Example
|
21
21
|
|
@@ -40,7 +40,7 @@ opts = {
|
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
43
|
-
#Export from Phrase to GitHub
|
43
|
+
#Export from Phrase Strings to GitHub
|
44
44
|
api_instance.github_sync_export(github_sync_export_parameters, opts)
|
45
45
|
rescue Phrase::ApiError => e
|
46
46
|
puts "Exception when calling GitHubSyncApi->github_sync_export: #{e}"
|
@@ -73,9 +73,9 @@ Response<(nil (empty response body))>
|
|
73
73
|
|
74
74
|
> github_sync_import(github_sync_import_parameters, opts)
|
75
75
|
|
76
|
-
Import to Phrase from GitHub
|
76
|
+
Import to Phrase Strings from GitHub
|
77
77
|
|
78
|
-
Import files to Phrase from your connected GitHub repository.
|
78
|
+
Import files to Phrase Strings from your connected GitHub repository.
|
79
79
|
|
80
80
|
### Example
|
81
81
|
|
@@ -100,7 +100,7 @@ opts = {
|
|
100
100
|
}
|
101
101
|
|
102
102
|
begin
|
103
|
-
#Import to Phrase from GitHub
|
103
|
+
#Import to Phrase Strings from GitHub
|
104
104
|
api_instance.github_sync_import(github_sync_import_parameters, opts)
|
105
105
|
rescue Phrase::ApiError => e
|
106
106
|
puts "Exception when calling GitHubSyncApi->github_sync_import: #{e}"
|
data/docs/GitLabSyncApi.md
CHANGED
@@ -5,7 +5,7 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**gitlab_sync_delete**](GitLabSyncApi.md#gitlab_sync_delete) | **DELETE** /gitlab_syncs/{id} | Delete single Sync Setting
|
8
|
-
[**gitlab_sync_export**](GitLabSyncApi.md#gitlab_sync_export) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase to GitLab
|
8
|
+
[**gitlab_sync_export**](GitLabSyncApi.md#gitlab_sync_export) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase Strings to GitLab
|
9
9
|
[**gitlab_sync_history**](GitLabSyncApi.md#gitlab_sync_history) | **GET** /gitlab_syncs/{gitlab_sync_id}/history | History of single Sync Setting
|
10
10
|
[**gitlab_sync_import**](GitLabSyncApi.md#gitlab_sync_import) | **POST** /gitlab_syncs/{gitlab_sync_id}/import | Import from GitLab to Phrase
|
11
11
|
[**gitlab_sync_list**](GitLabSyncApi.md#gitlab_sync_list) | **GET** /gitlab_syncs | List GitLab syncs
|
@@ -80,9 +80,9 @@ Response<(nil (empty response body))>
|
|
80
80
|
|
81
81
|
> GitlabSyncExport gitlab_sync_export(gitlab_sync_id, gitlab_sync_export_parameters, opts)
|
82
82
|
|
83
|
-
Export from Phrase to GitLab
|
83
|
+
Export from Phrase Strings to GitLab
|
84
84
|
|
85
|
-
Export translations from Phrase to GitLab according to the .phraseapp.yml file within the GitLab repository.
|
85
|
+
Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository.
|
86
86
|
|
87
87
|
### Example
|
88
88
|
|
@@ -108,7 +108,7 @@ opts = {
|
|
108
108
|
}
|
109
109
|
|
110
110
|
begin
|
111
|
-
#Export from Phrase to GitLab
|
111
|
+
#Export from Phrase Strings to GitLab
|
112
112
|
result = api_instance.gitlab_sync_export(gitlab_sync_id, gitlab_sync_export_parameters, opts)
|
113
113
|
pp result
|
114
114
|
rescue Phrase::ApiError => e
|
@@ -212,7 +212,7 @@ Response<([**Array<GitlabSyncHistory>**](GitlabSyncHistory.md))>
|
|
212
212
|
|
213
213
|
Import from GitLab to Phrase
|
214
214
|
|
215
|
-
Import translations from GitLab to Phrase according to the .phraseapp.yml file within the GitLab repository.
|
215
|
+
Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository.
|
216
216
|
|
217
217
|
### Example
|
218
218
|
|
@@ -275,7 +275,7 @@ Response<([**Array<Upload>**](Upload.md))>
|
|
275
275
|
|
276
276
|
List GitLab syncs
|
277
277
|
|
278
|
-
List all GitLab Sync Settings for which synchronisation with Phrase and GitLab is activated.
|
278
|
+
List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated.
|
279
279
|
|
280
280
|
### Example
|
281
281
|
|
@@ -422,7 +422,7 @@ id = 'id_example' # String | ID
|
|
422
422
|
opts = {
|
423
423
|
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
|
424
424
|
account_id: 'abcd1234', # String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts.
|
425
|
-
phrase_project_code: '3456abcd', # String | Code of the related Phrase Project.
|
425
|
+
phrase_project_code: '3456abcd', # String | Code of the related Phrase Strings Project.
|
426
426
|
gitlab_project_id: 12345, # Integer | ID of the related GitLab Project.
|
427
427
|
gitlab_branch_name: 'feature-development' # String | Name of the GitLab Branch.
|
428
428
|
}
|
@@ -444,7 +444,7 @@ Name | Type | Description | Notes
|
|
444
444
|
**id** | **String**| ID |
|
445
445
|
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
446
446
|
**account_id** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional]
|
447
|
-
**phrase_project_code** | **String**| Code of the related Phrase Project. | [optional]
|
447
|
+
**phrase_project_code** | **String**| Code of the related Phrase Strings Project. | [optional]
|
448
448
|
**gitlab_project_id** | **Integer**| ID of the related GitLab Project. | [optional]
|
449
449
|
**gitlab_branch_name** | **String**| Name of the GitLab Branch. | [optional]
|
450
450
|
|
@@ -8,12 +8,12 @@ Name | Type | Description | Notes
|
|
8
8
|
**name** | **String** | Locale name | [optional]
|
9
9
|
**code** | **String** | Locale ISO code | [optional]
|
10
10
|
**default** | **Boolean** | Indicates whether locale is the default locale. If set to true, the previous default locale the project is no longer the default locale. | [optional]
|
11
|
-
**main** | **Boolean** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://
|
11
|
+
**main** | **Boolean** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Verification System</a> feature. | [optional]
|
12
12
|
**rtl** | **Boolean** | Indicates whether locale is a RTL (Right-to-Left) locale. | [optional]
|
13
13
|
**source_locale_id** | **String** | Source locale. Can be the name or public id of the locale. Preferred is the public id. | [optional]
|
14
14
|
**fallback_locale_id** | **String** | Fallback locale for empty translations. Can be a locale name or id. | [optional]
|
15
|
-
**unverify_new_translations** | **Boolean** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://
|
16
|
-
**unverify_updated_translations** | **Boolean** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://
|
15
|
+
**unverify_new_translations** | **Boolean** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
16
|
+
**unverify_updated_translations** | **Boolean** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
17
17
|
**autotranslate** | **Boolean** | If set, translations for this locale will be fetched automatically, right after creation. | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
@@ -8,12 +8,12 @@ Name | Type | Description | Notes
|
|
8
8
|
**name** | **String** | Locale name | [optional]
|
9
9
|
**code** | **String** | Locale ISO code | [optional]
|
10
10
|
**default** | **Boolean** | Indicates whether locale is the default locale. If set to true, the previous default locale the project is no longer the default locale. | [optional]
|
11
|
-
**main** | **Boolean** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://
|
11
|
+
**main** | **Boolean** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Verification System</a> feature. | [optional]
|
12
12
|
**rtl** | **Boolean** | Indicates whether locale is a RTL (Right-to-Left) locale. | [optional]
|
13
13
|
**source_locale_id** | **String** | Source locale. Can be the name or public id of the locale. Preferred is the public id. | [optional]
|
14
14
|
**fallback_locale_id** | **String** | Fallback locale for empty translations. Can be a locale name or id. | [optional]
|
15
|
-
**unverify_new_translations** | **Boolean** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://
|
16
|
-
**unverify_updated_translations** | **Boolean** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://
|
15
|
+
**unverify_new_translations** | **Boolean** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
16
|
+
**unverify_updated_translations** | **Boolean** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
17
17
|
**autotranslate** | **Boolean** | If set, translations for this locale will be fetched automatically, right after creation. | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
data/docs/LocalesApi.md
CHANGED
@@ -236,7 +236,7 @@ id = 'id_example' # String | ID
|
|
236
236
|
opts = {
|
237
237
|
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
|
238
238
|
branch: 'my-feature-branch', # String | specify the branch to use
|
239
|
-
file_format: 'yml', # String | File format name. See the <a href=\"https://
|
239
|
+
file_format: 'yml', # String | File format name. See the <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">format guide</a> for all supported file formats.
|
240
240
|
tags: 'feature1,feature2', # String | Limit results to keys tagged with a list of comma separated tag names.
|
241
241
|
tag: 'feature', # String | Limit download to tagged keys. This parameter is deprecated. Please use the \"tags\" parameter instead
|
242
242
|
include_empty_translations: true, # Boolean | Indicates whether keys without translations should be included in the output as well.
|
@@ -244,7 +244,7 @@ opts = {
|
|
244
244
|
include_translated_keys: true, # Boolean | Include translated keys in the locale file. Use in combination with include_empty_translations to obtain only untranslated keys.
|
245
245
|
keep_notranslate_tags: true, # Boolean | Indicates whether [NOTRANSLATE] tags should be kept.
|
246
246
|
convert_emoji: true, # Boolean | This option is obsolete. Projects that were created on or after Nov 29th 2019 or that did not contain emoji by then will not require this flag any longer since emoji are now supported natively.
|
247
|
-
format_options: nil, # Object | Additional formatting and render options. See the <a href=\"https://
|
247
|
+
format_options: nil, # Object | Additional formatting and render options. See the <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">format guide</a> for a list of options available for each format. Specify format options like this: <code>...&format_options[foo]=bar</code>
|
248
248
|
encoding: 'encoding_example', # String | Enforces a specific encoding on the file contents. Valid options are \"UTF-8\", \"UTF-16\" and \"ISO-8859-1\".
|
249
249
|
skip_unverified_translations: true, # Boolean | Indicates whether the locale file should skip all unverified translations. This parameter is deprecated and should be replaced with <code>include_unverified_translations</code>.
|
250
250
|
include_unverified_translations: true, # Boolean | if set to false unverified translations are excluded
|
@@ -271,7 +271,7 @@ Name | Type | Description | Notes
|
|
271
271
|
**id** | **String**| ID |
|
272
272
|
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
273
273
|
**branch** | **String**| specify the branch to use | [optional]
|
274
|
-
**file_format** | **String**| File format name. See the <a href=\"https://
|
274
|
+
**file_format** | **String**| File format name. See the <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">format guide</a> for all supported file formats. | [optional]
|
275
275
|
**tags** | **String**| Limit results to keys tagged with a list of comma separated tag names. | [optional]
|
276
276
|
**tag** | **String**| Limit download to tagged keys. This parameter is deprecated. Please use the \"tags\" parameter instead | [optional]
|
277
277
|
**include_empty_translations** | **Boolean**| Indicates whether keys without translations should be included in the output as well. | [optional]
|
@@ -279,7 +279,7 @@ Name | Type | Description | Notes
|
|
279
279
|
**include_translated_keys** | **Boolean**| Include translated keys in the locale file. Use in combination with include_empty_translations to obtain only untranslated keys. | [optional]
|
280
280
|
**keep_notranslate_tags** | **Boolean**| Indicates whether [NOTRANSLATE] tags should be kept. | [optional]
|
281
281
|
**convert_emoji** | **Boolean**| This option is obsolete. Projects that were created on or after Nov 29th 2019 or that did not contain emoji by then will not require this flag any longer since emoji are now supported natively. | [optional]
|
282
|
-
**format_options** | [**Object**](.md)| Additional formatting and render options. See the <a href=\"https://
|
282
|
+
**format_options** | [**Object**](.md)| Additional formatting and render options. See the <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">format guide</a> for a list of options available for each format. Specify format options like this: <code>...&format_options[foo]=bar</code> | [optional]
|
283
283
|
**encoding** | **String**| Enforces a specific encoding on the file contents. Valid options are \"UTF-8\", \"UTF-16\" and \"ISO-8859-1\". | [optional]
|
284
284
|
**skip_unverified_translations** | **Boolean**| Indicates whether the locale file should skip all unverified translations. This parameter is deprecated and should be replaced with <code>include_unverified_translations</code>. | [optional]
|
285
285
|
**include_unverified_translations** | **Boolean**| if set to false unverified translations are excluded | [optional]
|
@@ -5,20 +5,20 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | Name of the project | [optional]
|
8
|
-
**main_format** | **String** | Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://
|
8
|
+
**main_format** | **String** | Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>. | [optional]
|
9
9
|
**shares_translation_memory** | **Boolean** | Indicates whether the project should share the account's translation memory | [optional]
|
10
10
|
**project_image** | **File** | Image to identify the project | [optional]
|
11
11
|
**remove_project_image** | **Boolean** | Indicates whether the project image should be deleted. | [optional]
|
12
12
|
**account_id** | **String** | Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. | [optional]
|
13
13
|
**source_project_id** | **String** | When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params. | [optional]
|
14
|
-
**workflow** | **String** | (Optional) Review Workflow. \"simple\" / \"review\". <a href=\"https://
|
14
|
+
**workflow** | **String** | (Optional) Review Workflow. \"simple\" / \"review\". <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\">Read more</a> | [optional]
|
15
15
|
**machine_translation_enabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest | [optional]
|
16
16
|
**enable_branching** | **Boolean** | (Optional) Enable branching in the project | [optional]
|
17
17
|
**protect_master_branch** | **Boolean** | (Optional) Protect the master branch in project where branching is enabled | [optional]
|
18
18
|
**enable_all_data_type_translation_keys_for_translators** | **Boolean** | (Optional) Otherwise, translators are not allowed to edit translations other than strings | [optional]
|
19
|
-
**enable_icu_message_format** | **Boolean** | (Optional) We can validate and highlight your ICU messages. <a href=\"https://
|
19
|
+
**enable_icu_message_format** | **Boolean** | (Optional) We can validate and highlight your ICU messages. <a href=\"https://support.phrase.com/hc/en-us/articles/5822319545116\">Read more</a> | [optional]
|
20
20
|
**zero_plural_form_enabled** | **Boolean** | (Optional) Displays the input fields for the 'ZERO' plural form for every key as well although only some languages require the 'ZERO' explicitly. | [optional]
|
21
|
-
**autotranslate_enabled** | **Boolean** | (Optional) Autopilot, requires machine_translation_enabled. <a href=\"https://
|
21
|
+
**autotranslate_enabled** | **Boolean** | (Optional) Autopilot, requires machine_translation_enabled. <a href=\"https://support.phrase.com/hc/en-us/articles/5822187934364\">Read more</a> | [optional]
|
22
22
|
**autotranslate_check_new_translation_keys** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
23
23
|
**autotranslate_check_new_uploads** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
24
24
|
**autotranslate_check_new_locales** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
@@ -6,18 +6,18 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**account_id** | **String** | Required if the requesting user is a member of multiple accounts. Account ID to specify the actual account the project should be created in. | [optional]
|
8
8
|
**name** | **String** | (Optional) Name of the project | [optional]
|
9
|
-
**main_format** | **String** | (Optional) Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://
|
9
|
+
**main_format** | **String** | (Optional) Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://support.phrase.com/hc/en-us/articles/5784070560412\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>. | [optional]
|
10
10
|
**shares_translation_memory** | **Boolean** | (Optional) Indicates whether the project should share the account's translation memory | [optional]
|
11
11
|
**project_image** | **File** | (Optional) Image to identify the project | [optional]
|
12
12
|
**remove_project_image** | **Boolean** | (Optional) Indicates whether the project image should be deleted. | [optional]
|
13
|
-
**workflow** | **String** | (Optional) Review Workflow. \"simple\" / \"review\". <a href=\"https://
|
13
|
+
**workflow** | **String** | (Optional) Review Workflow. \"simple\" / \"review\". <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\">Read more</a> | [optional]
|
14
14
|
**machine_translation_enabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest | [optional]
|
15
15
|
**enable_branching** | **Boolean** | (Optional) Enable branching in the project | [optional]
|
16
16
|
**protect_master_branch** | **Boolean** | (Optional) Protect the master branch in project where branching is enabled | [optional]
|
17
17
|
**enable_all_data_type_translation_keys_for_translators** | **Boolean** | (Optional) Otherwise, translators are not allowed to edit translations other than strings | [optional]
|
18
|
-
**enable_icu_message_format** | **Boolean** | (Optional) We can validate and highlight your ICU messages. <a href=\"https://
|
18
|
+
**enable_icu_message_format** | **Boolean** | (Optional) We can validate and highlight your ICU messages. <a href=\"https://support.phrase.com/hc/en-us/articles/5822319545116\">Read more</a> | [optional]
|
19
19
|
**zero_plural_form_enabled** | **Boolean** | (Optional) Displays the input fields for the 'ZERO' plural form for every key as well although only some languages require the 'ZERO' explicitly. | [optional]
|
20
|
-
**autotranslate_enabled** | **Boolean** | (Optional) Autopilot, requires machine_translation_enabled. <a href=\"https://
|
20
|
+
**autotranslate_enabled** | **Boolean** | (Optional) Autopilot, requires machine_translation_enabled. <a href=\"https://support.phrase.com/hc/en-us/articles/5822187934364\">Read more</a> | [optional]
|
21
21
|
**autotranslate_check_new_translation_keys** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
22
22
|
**autotranslate_check_new_uploads** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
23
23
|
**autotranslate_check_new_locales** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
data/docs/TeamsApi.md
CHANGED
@@ -5,9 +5,9 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**team_create**](TeamsApi.md#team_create) | **POST** /accounts/{account_id}/teams | Create a Team
|
8
|
-
[**team_delete**](TeamsApi.md#team_delete) | **DELETE** /accounts/{account_id}/teams/{
|
9
|
-
[**team_show**](TeamsApi.md#team_show) | **GET** /accounts/{account_id}/teams/{
|
10
|
-
[**team_update**](TeamsApi.md#team_update) | **PATCH** /accounts/{account_id}/teams/{
|
8
|
+
[**team_delete**](TeamsApi.md#team_delete) | **DELETE** /accounts/{account_id}/teams/{id} | Delete Team
|
9
|
+
[**team_show**](TeamsApi.md#team_show) | **GET** /accounts/{account_id}/teams/{id} | Get Team
|
10
|
+
[**team_update**](TeamsApi.md#team_update) | **PATCH** /accounts/{account_id}/teams/{id} | Update Team
|
11
11
|
[**teams_list**](TeamsApi.md#teams_list) | **GET** /accounts/{account_id}/teams | List Teams
|
12
12
|
[**teams_projects_create**](TeamsApi.md#teams_projects_create) | **POST** /accounts/{account_id}/teams/{team_id}/projects | Add Project
|
13
13
|
[**teams_projects_delete**](TeamsApi.md#teams_projects_delete) | **DELETE** /accounts/{account_id}/teams/{team_id}/projects/{id} | Remove Project
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**key_id** | **String** | Key | [optional]
|
10
10
|
**content** | **String** | Translation content | [optional]
|
11
11
|
**plural_suffix** | **String** | Plural suffix. Can be one of: zero, one, two, few, many, other. Must be specified if the key associated to the translation is pluralized. | [optional]
|
12
|
-
**unverified** | **Boolean** | Indicates whether translation is unverified. Part of the <a href=\"https://
|
12
|
+
**unverified** | **Boolean** | Indicates whether translation is unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
13
13
|
**excluded** | **Boolean** | Indicates whether translation is excluded. | [optional]
|
14
14
|
**autotranslate** | **Boolean** | Indicates whether the translation should be auto-translated. Responses with status 422 if provided for translation within a non-default locale or the project does not have the Autopilot feature enabled. | [optional]
|
15
15
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**branch** | **String** | specify the branch to use | [optional]
|
8
8
|
**content** | **String** | Translation content | [optional]
|
9
9
|
**plural_suffix** | **String** | Plural suffix. Can be one of: zero, one, two, few, many, other. Must be specified if the key associated to the translation is pluralized. | [optional]
|
10
|
-
**unverified** | **Boolean** | Indicates whether translation is unverified. Part of the <a href=\"https://
|
10
|
+
**unverified** | **Boolean** | Indicates whether translation is unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
|
11
11
|
**excluded** | **Boolean** | Indicates whether translation is excluded. | [optional]
|
12
12
|
**autotranslate** | **Boolean** | Indicates whether the translation should be auto-translated. Responses with status 422 if provided for translation within a non-default locale or the project does not have the Autopilot feature enabled. | [optional]
|
13
13
|
|