phrase 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +33 -21
- data/docs/BlacklistedKeyCreateParameters.md +1 -1
- data/docs/BlacklistedKeyUpdateParameters.md +1 -1
- data/docs/BlacklistedKeysApi.md +20 -20
- data/docs/DistributionCreateParameters.md +2 -0
- data/docs/DistributionUpdateParameters.md +2 -0
- data/docs/GlossariesApi.md +20 -20
- data/docs/GlossaryTermTranslationsApi.md +12 -12
- data/docs/GlossaryTermsApi.md +20 -20
- data/docs/JobComment.md +29 -0
- data/docs/JobCommentCreateParameters.md +17 -0
- data/docs/JobCommentUpdateParameters.md +17 -0
- data/docs/JobCommentsApi.md +343 -0
- data/docs/Locale.md +2 -0
- data/docs/LocaleCreateParameters.md +2 -0
- data/docs/LocaleDetails.md +2 -0
- data/docs/LocaleUpdateParameters.md +2 -0
- data/docs/ScreenshotsApi.md +12 -6
- data/docs/StyleguideCreateParameters.md +1 -1
- data/docs/StyleguideUpdateParameters.md +1 -1
- data/docs/VersionsHistoryApi.md +1 -1
- data/docs/WebhookDeliveriesApi.md +206 -0
- data/docs/WebhookDelivery.md +29 -0
- data/lib/phrase/api/blacklisted_keys_api.rb +20 -20
- data/lib/phrase/api/glossaries_api.rb +20 -20
- data/lib/phrase/api/glossary_term_translations_api.rb +12 -12
- data/lib/phrase/api/glossary_terms_api.rb +20 -20
- data/lib/phrase/api/job_comments_api.rb +411 -0
- data/lib/phrase/api/screenshots_api.rb +17 -11
- data/lib/phrase/api/versions_history_api.rb +2 -2
- data/lib/phrase/api/webhook_deliveries_api.rb +241 -0
- data/lib/phrase/models/blacklisted_key_create_parameters.rb +1 -1
- data/lib/phrase/models/blacklisted_key_update_parameters.rb +1 -1
- data/lib/phrase/models/distribution_create_parameters.rb +11 -1
- data/lib/phrase/models/distribution_update_parameters.rb +11 -1
- data/lib/phrase/models/job_comment.rb +250 -0
- data/lib/phrase/models/job_comment_create_parameters.rb +195 -0
- data/lib/phrase/models/job_comment_update_parameters.rb +195 -0
- data/lib/phrase/models/locale.rb +10 -1
- data/lib/phrase/models/locale_create_parameters.rb +11 -1
- data/lib/phrase/models/locale_details.rb +10 -1
- data/lib/phrase/models/locale_update_parameters.rb +11 -1
- data/lib/phrase/models/webhook_delivery.rb +248 -0
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +6 -0
- data/spec/api/blacklisted_keys_api_spec.rb +10 -10
- data/spec/api/glossaries_api_spec.rb +10 -10
- data/spec/api/glossary_term_translations_api_spec.rb +6 -6
- data/spec/api/glossary_terms_api_spec.rb +10 -10
- data/spec/api/job_comments_api_spec.rb +101 -0
- data/spec/api/screenshots_api_spec.rb +4 -1
- data/spec/api/versions_history_api_spec.rb +1 -1
- data/spec/api/webhook_deliveries_api_spec.rb +68 -0
- data/spec/models/distribution_create_parameters_spec.rb +6 -0
- data/spec/models/distribution_update_parameters_spec.rb +6 -0
- data/spec/models/job_comment_create_parameters_spec.rb +29 -0
- data/spec/models/job_comment_spec.rb +65 -0
- data/spec/models/job_comment_update_parameters_spec.rb +29 -0
- data/spec/models/locale_create_parameters_spec.rb +6 -0
- data/spec/models/locale_details_spec.rb +6 -0
- data/spec/models/locale_spec.rb +6 -0
- data/spec/models/locale_update_parameters_spec.rb +6 -0
- data/spec/models/webhook_delivery_spec.rb +65 -0
- metadata +221 -197
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bb4fc7c6855bcfd49fc954eafb1934a07e0d6aebee908d470df181533cd61e2
|
4
|
+
data.tar.gz: 4d5c2ec6151ceadb08ddb5d7d1f28c830896a7ea7271f61cc3ba3cd459bb21d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e306daabbd11fc612258f771889b906412d20e6e575ca067aeec9dfa003e9dcf61158b2b9d0cd023052c63d9e199b1a0ff60e6a08a0b7d5e78a3d88183c3939
|
7
|
+
data.tar.gz: 95193d84b529261332602a1427cfed5cd70b0869215294553e292426aae8f0bc8f678eabb3bd8081b3b8a3bf0498311f6054a0bb226da7429199a1d40b8714f5
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Phrase is a translation management platform for software projects. You can colla
|
|
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.0
|
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.0.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-2.
|
62
|
+
(for development, run `gem install --dev ./phrase-2.8.0.gem` to install the development dependencies)
|
63
63
|
|
64
64
|
## Getting Started
|
65
65
|
|
@@ -118,11 +118,11 @@ Class | Method | HTTP request | Description
|
|
118
118
|
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_export**](docs/BitbucketSyncApi.md#bitbucket_sync_export) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase to Bitbucket
|
119
119
|
*Phrase::BitbucketSyncApi* | [**bitbucket_sync_import**](docs/BitbucketSyncApi.md#bitbucket_sync_import) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase from Bitbucket
|
120
120
|
*Phrase::BitbucketSyncApi* | [**bitbucket_syncs_list**](docs/BitbucketSyncApi.md#bitbucket_syncs_list) | **GET** /bitbucket_syncs | List Bitbucket syncs
|
121
|
-
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_create**](docs/BlacklistedKeysApi.md#blacklisted_key_create) | **POST** /projects/{project_id}/blacklisted_keys | Create a
|
122
|
-
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_delete**](docs/BlacklistedKeysApi.md#blacklisted_key_delete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a
|
123
|
-
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_show**](docs/BlacklistedKeysApi.md#blacklisted_key_show) | **GET** /projects/{project_id}/blacklisted_keys/{id} | Get a single
|
124
|
-
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_update**](docs/BlacklistedKeysApi.md#blacklisted_key_update) | **PATCH** /projects/{project_id}/blacklisted_keys/{id} | Update a
|
125
|
-
*Phrase::BlacklistedKeysApi* | [**blacklisted_keys_list**](docs/BlacklistedKeysApi.md#blacklisted_keys_list) | **GET** /projects/{project_id}/blacklisted_keys | List
|
121
|
+
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_create**](docs/BlacklistedKeysApi.md#blacklisted_key_create) | **POST** /projects/{project_id}/blacklisted_keys | Create a blocked key
|
122
|
+
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_delete**](docs/BlacklistedKeysApi.md#blacklisted_key_delete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a blocked key
|
123
|
+
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_show**](docs/BlacklistedKeysApi.md#blacklisted_key_show) | **GET** /projects/{project_id}/blacklisted_keys/{id} | Get a single blocked key
|
124
|
+
*Phrase::BlacklistedKeysApi* | [**blacklisted_key_update**](docs/BlacklistedKeysApi.md#blacklisted_key_update) | **PATCH** /projects/{project_id}/blacklisted_keys/{id} | Update a blocked key
|
125
|
+
*Phrase::BlacklistedKeysApi* | [**blacklisted_keys_list**](docs/BlacklistedKeysApi.md#blacklisted_keys_list) | **GET** /projects/{project_id}/blacklisted_keys | List blocked keys
|
126
126
|
*Phrase::BranchesApi* | [**branch_compare**](docs/BranchesApi.md#branch_compare) | **GET** /projects/{project_id}/branches/{name}/compare | Compare branches
|
127
127
|
*Phrase::BranchesApi* | [**branch_create**](docs/BranchesApi.md#branch_create) | **POST** /projects/{project_id}/branches | Create a branch
|
128
128
|
*Phrase::BranchesApi* | [**branch_delete**](docs/BranchesApi.md#branch_delete) | **DELETE** /projects/{project_id}/branches/{name} | Delete a branch
|
@@ -155,19 +155,19 @@ Class | Method | HTTP request | Description
|
|
155
155
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_list**](docs/GitLabSyncApi.md#gitlab_sync_list) | **GET** /gitlab_syncs | List GitLab syncs
|
156
156
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_show**](docs/GitLabSyncApi.md#gitlab_sync_show) | **GET** /gitlab_syncs/{id} | Get single Sync Setting
|
157
157
|
*Phrase::GitLabSyncApi* | [**gitlab_sync_update**](docs/GitLabSyncApi.md#gitlab_sync_update) | **PUT** /gitlab_syncs/{id} | Update single Sync Setting
|
158
|
-
*Phrase::GlossariesApi* | [**glossaries_list**](docs/GlossariesApi.md#glossaries_list) | **GET** /accounts/{account_id}/glossaries | List
|
159
|
-
*Phrase::GlossariesApi* | [**glossary_create**](docs/GlossariesApi.md#glossary_create) | **POST** /accounts/{account_id}/glossaries | Create a
|
160
|
-
*Phrase::GlossariesApi* | [**glossary_delete**](docs/GlossariesApi.md#glossary_delete) | **DELETE** /accounts/{account_id}/glossaries/{id} | Delete a
|
161
|
-
*Phrase::GlossariesApi* | [**glossary_show**](docs/GlossariesApi.md#glossary_show) | **GET** /accounts/{account_id}/glossaries/{id} | Get a single
|
162
|
-
*Phrase::GlossariesApi* | [**glossary_update**](docs/GlossariesApi.md#glossary_update) | **PATCH** /accounts/{account_id}/glossaries/{id} | Update a
|
163
|
-
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_create**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations | Create a
|
164
|
-
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_delete**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Delete a
|
165
|
-
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_update**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Update a
|
166
|
-
*Phrase::GlossaryTermsApi* | [**glossary_term_create**](docs/GlossaryTermsApi.md#glossary_term_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms | Create a
|
167
|
-
*Phrase::GlossaryTermsApi* | [**glossary_term_delete**](docs/GlossaryTermsApi.md#glossary_term_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Delete a
|
168
|
-
*Phrase::GlossaryTermsApi* | [**glossary_term_show**](docs/GlossaryTermsApi.md#glossary_term_show) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Get a single
|
169
|
-
*Phrase::GlossaryTermsApi* | [**glossary_term_update**](docs/GlossaryTermsApi.md#glossary_term_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Update a
|
170
|
-
*Phrase::GlossaryTermsApi* | [**glossary_terms_list**](docs/GlossaryTermsApi.md#glossary_terms_list) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms | List
|
158
|
+
*Phrase::GlossariesApi* | [**glossaries_list**](docs/GlossariesApi.md#glossaries_list) | **GET** /accounts/{account_id}/glossaries | List term bases
|
159
|
+
*Phrase::GlossariesApi* | [**glossary_create**](docs/GlossariesApi.md#glossary_create) | **POST** /accounts/{account_id}/glossaries | Create a term base
|
160
|
+
*Phrase::GlossariesApi* | [**glossary_delete**](docs/GlossariesApi.md#glossary_delete) | **DELETE** /accounts/{account_id}/glossaries/{id} | Delete a term base
|
161
|
+
*Phrase::GlossariesApi* | [**glossary_show**](docs/GlossariesApi.md#glossary_show) | **GET** /accounts/{account_id}/glossaries/{id} | Get a single term base
|
162
|
+
*Phrase::GlossariesApi* | [**glossary_update**](docs/GlossariesApi.md#glossary_update) | **PATCH** /accounts/{account_id}/glossaries/{id} | Update a term base
|
163
|
+
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_create**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations | Create a translation for a term
|
164
|
+
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_delete**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Delete a translation for a term
|
165
|
+
*Phrase::GlossaryTermTranslationsApi* | [**glossary_term_translation_update**](docs/GlossaryTermTranslationsApi.md#glossary_term_translation_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Update a translation for a term
|
166
|
+
*Phrase::GlossaryTermsApi* | [**glossary_term_create**](docs/GlossaryTermsApi.md#glossary_term_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms | Create a term
|
167
|
+
*Phrase::GlossaryTermsApi* | [**glossary_term_delete**](docs/GlossaryTermsApi.md#glossary_term_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Delete a term
|
168
|
+
*Phrase::GlossaryTermsApi* | [**glossary_term_show**](docs/GlossaryTermsApi.md#glossary_term_show) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Get a single term
|
169
|
+
*Phrase::GlossaryTermsApi* | [**glossary_term_update**](docs/GlossaryTermsApi.md#glossary_term_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Update a term
|
170
|
+
*Phrase::GlossaryTermsApi* | [**glossary_terms_list**](docs/GlossaryTermsApi.md#glossary_terms_list) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms | List terms
|
171
171
|
*Phrase::ICUApi* | [**icu_skeleton**](docs/ICUApi.md#icu_skeleton) | **POST** /icu/skeleton | Build icu skeletons
|
172
172
|
*Phrase::InvitationsApi* | [**invitation_create**](docs/InvitationsApi.md#invitation_create) | **POST** /accounts/{account_id}/invitations | Create a new invitation
|
173
173
|
*Phrase::InvitationsApi* | [**invitation_delete**](docs/InvitationsApi.md#invitation_delete) | **DELETE** /accounts/{account_id}/invitations/{id} | Delete an invitation
|
@@ -176,6 +176,11 @@ Class | Method | HTTP request | Description
|
|
176
176
|
*Phrase::InvitationsApi* | [**invitation_update**](docs/InvitationsApi.md#invitation_update) | **PATCH** /accounts/{account_id}/invitations/{id} | Update an invitation
|
177
177
|
*Phrase::InvitationsApi* | [**invitation_update_settings**](docs/InvitationsApi.md#invitation_update_settings) | **PATCH** /projects/{project_id}/invitations/{id} | Update a member's invitation access
|
178
178
|
*Phrase::InvitationsApi* | [**invitations_list**](docs/InvitationsApi.md#invitations_list) | **GET** /accounts/{account_id}/invitations | List invitations
|
179
|
+
*Phrase::JobCommentsApi* | [**job_comment_create**](docs/JobCommentsApi.md#job_comment_create) | **POST** /projects/{project_id}/jobs/{job_id}/comments | Create a job comment
|
180
|
+
*Phrase::JobCommentsApi* | [**job_comment_delete**](docs/JobCommentsApi.md#job_comment_delete) | **DELETE** /projects/{project_id}/jobs/{job_id}/comments/{id} | Delete a job comment
|
181
|
+
*Phrase::JobCommentsApi* | [**job_comment_show**](docs/JobCommentsApi.md#job_comment_show) | **GET** /projects/{project_id}/jobs/{job_id}/comments/{id} | Get a single job comment
|
182
|
+
*Phrase::JobCommentsApi* | [**job_comment_update**](docs/JobCommentsApi.md#job_comment_update) | **PATCH** /projects/{project_id}/jobs/{job_id}/comments/{id} | Update a job comment
|
183
|
+
*Phrase::JobCommentsApi* | [**job_comments_list**](docs/JobCommentsApi.md#job_comments_list) | **GET** /projects/{project_id}/jobs/{job_id}/comments | List job comments
|
179
184
|
*Phrase::JobLocalesApi* | [**job_locale_complete**](docs/JobLocalesApi.md#job_locale_complete) | **POST** /projects/{project_id}/jobs/{job_id}/locales/{id}/complete | Complete a job locale
|
180
185
|
*Phrase::JobLocalesApi* | [**job_locale_complete_review**](docs/JobLocalesApi.md#job_locale_complete_review) | **POST** /projects/{project_id}/jobs/{job_id}/locales/{id}/complete_review | Review a job locale
|
181
186
|
*Phrase::JobLocalesApi* | [**job_locale_delete**](docs/JobLocalesApi.md#job_locale_delete) | **DELETE** /projects/{project_id}/jobs/{job_id}/locales/{id} | Delete a job locale
|
@@ -319,6 +324,9 @@ Class | Method | HTTP request | Description
|
|
319
324
|
*Phrase::VariablesApi* | [**variables_list**](docs/VariablesApi.md#variables_list) | **GET** /projects/{project_id}/variables | List variables
|
320
325
|
*Phrase::VersionsHistoryApi* | [**version_show**](docs/VersionsHistoryApi.md#version_show) | **GET** /projects/{project_id}/translations/{translation_id}/versions/{id} | Get a single version
|
321
326
|
*Phrase::VersionsHistoryApi* | [**versions_list**](docs/VersionsHistoryApi.md#versions_list) | **GET** /projects/{project_id}/translations/{translation_id}/versions | List all versions
|
327
|
+
*Phrase::WebhookDeliveriesApi* | [**webhook_deliveries_list**](docs/WebhookDeliveriesApi.md#webhook_deliveries_list) | **GET** /projects/{project_id}/webhooks/{webhook_id}/deliveries | List webhook deliveries
|
328
|
+
*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
|
329
|
+
*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
|
322
330
|
*Phrase::WebhooksApi* | [**webhook_create**](docs/WebhooksApi.md#webhook_create) | **POST** /projects/{project_id}/webhooks | Create a webhook
|
323
331
|
*Phrase::WebhooksApi* | [**webhook_delete**](docs/WebhooksApi.md#webhook_delete) | **DELETE** /projects/{project_id}/webhooks/{id} | Delete a webhook
|
324
332
|
*Phrase::WebhooksApi* | [**webhook_show**](docs/WebhooksApi.md#webhook_show) | **GET** /projects/{project_id}/webhooks/{id} | Get a single webhook
|
@@ -388,6 +396,9 @@ Class | Method | HTTP request | Description
|
|
388
396
|
- [Phrase::InvitationUpdateParameters](docs/InvitationUpdateParameters.md)
|
389
397
|
- [Phrase::InvitationUpdateSettingsParameters](docs/InvitationUpdateSettingsParameters.md)
|
390
398
|
- [Phrase::Job](docs/Job.md)
|
399
|
+
- [Phrase::JobComment](docs/JobComment.md)
|
400
|
+
- [Phrase::JobCommentCreateParameters](docs/JobCommentCreateParameters.md)
|
401
|
+
- [Phrase::JobCommentUpdateParameters](docs/JobCommentUpdateParameters.md)
|
391
402
|
- [Phrase::JobCompleteParameters](docs/JobCompleteParameters.md)
|
392
403
|
- [Phrase::JobCreateParameters](docs/JobCreateParameters.md)
|
393
404
|
- [Phrase::JobDetails](docs/JobDetails.md)
|
@@ -517,6 +528,7 @@ Class | Method | HTTP request | Description
|
|
517
528
|
- [Phrase::VariableUpdateParameters](docs/VariableUpdateParameters.md)
|
518
529
|
- [Phrase::Webhook](docs/Webhook.md)
|
519
530
|
- [Phrase::WebhookCreateParameters](docs/WebhookCreateParameters.md)
|
531
|
+
- [Phrase::WebhookDelivery](docs/WebhookDelivery.md)
|
520
532
|
- [Phrase::WebhookUpdateParameters](docs/WebhookUpdateParameters.md)
|
521
533
|
|
522
534
|
|
data/docs/BlacklistedKeysApi.md
CHANGED
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**blacklisted_key_create**](BlacklistedKeysApi.md#blacklisted_key_create) | **POST** /projects/{project_id}/blacklisted_keys | Create a
|
8
|
-
[**blacklisted_key_delete**](BlacklistedKeysApi.md#blacklisted_key_delete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a
|
9
|
-
[**blacklisted_key_show**](BlacklistedKeysApi.md#blacklisted_key_show) | **GET** /projects/{project_id}/blacklisted_keys/{id} | Get a single
|
10
|
-
[**blacklisted_key_update**](BlacklistedKeysApi.md#blacklisted_key_update) | **PATCH** /projects/{project_id}/blacklisted_keys/{id} | Update a
|
11
|
-
[**blacklisted_keys_list**](BlacklistedKeysApi.md#blacklisted_keys_list) | **GET** /projects/{project_id}/blacklisted_keys | List
|
7
|
+
[**blacklisted_key_create**](BlacklistedKeysApi.md#blacklisted_key_create) | **POST** /projects/{project_id}/blacklisted_keys | Create a blocked key
|
8
|
+
[**blacklisted_key_delete**](BlacklistedKeysApi.md#blacklisted_key_delete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a blocked key
|
9
|
+
[**blacklisted_key_show**](BlacklistedKeysApi.md#blacklisted_key_show) | **GET** /projects/{project_id}/blacklisted_keys/{id} | Get a single blocked key
|
10
|
+
[**blacklisted_key_update**](BlacklistedKeysApi.md#blacklisted_key_update) | **PATCH** /projects/{project_id}/blacklisted_keys/{id} | Update a blocked key
|
11
|
+
[**blacklisted_keys_list**](BlacklistedKeysApi.md#blacklisted_keys_list) | **GET** /projects/{project_id}/blacklisted_keys | List blocked keys
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -16,9 +16,9 @@ Method | HTTP request | Description
|
|
16
16
|
|
17
17
|
> BlacklistedKey blacklisted_key_create(project_id, blacklisted_key_create_parameters, opts)
|
18
18
|
|
19
|
-
Create a
|
19
|
+
Create a blocked key
|
20
20
|
|
21
|
-
Create a new rule for
|
21
|
+
Create a new rule for blocking keys.
|
22
22
|
|
23
23
|
### Example
|
24
24
|
|
@@ -44,7 +44,7 @@ opts = {
|
|
44
44
|
}
|
45
45
|
|
46
46
|
begin
|
47
|
-
#Create a
|
47
|
+
#Create a blocked key
|
48
48
|
result = api_instance.blacklisted_key_create(project_id, blacklisted_key_create_parameters, opts)
|
49
49
|
pp result
|
50
50
|
rescue Phrase::ApiError => e
|
@@ -79,9 +79,9 @@ Response<([**BlacklistedKey**](BlacklistedKey.md))>
|
|
79
79
|
|
80
80
|
> blacklisted_key_delete(project_id, id, opts)
|
81
81
|
|
82
|
-
Delete a
|
82
|
+
Delete a blocked key
|
83
83
|
|
84
|
-
Delete an existing rule for
|
84
|
+
Delete an existing rule for blocking keys.
|
85
85
|
|
86
86
|
### Example
|
87
87
|
|
@@ -107,7 +107,7 @@ opts = {
|
|
107
107
|
}
|
108
108
|
|
109
109
|
begin
|
110
|
-
#Delete a
|
110
|
+
#Delete a blocked key
|
111
111
|
api_instance.blacklisted_key_delete(project_id, id, opts)
|
112
112
|
rescue Phrase::ApiError => e
|
113
113
|
puts "Exception when calling BlacklistedKeysApi->blacklisted_key_delete: #{e}"
|
@@ -141,9 +141,9 @@ Response<(nil (empty response body))>
|
|
141
141
|
|
142
142
|
> BlacklistedKey blacklisted_key_show(project_id, id, opts)
|
143
143
|
|
144
|
-
Get a single
|
144
|
+
Get a single blocked key
|
145
145
|
|
146
|
-
Get details on a single rule for
|
146
|
+
Get details on a single rule for blocking keys for a given project.
|
147
147
|
|
148
148
|
### Example
|
149
149
|
|
@@ -169,7 +169,7 @@ opts = {
|
|
169
169
|
}
|
170
170
|
|
171
171
|
begin
|
172
|
-
#Get a single
|
172
|
+
#Get a single blocked key
|
173
173
|
result = api_instance.blacklisted_key_show(project_id, id, opts)
|
174
174
|
pp result
|
175
175
|
rescue Phrase::ApiError => e
|
@@ -204,9 +204,9 @@ Response<([**BlacklistedKey**](BlacklistedKey.md))>
|
|
204
204
|
|
205
205
|
> BlacklistedKey blacklisted_key_update(project_id, id, blacklisted_key_update_parameters, opts)
|
206
206
|
|
207
|
-
Update a
|
207
|
+
Update a blocked key
|
208
208
|
|
209
|
-
Update an existing rule for
|
209
|
+
Update an existing rule for blocking keys.
|
210
210
|
|
211
211
|
### Example
|
212
212
|
|
@@ -233,7 +233,7 @@ opts = {
|
|
233
233
|
}
|
234
234
|
|
235
235
|
begin
|
236
|
-
#Update a
|
236
|
+
#Update a blocked key
|
237
237
|
result = api_instance.blacklisted_key_update(project_id, id, blacklisted_key_update_parameters, opts)
|
238
238
|
pp result
|
239
239
|
rescue Phrase::ApiError => e
|
@@ -269,9 +269,9 @@ Response<([**BlacklistedKey**](BlacklistedKey.md))>
|
|
269
269
|
|
270
270
|
> Array<BlacklistedKey> blacklisted_keys_list(project_id, opts)
|
271
271
|
|
272
|
-
List
|
272
|
+
List blocked keys
|
273
273
|
|
274
|
-
List all rules for
|
274
|
+
List all rules for blocking keys for the given project.
|
275
275
|
|
276
276
|
### Example
|
277
277
|
|
@@ -299,7 +299,7 @@ opts = {
|
|
299
299
|
}
|
300
300
|
|
301
301
|
begin
|
302
|
-
#List
|
302
|
+
#List blocked keys
|
303
303
|
result = api_instance.blacklisted_keys_list(project_id, opts)
|
304
304
|
pp result
|
305
305
|
rescue Phrase::ApiError => e
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**platforms** | **Array<String>** | List of platforms the distribution should support. | [optional]
|
10
10
|
**locale_ids** | **Array<String>** | List of locale ids that will be part of distribution releases | [optional]
|
11
11
|
**format_options** | **Hash<String, String>** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional]
|
12
|
+
**fallback_locales_enabled** | **Boolean** | Use fallback locale if there is no translation in the current locale. | [optional]
|
12
13
|
**fallback_to_non_regional_locale** | **Boolean** | Indicates whether to fallback to non regional locale when locale can not be found | [optional]
|
13
14
|
**fallback_to_default_locale** | **Boolean** | Indicates whether to fallback to projects default locale when locale can not be found | [optional]
|
14
15
|
**use_last_reviewed_version** | **Boolean** | Use last reviewed instead of latest translation in a project | [optional]
|
@@ -23,6 +24,7 @@ instance = Phrase::DistributionCreateParameters.new(name: My Android Distributio
|
|
23
24
|
platforms: ["android","ios"],
|
24
25
|
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
|
25
26
|
format_options: {xml:{enclose_in_cdata:'1'}},
|
27
|
+
fallback_locales_enabled: true,
|
26
28
|
fallback_to_non_regional_locale: true,
|
27
29
|
fallback_to_default_locale: true,
|
28
30
|
use_last_reviewed_version: true)
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**platforms** | **Array<String>** | List of platforms the distribution should support. | [optional]
|
10
10
|
**locale_ids** | **Array<String>** | List of locale ids that will be part of distribution releases | [optional]
|
11
11
|
**format_options** | **Hash<String, String>** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional]
|
12
|
+
**fallback_locales_enabled** | **Boolean** | Use fallback locale if there is no translation in the current locale. | [optional]
|
12
13
|
**fallback_to_non_regional_locale** | **Boolean** | Indicates whether to fallback to non regional locale when locale can not be found | [optional]
|
13
14
|
**fallback_to_default_locale** | **Boolean** | Indicates whether to fallback to projects default locale when locale can not be found | [optional]
|
14
15
|
**use_last_reviewed_version** | **Boolean** | Use last reviewed instead of latest translation in a project | [optional]
|
@@ -23,6 +24,7 @@ instance = Phrase::DistributionUpdateParameters.new(name: My Android Distributio
|
|
23
24
|
platforms: ["android","ios"],
|
24
25
|
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
|
25
26
|
format_options: {xml:{enclose_in_cdata:'1'}},
|
27
|
+
fallback_locales_enabled: true,
|
26
28
|
fallback_to_non_regional_locale: true,
|
27
29
|
fallback_to_default_locale: true,
|
28
30
|
use_last_reviewed_version: true)
|
data/docs/GlossariesApi.md
CHANGED
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**glossaries_list**](GlossariesApi.md#glossaries_list) | **GET** /accounts/{account_id}/glossaries | List
|
8
|
-
[**glossary_create**](GlossariesApi.md#glossary_create) | **POST** /accounts/{account_id}/glossaries | Create a
|
9
|
-
[**glossary_delete**](GlossariesApi.md#glossary_delete) | **DELETE** /accounts/{account_id}/glossaries/{id} | Delete a
|
10
|
-
[**glossary_show**](GlossariesApi.md#glossary_show) | **GET** /accounts/{account_id}/glossaries/{id} | Get a single
|
11
|
-
[**glossary_update**](GlossariesApi.md#glossary_update) | **PATCH** /accounts/{account_id}/glossaries/{id} | Update a
|
7
|
+
[**glossaries_list**](GlossariesApi.md#glossaries_list) | **GET** /accounts/{account_id}/glossaries | List term bases
|
8
|
+
[**glossary_create**](GlossariesApi.md#glossary_create) | **POST** /accounts/{account_id}/glossaries | Create a term base
|
9
|
+
[**glossary_delete**](GlossariesApi.md#glossary_delete) | **DELETE** /accounts/{account_id}/glossaries/{id} | Delete a term base
|
10
|
+
[**glossary_show**](GlossariesApi.md#glossary_show) | **GET** /accounts/{account_id}/glossaries/{id} | Get a single term base
|
11
|
+
[**glossary_update**](GlossariesApi.md#glossary_update) | **PATCH** /accounts/{account_id}/glossaries/{id} | Update a term base
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -16,9 +16,9 @@ Method | HTTP request | Description
|
|
16
16
|
|
17
17
|
> Array<Glossary> glossaries_list(account_id, opts)
|
18
18
|
|
19
|
-
List
|
19
|
+
List term bases
|
20
20
|
|
21
|
-
List all glossaries the current user has access to.
|
21
|
+
List all term bases (previously: glossaries) the current user has access to.
|
22
22
|
|
23
23
|
### Example
|
24
24
|
|
@@ -45,7 +45,7 @@ opts = {
|
|
45
45
|
}
|
46
46
|
|
47
47
|
begin
|
48
|
-
#List
|
48
|
+
#List term bases
|
49
49
|
result = api_instance.glossaries_list(account_id, opts)
|
50
50
|
pp result
|
51
51
|
rescue Phrase::ApiError => e
|
@@ -81,9 +81,9 @@ Response<([**Array<Glossary>**](Glossary.md))>
|
|
81
81
|
|
82
82
|
> Glossary glossary_create(account_id, glossary_create_parameters, opts)
|
83
83
|
|
84
|
-
Create a
|
84
|
+
Create a term base
|
85
85
|
|
86
|
-
Create a new glossary.
|
86
|
+
Create a new term base (previously: glossary).
|
87
87
|
|
88
88
|
### Example
|
89
89
|
|
@@ -109,7 +109,7 @@ opts = {
|
|
109
109
|
}
|
110
110
|
|
111
111
|
begin
|
112
|
-
#Create a
|
112
|
+
#Create a term base
|
113
113
|
result = api_instance.glossary_create(account_id, glossary_create_parameters, opts)
|
114
114
|
pp result
|
115
115
|
rescue Phrase::ApiError => e
|
@@ -144,9 +144,9 @@ Response<([**Glossary**](Glossary.md))>
|
|
144
144
|
|
145
145
|
> glossary_delete(account_id, id, opts)
|
146
146
|
|
147
|
-
Delete a
|
147
|
+
Delete a term base
|
148
148
|
|
149
|
-
Delete an existing glossary.
|
149
|
+
Delete an existing term base (previously: glossary).
|
150
150
|
|
151
151
|
### Example
|
152
152
|
|
@@ -172,7 +172,7 @@ opts = {
|
|
172
172
|
}
|
173
173
|
|
174
174
|
begin
|
175
|
-
#Delete a
|
175
|
+
#Delete a term base
|
176
176
|
api_instance.glossary_delete(account_id, id, opts)
|
177
177
|
rescue Phrase::ApiError => e
|
178
178
|
puts "Exception when calling GlossariesApi->glossary_delete: #{e}"
|
@@ -206,9 +206,9 @@ Response<(nil (empty response body))>
|
|
206
206
|
|
207
207
|
> Glossary glossary_show(account_id, id, opts)
|
208
208
|
|
209
|
-
Get a single
|
209
|
+
Get a single term base
|
210
210
|
|
211
|
-
Get details on a single glossary.
|
211
|
+
Get details on a single term base (previously: glossary).
|
212
212
|
|
213
213
|
### Example
|
214
214
|
|
@@ -234,7 +234,7 @@ opts = {
|
|
234
234
|
}
|
235
235
|
|
236
236
|
begin
|
237
|
-
#Get a single
|
237
|
+
#Get a single term base
|
238
238
|
result = api_instance.glossary_show(account_id, id, opts)
|
239
239
|
pp result
|
240
240
|
rescue Phrase::ApiError => e
|
@@ -269,9 +269,9 @@ Response<([**Glossary**](Glossary.md))>
|
|
269
269
|
|
270
270
|
> Glossary glossary_update(account_id, id, glossary_update_parameters, opts)
|
271
271
|
|
272
|
-
Update a
|
272
|
+
Update a term base
|
273
273
|
|
274
|
-
Update an existing glossary.
|
274
|
+
Update an existing term base (previously: glossary).
|
275
275
|
|
276
276
|
### Example
|
277
277
|
|
@@ -298,7 +298,7 @@ opts = {
|
|
298
298
|
}
|
299
299
|
|
300
300
|
begin
|
301
|
-
#Update a
|
301
|
+
#Update a term base
|
302
302
|
result = api_instance.glossary_update(account_id, id, glossary_update_parameters, opts)
|
303
303
|
pp result
|
304
304
|
rescue Phrase::ApiError => e
|
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**glossary_term_translation_create**](GlossaryTermTranslationsApi.md#glossary_term_translation_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations | Create a
|
8
|
-
[**glossary_term_translation_delete**](GlossaryTermTranslationsApi.md#glossary_term_translation_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Delete a
|
9
|
-
[**glossary_term_translation_update**](GlossaryTermTranslationsApi.md#glossary_term_translation_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Update a
|
7
|
+
[**glossary_term_translation_create**](GlossaryTermTranslationsApi.md#glossary_term_translation_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations | Create a translation for a term
|
8
|
+
[**glossary_term_translation_delete**](GlossaryTermTranslationsApi.md#glossary_term_translation_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Delete a translation for a term
|
9
|
+
[**glossary_term_translation_update**](GlossaryTermTranslationsApi.md#glossary_term_translation_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Update a translation for a term
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -14,9 +14,9 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
> GlossaryTermTranslation glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts)
|
16
16
|
|
17
|
-
Create a
|
17
|
+
Create a translation for a term
|
18
18
|
|
19
|
-
Create a new
|
19
|
+
Create a new translation for a term in a term base (previously: glossary).
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -44,7 +44,7 @@ opts = {
|
|
44
44
|
}
|
45
45
|
|
46
46
|
begin
|
47
|
-
#Create a
|
47
|
+
#Create a translation for a term
|
48
48
|
result = api_instance.glossary_term_translation_create(account_id, glossary_id, term_id, glossary_term_translation_create_parameters, opts)
|
49
49
|
pp result
|
50
50
|
rescue Phrase::ApiError => e
|
@@ -81,9 +81,9 @@ Response<([**GlossaryTermTranslation**](GlossaryTermTranslation.md))>
|
|
81
81
|
|
82
82
|
> glossary_term_translation_delete(account_id, glossary_id, term_id, id, opts)
|
83
83
|
|
84
|
-
Delete a
|
84
|
+
Delete a translation for a term
|
85
85
|
|
86
|
-
Delete an existing
|
86
|
+
Delete an existing translation of a term in a term base (previously: glossary).
|
87
87
|
|
88
88
|
### Example
|
89
89
|
|
@@ -111,7 +111,7 @@ opts = {
|
|
111
111
|
}
|
112
112
|
|
113
113
|
begin
|
114
|
-
#Delete a
|
114
|
+
#Delete a translation for a term
|
115
115
|
api_instance.glossary_term_translation_delete(account_id, glossary_id, term_id, id, opts)
|
116
116
|
rescue Phrase::ApiError => e
|
117
117
|
puts "Exception when calling GlossaryTermTranslationsApi->glossary_term_translation_delete: #{e}"
|
@@ -147,9 +147,9 @@ Response<(nil (empty response body))>
|
|
147
147
|
|
148
148
|
> GlossaryTermTranslation glossary_term_translation_update(account_id, glossary_id, term_id, id, glossary_term_translation_update_parameters, opts)
|
149
149
|
|
150
|
-
Update a
|
150
|
+
Update a translation for a term
|
151
151
|
|
152
|
-
Update an existing
|
152
|
+
Update an existing translation for a term in a term base (previously: glossary).
|
153
153
|
|
154
154
|
### Example
|
155
155
|
|
@@ -178,7 +178,7 @@ opts = {
|
|
178
178
|
}
|
179
179
|
|
180
180
|
begin
|
181
|
-
#Update a
|
181
|
+
#Update a translation for a term
|
182
182
|
result = api_instance.glossary_term_translation_update(account_id, glossary_id, term_id, id, glossary_term_translation_update_parameters, opts)
|
183
183
|
pp result
|
184
184
|
rescue Phrase::ApiError => e
|
data/docs/GlossaryTermsApi.md
CHANGED
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**glossary_term_create**](GlossaryTermsApi.md#glossary_term_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms | Create a
|
8
|
-
[**glossary_term_delete**](GlossaryTermsApi.md#glossary_term_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Delete a
|
9
|
-
[**glossary_term_show**](GlossaryTermsApi.md#glossary_term_show) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Get a single
|
10
|
-
[**glossary_term_update**](GlossaryTermsApi.md#glossary_term_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Update a
|
11
|
-
[**glossary_terms_list**](GlossaryTermsApi.md#glossary_terms_list) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms | List
|
7
|
+
[**glossary_term_create**](GlossaryTermsApi.md#glossary_term_create) | **POST** /accounts/{account_id}/glossaries/{glossary_id}/terms | Create a term
|
8
|
+
[**glossary_term_delete**](GlossaryTermsApi.md#glossary_term_delete) | **DELETE** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Delete a term
|
9
|
+
[**glossary_term_show**](GlossaryTermsApi.md#glossary_term_show) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Get a single term
|
10
|
+
[**glossary_term_update**](GlossaryTermsApi.md#glossary_term_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Update a term
|
11
|
+
[**glossary_terms_list**](GlossaryTermsApi.md#glossary_terms_list) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms | List terms
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -16,9 +16,9 @@ Method | HTTP request | Description
|
|
16
16
|
|
17
17
|
> GlossaryTerm glossary_term_create(account_id, glossary_id, glossary_term_create_parameters, opts)
|
18
18
|
|
19
|
-
Create a
|
19
|
+
Create a term
|
20
20
|
|
21
|
-
Create a new
|
21
|
+
Create a new term in a term base (previously: glossary).
|
22
22
|
|
23
23
|
### Example
|
24
24
|
|
@@ -45,7 +45,7 @@ opts = {
|
|
45
45
|
}
|
46
46
|
|
47
47
|
begin
|
48
|
-
#Create a
|
48
|
+
#Create a term
|
49
49
|
result = api_instance.glossary_term_create(account_id, glossary_id, glossary_term_create_parameters, opts)
|
50
50
|
pp result
|
51
51
|
rescue Phrase::ApiError => e
|
@@ -81,9 +81,9 @@ Response<([**GlossaryTerm**](GlossaryTerm.md))>
|
|
81
81
|
|
82
82
|
> glossary_term_delete(account_id, glossary_id, id, opts)
|
83
83
|
|
84
|
-
Delete a
|
84
|
+
Delete a term
|
85
85
|
|
86
|
-
Delete an existing
|
86
|
+
Delete an existing term in a term base (previously: glossary).
|
87
87
|
|
88
88
|
### Example
|
89
89
|
|
@@ -110,7 +110,7 @@ opts = {
|
|
110
110
|
}
|
111
111
|
|
112
112
|
begin
|
113
|
-
#Delete a
|
113
|
+
#Delete a term
|
114
114
|
api_instance.glossary_term_delete(account_id, glossary_id, id, opts)
|
115
115
|
rescue Phrase::ApiError => e
|
116
116
|
puts "Exception when calling GlossaryTermsApi->glossary_term_delete: #{e}"
|
@@ -145,9 +145,9 @@ Response<(nil (empty response body))>
|
|
145
145
|
|
146
146
|
> GlossaryTerm glossary_term_show(account_id, glossary_id, id, opts)
|
147
147
|
|
148
|
-
Get a single
|
148
|
+
Get a single term
|
149
149
|
|
150
|
-
Get details
|
150
|
+
Get details for a single term in the term base (previously: glossary).
|
151
151
|
|
152
152
|
### Example
|
153
153
|
|
@@ -174,7 +174,7 @@ opts = {
|
|
174
174
|
}
|
175
175
|
|
176
176
|
begin
|
177
|
-
#Get a single
|
177
|
+
#Get a single term
|
178
178
|
result = api_instance.glossary_term_show(account_id, glossary_id, id, opts)
|
179
179
|
pp result
|
180
180
|
rescue Phrase::ApiError => e
|
@@ -210,9 +210,9 @@ Response<([**GlossaryTerm**](GlossaryTerm.md))>
|
|
210
210
|
|
211
211
|
> GlossaryTerm glossary_term_update(account_id, glossary_id, id, glossary_term_update_parameters, opts)
|
212
212
|
|
213
|
-
Update a
|
213
|
+
Update a term
|
214
214
|
|
215
|
-
Update an existing
|
215
|
+
Update an existing term in a term base (previously: glossary).
|
216
216
|
|
217
217
|
### Example
|
218
218
|
|
@@ -240,7 +240,7 @@ opts = {
|
|
240
240
|
}
|
241
241
|
|
242
242
|
begin
|
243
|
-
#Update a
|
243
|
+
#Update a term
|
244
244
|
result = api_instance.glossary_term_update(account_id, glossary_id, id, glossary_term_update_parameters, opts)
|
245
245
|
pp result
|
246
246
|
rescue Phrase::ApiError => e
|
@@ -277,9 +277,9 @@ Response<([**GlossaryTerm**](GlossaryTerm.md))>
|
|
277
277
|
|
278
278
|
> Array<GlossaryTerm> glossary_terms_list(account_id, glossary_id, opts)
|
279
279
|
|
280
|
-
List
|
280
|
+
List terms
|
281
281
|
|
282
|
-
List all glossary
|
282
|
+
List all terms in term bases (previously: glossary) that the current user has access to.
|
283
283
|
|
284
284
|
### Example
|
285
285
|
|
@@ -307,7 +307,7 @@ opts = {
|
|
307
307
|
}
|
308
308
|
|
309
309
|
begin
|
310
|
-
#List
|
310
|
+
#List terms
|
311
311
|
result = api_instance.glossary_terms_list(account_id, glossary_id, opts)
|
312
312
|
pp result
|
313
313
|
rescue Phrase::ApiError => e
|
data/docs/JobComment.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Phrase::JobComment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | | [optional]
|
8
|
+
**message** | **String** | | [optional]
|
9
|
+
**job_id** | **String** | | [optional]
|
10
|
+
**user** | [**UserPreview**](UserPreview.md) | | [optional]
|
11
|
+
**created_at** | **DateTime** | | [optional]
|
12
|
+
**updated_at** | **DateTime** | | [optional]
|
13
|
+
**mentioned_users** | [**Array<UserPreview>**](UserPreview.md) | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'Phrase'
|
19
|
+
|
20
|
+
instance = Phrase::JobComment.new(id: null,
|
21
|
+
message: null,
|
22
|
+
job_id: null,
|
23
|
+
user: null,
|
24
|
+
created_at: null,
|
25
|
+
updated_at: null,
|
26
|
+
mentioned_users: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|