docs/TranslationsApi.md in phrase-1.0.14 vs docs/TranslationsApi.md in phrase-2.0.0
- old
+ new
@@ -12,17 +12,17 @@
[**translation_unverify**](TranslationsApi.md#translation_unverify) | **PATCH** /projects/{project_id}/translations/{id}/unverify | Mark a translation as unverified
[**translation_update**](TranslationsApi.md#translation_update) | **PATCH** /projects/{project_id}/translations/{id} | Update a translation
[**translation_verify**](TranslationsApi.md#translation_verify) | **PATCH** /projects/{project_id}/translations/{id}/verify | Verify a translation
[**translations_by_key**](TranslationsApi.md#translations_by_key) | **GET** /projects/{project_id}/keys/{key_id}/translations | List translations by key
[**translations_by_locale**](TranslationsApi.md#translations_by_locale) | **GET** /projects/{project_id}/locales/{locale_id}/translations | List translations by locale
-[**translations_exclude**](TranslationsApi.md#translations_exclude) | **PATCH** /projects/{project_id}/translations/exclude | Set exclude from export flag on translations selected by query
-[**translations_include**](TranslationsApi.md#translations_include) | **PATCH** /projects/{project_id}/translations/include | Remove exlude from import flag from translations selected by query
+[**translations_exclude_collection**](TranslationsApi.md#translations_exclude_collection) | **PATCH** /projects/{project_id}/translations/exclude | Set exclude from export flag on translations selected by query
+[**translations_include_collection**](TranslationsApi.md#translations_include_collection) | **PATCH** /projects/{project_id}/translations/include | Remove exlude from import flag from translations selected by query
[**translations_list**](TranslationsApi.md#translations_list) | **GET** /projects/{project_id}/translations | List all translations
-[**translations_review**](TranslationsApi.md#translations_review) | **PATCH** /projects/{project_id}/translations/review | Review translations selected by query
+[**translations_review_collection**](TranslationsApi.md#translations_review_collection) | **PATCH** /projects/{project_id}/translations/review | Review translations selected by query
[**translations_search**](TranslationsApi.md#translations_search) | **POST** /projects/{project_id}/translations/search | Search translations
-[**translations_unverify**](TranslationsApi.md#translations_unverify) | **PATCH** /projects/{project_id}/translations/unverify | Mark translations selected by query as unverified
-[**translations_verify**](TranslationsApi.md#translations_verify) | **PATCH** /projects/{project_id}/translations/verify | Verify translations selected by query
+[**translations_unverify_collection**](TranslationsApi.md#translations_unverify_collection) | **PATCH** /projects/{project_id}/translations/unverify | Mark translations selected by query as unverified
+[**translations_verify_collection**](TranslationsApi.md#translations_verify_collection) | **PATCH** /projects/{project_id}/translations/verify | Verify translations selected by query
## translation_create
@@ -690,13 +690,13 @@
- **Content-Type**: Not defined
- **Accept**: application/json
-## translations_exclude
+## translations_exclude_collection
-> AffectedCount translations_exclude(project_id, translations_exclude_parameters, opts)
+> AffectedCount translations_exclude_collection(project_id, translations_exclude_parameters, opts)
Set exclude from export flag on translations selected by query
Exclude translations matching query from locale export.
@@ -723,14 +723,14 @@
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Set exclude from export flag on translations selected by query
- result = api_instance.translations_exclude(project_id, translations_exclude_parameters, opts)
+ result = api_instance.translations_exclude_collection(project_id, translations_exclude_parameters, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling TranslationsApi->translations_exclude: #{e}"
+ puts "Exception when calling TranslationsApi->translations_exclude_collection: #{e}"
end
```
### Parameters
@@ -753,13 +753,13 @@
- **Content-Type**: application/json
- **Accept**: application/json
-## translations_include
+## translations_include_collection
-> AffectedCount translations_include(project_id, translations_include_parameters, opts)
+> AffectedCount translations_include_collection(project_id, translations_include_parameters, opts)
Remove exlude from import flag from translations selected by query
Include translations matching query in locale export.
@@ -786,14 +786,14 @@
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Remove exlude from import flag from translations selected by query
- result = api_instance.translations_include(project_id, translations_include_parameters, opts)
+ result = api_instance.translations_include_collection(project_id, translations_include_parameters, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling TranslationsApi->translations_include: #{e}"
+ puts "Exception when calling TranslationsApi->translations_include_collection: #{e}"
end
```
### Parameters
@@ -889,13 +889,13 @@
- **Content-Type**: Not defined
- **Accept**: application/json
-## translations_review
+## translations_review_collection
-> AffectedCount translations_review(project_id, translations_review_parameters, opts)
+> AffectedCount translations_review_collection(project_id, translations_review_parameters, opts)
Review translations selected by query
Review translations matching query.
@@ -922,14 +922,14 @@
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Review translations selected by query
- result = api_instance.translations_review(project_id, translations_review_parameters, opts)
+ result = api_instance.translations_review_collection(project_id, translations_review_parameters, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling TranslationsApi->translations_review: #{e}"
+ puts "Exception when calling TranslationsApi->translations_review_collection: #{e}"
end
```
### Parameters
@@ -1019,13 +1019,13 @@
- **Content-Type**: application/json
- **Accept**: application/json
-## translations_unverify
+## translations_unverify_collection
-> AffectedCount translations_unverify(project_id, translations_unverify_parameters, opts)
+> AffectedCount translations_unverify_collection(project_id, translations_unverify_parameters, opts)
Mark translations selected by query as unverified
Mark translations matching query as unverified.
@@ -1052,14 +1052,14 @@
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Mark translations selected by query as unverified
- result = api_instance.translations_unverify(project_id, translations_unverify_parameters, opts)
+ result = api_instance.translations_unverify_collection(project_id, translations_unverify_parameters, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling TranslationsApi->translations_unverify: #{e}"
+ puts "Exception when calling TranslationsApi->translations_unverify_collection: #{e}"
end
```
### Parameters
@@ -1082,13 +1082,13 @@
- **Content-Type**: application/json
- **Accept**: application/json
-## translations_verify
+## translations_verify_collection
-> AffectedCount translations_verify(project_id, translations_verify_parameters, opts)
+> AffectedCount translations_verify_collection(project_id, translations_verify_parameters, opts)
Verify translations selected by query
Verify translations matching query.
@@ -1115,13 +1115,13 @@
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Verify translations selected by query
- result = api_instance.translations_verify(project_id, translations_verify_parameters, opts)
+ result = api_instance.translations_verify_collection(project_id, translations_verify_parameters, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling TranslationsApi->translations_verify: #{e}"
+ puts "Exception when calling TranslationsApi->translations_verify_collection: #{e}"
end
```
### Parameters