phrase 3.7.0 → 4.3.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/CHANGELOG.md +63 -0
- data/README.md +13 -37
- data/docs/JobCommentCreateParameters.md +3 -1
- data/docs/JobCommentUpdateParameters.md +3 -1
- data/docs/JobCommentsApi.md +6 -6
- data/docs/JobDetails.md +2 -0
- data/docs/JobKeysDeleteParameters.md +19 -0
- data/docs/JobLocalesApi.md +6 -6
- data/docs/JobsApi.md +16 -14
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/KeysApi.md +4 -4
- data/docs/KeysExcludeParameters.md +1 -1
- data/docs/KeysIncludeParameters.md +1 -1
- data/docs/KeysSearchParameters.md +1 -1
- data/docs/KeysTagParameters.md +1 -1
- data/docs/KeysUntagParameters.md +1 -1
- data/docs/LocalesApi.md +3 -1
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +4 -2
- data/docs/QualityPerformanceScoreApi.md +8 -8
- data/docs/QualityPerformanceScoreList200Response.md +21 -0
- data/docs/QualityPerformanceScoreList200ResponseAnyOf.md +19 -0
- data/docs/QualityPerformanceScoreList200ResponseAnyOfData.md +17 -0
- data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md → QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md} +2 -2
- data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md → QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md} +2 -2
- data/docs/{ProjectsQualityPerformanceScoreRequest.md → QualityPerformanceScoreListRequest.md} +2 -2
- data/docs/RepoSyncEvent.md +3 -3
- data/docs/RepoSyncEventsApi.md +138 -0
- data/docs/RepoSyncsApi.md +2 -132
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/Upload.md +3 -1
- data/lib/phrase/api/job_comments_api.rb +6 -6
- data/lib/phrase/api/job_locales_api.rb +6 -6
- data/lib/phrase/api/jobs_api.rb +24 -16
- data/lib/phrase/api/keys_api.rb +4 -4
- data/lib/phrase/api/locales_api.rb +3 -0
- data/lib/phrase/api/quality_performance_score_api.rb +15 -15
- data/lib/phrase/api/repo_sync_events_api.rb +160 -0
- data/lib/phrase/api/repo_syncs_api.rb +4 -154
- data/lib/phrase/models/job_comment_create_parameters.rb +14 -4
- data/lib/phrase/models/job_comment_update_parameters.rb +14 -4
- data/lib/phrase/models/job_details.rb +10 -1
- data/lib/phrase/models/job_keys_delete_parameters.rb +214 -0
- data/lib/phrase/models/keys_exclude_parameters.rb +1 -1
- data/lib/phrase/models/keys_include_parameters.rb +1 -1
- data/lib/phrase/models/keys_search_parameters.rb +1 -1
- data/lib/phrase/models/keys_tag_parameters.rb +1 -1
- data/lib/phrase/models/keys_untag_parameters.rb +1 -1
- data/lib/phrase/models/project_update_parameters.rb +48 -4
- data/lib/phrase/models/{projects_quality_performance_score200_response.rb → quality_performance_score_list200_response.rb} +6 -6
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of.rb → quality_performance_score_list200_response_any_of.rb} +5 -5
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_data.rb → quality_performance_score_list200_response_any_of_data.rb} +4 -4
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_data_translations_inner.rb → quality_performance_score_list200_response_any_of_data_translations_inner.rb} +3 -3
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_errors_inner.rb → quality_performance_score_list200_response_any_of_errors_inner.rb} +3 -3
- data/lib/phrase/models/{projects_quality_performance_score_request.rb → quality_performance_score_list_request.rb} +3 -3
- data/lib/phrase/models/repo_sync_event.rb +15 -15
- data/lib/phrase/models/upload.rb +14 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +8 -22
- data/spec/api/job_comments_api_spec.rb +3 -3
- data/spec/api/job_locales_api_spec.rb +3 -3
- data/spec/api/jobs_api_spec.rb +6 -5
- data/spec/api/keys_api_spec.rb +2 -2
- data/spec/api/quality_performance_score_api_spec.rb +4 -4
- data/spec/api/repo_sync_events_api_spec.rb +52 -0
- data/spec/api/repo_syncs_api_spec.rb +2 -31
- data/spec/models/job_comment_create_parameters_spec.rb +6 -0
- data/spec/models/job_comment_update_parameters_spec.rb +6 -0
- data/spec/models/job_details_spec.rb +6 -0
- data/spec/models/{gitlab_sync_export_spec.rb → job_keys_delete_parameters_spec.rb} +8 -8
- data/spec/models/project_update_parameters_spec.rb +10 -0
- data/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb +29 -0
- data/spec/models/{projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb → quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_any_of_errors_inner_spec.rb → quality_performance_score_list200_response_any_of_errors_inner_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_any_of_spec.rb → quality_performance_score_list200_response_any_of_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_spec.rb → quality_performance_score_list200_response_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score_request_spec.rb → quality_performance_score_list_request_spec.rb} +6 -6
- data/spec/models/repo_sync_event_spec.rb +2 -2
- data/spec/models/upload_spec.rb +6 -0
- metadata +265 -321
- data/docs/BitbucketSync.md +0 -27
- data/docs/BitbucketSyncApi.md +0 -197
- data/docs/BitbucketSyncExportParameters.md +0 -17
- data/docs/BitbucketSyncExportResponse.md +0 -17
- data/docs/BitbucketSyncImportParameters.md +0 -17
- data/docs/GitHubSyncApi.md +0 -130
- data/docs/GitLabSyncApi.md +0 -463
- data/docs/GithubSyncExportParameters.md +0 -17
- data/docs/GithubSyncImportParameters.md +0 -17
- data/docs/GitlabSync.md +0 -37
- data/docs/GitlabSyncExport.md +0 -19
- data/docs/GitlabSyncExportParameters.md +0 -17
- data/docs/GitlabSyncHistory.md +0 -25
- data/docs/GitlabSyncHistoryErrorsInner.md +0 -19
- data/docs/GitlabSyncImportParameters.md +0 -17
- data/docs/ProjectsQualityPerformanceScore200Response.md +0 -21
- data/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md +0 -19
- data/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md +0 -17
- data/docs/RepoSyncEventErrorsInner.md +0 -16
- data/lib/phrase/api/bitbucket_sync_api.rb +0 -219
- data/lib/phrase/api/git_hub_sync_api.rb +0 -146
- data/lib/phrase/api/git_lab_sync_api.rb +0 -510
- data/lib/phrase/models/bitbucket_sync.rb +0 -243
- data/lib/phrase/models/bitbucket_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/bitbucket_sync_export_response.rb +0 -196
- data/lib/phrase/models/bitbucket_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/github_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/github_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/gitlab_sync.rb +0 -286
- data/lib/phrase/models/gitlab_sync_export.rb +0 -205
- data/lib/phrase/models/gitlab_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/gitlab_sync_history.rb +0 -234
- data/lib/phrase/models/gitlab_sync_history_errors_inner.rb +0 -205
- data/lib/phrase/models/gitlab_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/repo_sync_event_errors_inner.rb +0 -207
- data/spec/api/bitbucket_sync_api_spec.rb +0 -64
- data/spec/api/git_hub_sync_api_spec.rb +0 -49
- data/spec/api/git_lab_sync_api_spec.rb +0 -125
- data/spec/models/bitbucket_sync_export_parameters_spec.rb +0 -29
- data/spec/models/bitbucket_sync_export_response_spec.rb +0 -29
- data/spec/models/bitbucket_sync_import_parameters_spec.rb +0 -29
- data/spec/models/bitbucket_sync_spec.rb +0 -59
- data/spec/models/github_sync_export_parameters_spec.rb +0 -29
- data/spec/models/github_sync_import_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_export_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_history_errors_inner_spec.rb +0 -35
- data/spec/models/gitlab_sync_history_spec.rb +0 -53
- data/spec/models/gitlab_sync_import_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_spec.rb +0 -89
- data/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb +0 -29
- data/spec/models/repo_sync_event_errors_inner_spec.rb +0 -23
data/docs/KeysTagParameters.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**branch** | **String** | specify the branch to use | [optional]
|
|
8
|
-
**q** | **String** | Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id
|
|
8
|
+
**q** | **String** | Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id,...</code> to filter keys unmentioned within upload. When multiple upload IDs provided, matches only keys not mentioned in <strong>all</strong> uploads</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>. | [optional]
|
|
9
9
|
**locale_id** | **String** | Locale used to determine the translation state of a key when filtering for untranslated or translated keys. | [optional]
|
|
10
10
|
**tags** | **String** | Tag or comma-separated list of tags to add to the matching collection of keys | [optional]
|
|
11
11
|
|
data/docs/KeysUntagParameters.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**branch** | **String** | specify the branch to use | [optional]
|
|
8
|
-
**q** | **String** | Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id
|
|
8
|
+
**q** | **String** | Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id,...</code> to filter keys unmentioned within upload. When multiple upload IDs provided, matches only keys not mentioned in <strong>all</strong> uploads</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>. | [optional]
|
|
9
9
|
**locale_id** | **String** | Locale used to determine the translation state of a key when filtering for untranslated or translated keys. | [optional]
|
|
10
10
|
**tags** | **String** | Tag or comma-separated list of tags to remove from the matching collection of keys | [optional]
|
|
11
11
|
|
data/docs/LocalesApi.md
CHANGED
|
@@ -255,7 +255,8 @@ opts = {
|
|
|
255
255
|
source_locale_id: 'source_locale_id_example', # String | Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a <code>tag</code> parameter indicating a specific job.
|
|
256
256
|
translation_key_prefix: 'prefix_', # String | Download all translation keys, and remove the specified prefix where possible. Warning: this may create duplicate key names if other keys share the same name after the prefix is removed.
|
|
257
257
|
filter_by_prefix: true, # Boolean | Only download translation keys containing the specified prefix, and remove the prefix from the generated file.
|
|
258
|
-
custom_metadata_filters: { key: 3.56} # Object | Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download.
|
|
258
|
+
custom_metadata_filters: { key: 3.56}, # Object | Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download.
|
|
259
|
+
locale_ids: ['inner_example'] # Array<String> | Locale IDs or locale names
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
begin
|
|
@@ -296,6 +297,7 @@ Name | Type | Description | Notes
|
|
|
296
297
|
**translation_key_prefix** | **String**| Download all translation keys, and remove the specified prefix where possible. Warning: this may create duplicate key names if other keys share the same name after the prefix is removed. | [optional]
|
|
297
298
|
**filter_by_prefix** | **Boolean**| Only download translation keys containing the specified prefix, and remove the prefix from the generated file. | [optional]
|
|
298
299
|
**custom_metadata_filters** | [**Object**](.md)| Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download. | [optional]
|
|
300
|
+
**locale_ids** | [**Array<String>**](String.md)| Locale IDs or locale names | [optional]
|
|
299
301
|
|
|
300
302
|
### Return type
|
|
301
303
|
|
|
@@ -37,7 +37,7 @@ instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
|
|
|
37
37
|
main_format: yml,
|
|
38
38
|
media: Python,
|
|
39
39
|
shares_translation_memory: true,
|
|
40
|
-
project_image: [B@
|
|
40
|
+
project_image: [B@536d655f,
|
|
41
41
|
remove_project_image: null,
|
|
42
42
|
account_id: abcd1234,
|
|
43
43
|
point_of_contact: abcd1234,
|
|
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
|
|
|
26
26
|
**autotranslate_mark_as_unverified** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
|
27
27
|
**autotranslate_use_machine_translation** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
|
28
28
|
**autotranslate_use_translation_memory** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
|
|
29
|
+
**default_encoding** | **String** | (Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the <a href='#post-/projects/-project_id-/uploads'>`file_encoding`</a> parameter for Uploads. | [optional]
|
|
29
30
|
|
|
30
31
|
## Code Sample
|
|
31
32
|
|
|
@@ -38,7 +39,7 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
|
|
|
38
39
|
main_format: yml,
|
|
39
40
|
media: Python,
|
|
40
41
|
shares_translation_memory: true,
|
|
41
|
-
project_image: [B@
|
|
42
|
+
project_image: [B@3bf47d1e,
|
|
42
43
|
remove_project_image: false,
|
|
43
44
|
workflow: review,
|
|
44
45
|
machine_translation_enabled: true,
|
|
@@ -53,7 +54,8 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
|
|
|
53
54
|
autotranslate_check_new_locales: true,
|
|
54
55
|
autotranslate_mark_as_unverified: true,
|
|
55
56
|
autotranslate_use_machine_translation: true,
|
|
56
|
-
autotranslate_use_translation_memory: true
|
|
57
|
+
autotranslate_use_translation_memory: true,
|
|
58
|
+
default_encoding: UTF-8)
|
|
57
59
|
```
|
|
58
60
|
|
|
59
61
|
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://api.phrase.com/v2*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**quality_performance_score_list**](QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## quality_performance_score_list
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> QualityPerformanceScoreList200Response quality_performance_score_list(project_id, quality_performance_score_list_request, opts)
|
|
14
14
|
|
|
15
15
|
Get Translation Quality
|
|
16
16
|
|
|
@@ -34,17 +34,17 @@ end
|
|
|
34
34
|
|
|
35
35
|
api_instance = Phrase::QualityPerformanceScoreApi.new
|
|
36
36
|
project_id = 'project_id_example' # String | Project ID
|
|
37
|
-
|
|
37
|
+
quality_performance_score_list_request = Phrase::QualityPerformanceScoreListRequest.new # QualityPerformanceScoreListRequest |
|
|
38
38
|
opts = {
|
|
39
39
|
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
begin
|
|
43
43
|
#Get Translation Quality
|
|
44
|
-
result = api_instance.
|
|
44
|
+
result = api_instance.quality_performance_score_list(project_id, quality_performance_score_list_request, opts)
|
|
45
45
|
pp result
|
|
46
46
|
rescue Phrase::ApiError => e
|
|
47
|
-
puts "Exception when calling QualityPerformanceScoreApi->
|
|
47
|
+
puts "Exception when calling QualityPerformanceScoreApi->quality_performance_score_list: #{e}"
|
|
48
48
|
end
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -54,12 +54,12 @@ end
|
|
|
54
54
|
Name | Type | Description | Notes
|
|
55
55
|
------------- | ------------- | ------------- | -------------
|
|
56
56
|
**project_id** | **String**| Project ID |
|
|
57
|
-
**
|
|
57
|
+
**quality_performance_score_list_request** | [**QualityPerformanceScoreListRequest**](QualityPerformanceScoreListRequest.md)| |
|
|
58
58
|
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
|
59
59
|
|
|
60
60
|
### Return type
|
|
61
61
|
|
|
62
|
-
Response<([**
|
|
62
|
+
Response<([**QualityPerformanceScoreList200Response**](QualityPerformanceScoreList200Response.md))>
|
|
63
63
|
|
|
64
64
|
### Authorization
|
|
65
65
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Phrase::QualityPerformanceScoreList200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**error** | [**ErrorError**](ErrorError.md) | | [optional]
|
|
8
|
+
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
|
|
9
|
+
**errors** | [**Array<QualityPerformanceScoreList200ResponseAnyOfErrorsInner>**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'Phrase'
|
|
15
|
+
|
|
16
|
+
instance = Phrase::QualityPerformanceScoreList200Response.new(error: null,
|
|
17
|
+
data: null,
|
|
18
|
+
errors: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Phrase::QualityPerformanceScoreList200ResponseAnyOf
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
|
|
8
|
+
**errors** | [**Array<QualityPerformanceScoreList200ResponseAnyOfErrorsInner>**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'Phrase'
|
|
14
|
+
|
|
15
|
+
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOf.new(data: null,
|
|
16
|
+
errors: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phrase::QualityPerformanceScoreList200ResponseAnyOfData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**translations** | [**Array<QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner>**](QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
## Code Sample
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'Phrase'
|
|
13
|
+
|
|
14
|
+
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfData.new(translations: null)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Phrase::
|
|
1
|
+
# Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
```ruby
|
|
14
14
|
require 'Phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::
|
|
16
|
+
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.new(engine: null,
|
|
17
17
|
score: null,
|
|
18
18
|
id: null)
|
|
19
19
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Phrase::
|
|
1
|
+
# Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
```ruby
|
|
14
14
|
require 'Phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::
|
|
16
|
+
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner.new(message: null,
|
|
17
17
|
code: null,
|
|
18
18
|
id: null)
|
|
19
19
|
```
|
data/docs/{ProjectsQualityPerformanceScoreRequest.md → QualityPerformanceScoreListRequest.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Phrase::
|
|
1
|
+
# Phrase::QualityPerformanceScoreListRequest
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'Phrase'
|
|
13
13
|
|
|
14
|
-
instance = Phrase::
|
|
14
|
+
instance = Phrase::QualityPerformanceScoreListRequest.new(translation_ids: null)
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
data/docs/RepoSyncEvent.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**id** | **String** | | [optional]
|
|
8
|
-
**
|
|
8
|
+
**type** | **String** | | [optional]
|
|
9
9
|
**created_at** | **Time** | | [optional]
|
|
10
10
|
**status** | **String** | | [optional]
|
|
11
11
|
**pull_request_url** | **String** | URL of the pull request created on export | [optional]
|
|
12
12
|
**auto_import** | **Boolean** | Whether the import was triggered by the repo push event | [optional]
|
|
13
|
-
**errors** |
|
|
13
|
+
**errors** | **Array<String>** | List of error messages, in case of failure | [optional]
|
|
14
14
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
require 'Phrase'
|
|
19
19
|
|
|
20
20
|
instance = Phrase::RepoSyncEvent.new(id: null,
|
|
21
|
-
|
|
21
|
+
type: null,
|
|
22
22
|
created_at: null,
|
|
23
23
|
status: null,
|
|
24
24
|
pull_request_url: null,
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# Phrase::RepoSyncEventsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.phrase.com/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**repo_sync_event_list**](RepoSyncEventsApi.md#repo_sync_event_list) | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
|
|
8
|
+
[**repo_sync_event_show**](RepoSyncEventsApi.md#repo_sync_event_show) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events/{id} | Get a single Repo Sync Event
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## repo_sync_event_list
|
|
13
|
+
|
|
14
|
+
> Array<RepoSyncEvent> repo_sync_event_list(account_id, id, opts)
|
|
15
|
+
|
|
16
|
+
Repository Syncs History
|
|
17
|
+
|
|
18
|
+
Get the history of a single Repo Sync. The history includes all imports and exports performed by the Repo Sync.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
# load the gem
|
|
24
|
+
require 'phrase'
|
|
25
|
+
# setup authorization
|
|
26
|
+
Phrase.configure do |config|
|
|
27
|
+
# Configure HTTP basic authorization: Basic
|
|
28
|
+
config.username = 'YOUR USERNAME'
|
|
29
|
+
config.password = 'YOUR PASSWORD'
|
|
30
|
+
|
|
31
|
+
# Configure API key authorization: Token
|
|
32
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
33
|
+
config.api_key_prefix['Authorization'] = 'token'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
api_instance = Phrase::RepoSyncEventsApi.new
|
|
37
|
+
account_id = 'account_id_example' # String | Account ID
|
|
38
|
+
id = 'id_example' # String | ID
|
|
39
|
+
opts = {
|
|
40
|
+
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
begin
|
|
44
|
+
#Repository Syncs History
|
|
45
|
+
result = api_instance.repo_sync_event_list(account_id, id, opts)
|
|
46
|
+
pp result
|
|
47
|
+
rescue Phrase::ApiError => e
|
|
48
|
+
puts "Exception when calling RepoSyncEventsApi->repo_sync_event_list: #{e}"
|
|
49
|
+
end
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Parameters
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
Name | Type | Description | Notes
|
|
56
|
+
------------- | ------------- | ------------- | -------------
|
|
57
|
+
**account_id** | **String**| Account ID |
|
|
58
|
+
**id** | **String**| ID |
|
|
59
|
+
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
Response<([**Array<RepoSyncEvent>**](RepoSyncEvent.md))>
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: Not defined
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## repo_sync_event_show
|
|
76
|
+
|
|
77
|
+
> RepoSyncEvent repo_sync_event_show(account_id, repo_sync_id, id, opts)
|
|
78
|
+
|
|
79
|
+
Get a single Repo Sync Event
|
|
80
|
+
|
|
81
|
+
Shows a single Repo Sync event.
|
|
82
|
+
|
|
83
|
+
### Example
|
|
84
|
+
|
|
85
|
+
```ruby
|
|
86
|
+
# load the gem
|
|
87
|
+
require 'phrase'
|
|
88
|
+
# setup authorization
|
|
89
|
+
Phrase.configure do |config|
|
|
90
|
+
# Configure HTTP basic authorization: Basic
|
|
91
|
+
config.username = 'YOUR USERNAME'
|
|
92
|
+
config.password = 'YOUR PASSWORD'
|
|
93
|
+
|
|
94
|
+
# Configure API key authorization: Token
|
|
95
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
96
|
+
config.api_key_prefix['Authorization'] = 'token'
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
api_instance = Phrase::RepoSyncEventsApi.new
|
|
100
|
+
account_id = 'account_id_example' # String | Account ID
|
|
101
|
+
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
|
|
102
|
+
id = 'id_example' # String | ID
|
|
103
|
+
opts = {
|
|
104
|
+
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
begin
|
|
108
|
+
#Get a single Repo Sync Event
|
|
109
|
+
result = api_instance.repo_sync_event_show(account_id, repo_sync_id, id, opts)
|
|
110
|
+
pp result
|
|
111
|
+
rescue Phrase::ApiError => e
|
|
112
|
+
puts "Exception when calling RepoSyncEventsApi->repo_sync_event_show: #{e}"
|
|
113
|
+
end
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Parameters
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
Name | Type | Description | Notes
|
|
120
|
+
------------- | ------------- | ------------- | -------------
|
|
121
|
+
**account_id** | **String**| Account ID |
|
|
122
|
+
**repo_sync_id** | **String**| Repo Sync ID |
|
|
123
|
+
**id** | **String**| ID |
|
|
124
|
+
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
|
125
|
+
|
|
126
|
+
### Return type
|
|
127
|
+
|
|
128
|
+
Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
|
|
129
|
+
|
|
130
|
+
### Authorization
|
|
131
|
+
|
|
132
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
|
133
|
+
|
|
134
|
+
### HTTP request headers
|
|
135
|
+
|
|
136
|
+
- **Content-Type**: Not defined
|
|
137
|
+
- **Accept**: application/json
|
|
138
|
+
|
data/docs/RepoSyncsApi.md
CHANGED
|
@@ -6,8 +6,6 @@ Method | HTTP request | Description
|
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**repo_sync_activate**](RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync
|
|
8
8
|
[**repo_sync_deactivate**](RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync
|
|
9
|
-
[**repo_sync_event_show**](RepoSyncsApi.md#repo_sync_event_show) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events/{id} | Get a single Repo Sync Event
|
|
10
|
-
[**repo_sync_events**](RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
|
|
11
9
|
[**repo_sync_export**](RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository
|
|
12
10
|
[**repo_sync_import**](RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository
|
|
13
11
|
[**repo_sync_list**](RepoSyncsApi.md#repo_sync_list) | **GET** /accounts/{account_id}/repo_syncs | Get Repo Syncs
|
|
@@ -141,141 +139,13 @@ Response<([**RepoSync**](RepoSync.md))>
|
|
|
141
139
|
- **Accept**: application/json
|
|
142
140
|
|
|
143
141
|
|
|
144
|
-
## repo_sync_event_show
|
|
145
|
-
|
|
146
|
-
> RepoSyncEvent repo_sync_event_show(account_id, repo_sync_id, id, opts)
|
|
147
|
-
|
|
148
|
-
Get a single Repo Sync Event
|
|
149
|
-
|
|
150
|
-
Shows a single Repo Sync event.
|
|
151
|
-
|
|
152
|
-
### Example
|
|
153
|
-
|
|
154
|
-
```ruby
|
|
155
|
-
# load the gem
|
|
156
|
-
require 'phrase'
|
|
157
|
-
# setup authorization
|
|
158
|
-
Phrase.configure do |config|
|
|
159
|
-
# Configure HTTP basic authorization: Basic
|
|
160
|
-
config.username = 'YOUR USERNAME'
|
|
161
|
-
config.password = 'YOUR PASSWORD'
|
|
162
|
-
|
|
163
|
-
# Configure API key authorization: Token
|
|
164
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
165
|
-
config.api_key_prefix['Authorization'] = 'token'
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
api_instance = Phrase::RepoSyncsApi.new
|
|
169
|
-
account_id = 'account_id_example' # String | Account ID
|
|
170
|
-
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
|
|
171
|
-
id = 'id_example' # String | ID
|
|
172
|
-
opts = {
|
|
173
|
-
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
begin
|
|
177
|
-
#Get a single Repo Sync Event
|
|
178
|
-
result = api_instance.repo_sync_event_show(account_id, repo_sync_id, id, opts)
|
|
179
|
-
pp result
|
|
180
|
-
rescue Phrase::ApiError => e
|
|
181
|
-
puts "Exception when calling RepoSyncsApi->repo_sync_event_show: #{e}"
|
|
182
|
-
end
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### Parameters
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
Name | Type | Description | Notes
|
|
189
|
-
------------- | ------------- | ------------- | -------------
|
|
190
|
-
**account_id** | **String**| Account ID |
|
|
191
|
-
**repo_sync_id** | **String**| Repo Sync ID |
|
|
192
|
-
**id** | **String**| ID |
|
|
193
|
-
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
|
194
|
-
|
|
195
|
-
### Return type
|
|
196
|
-
|
|
197
|
-
Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
|
|
198
|
-
|
|
199
|
-
### Authorization
|
|
200
|
-
|
|
201
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
|
202
|
-
|
|
203
|
-
### HTTP request headers
|
|
204
|
-
|
|
205
|
-
- **Content-Type**: Not defined
|
|
206
|
-
- **Accept**: application/json
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
## repo_sync_events
|
|
210
|
-
|
|
211
|
-
> Array<RepoSyncEvent> repo_sync_events(account_id, id, opts)
|
|
212
|
-
|
|
213
|
-
Repository Syncs History
|
|
214
|
-
|
|
215
|
-
Get the history of a single Repo Sync. The history includes all imports and exports performed by the Repo Sync.
|
|
216
|
-
|
|
217
|
-
### Example
|
|
218
|
-
|
|
219
|
-
```ruby
|
|
220
|
-
# load the gem
|
|
221
|
-
require 'phrase'
|
|
222
|
-
# setup authorization
|
|
223
|
-
Phrase.configure do |config|
|
|
224
|
-
# Configure HTTP basic authorization: Basic
|
|
225
|
-
config.username = 'YOUR USERNAME'
|
|
226
|
-
config.password = 'YOUR PASSWORD'
|
|
227
|
-
|
|
228
|
-
# Configure API key authorization: Token
|
|
229
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
230
|
-
config.api_key_prefix['Authorization'] = 'token'
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
api_instance = Phrase::RepoSyncsApi.new
|
|
234
|
-
account_id = 'account_id_example' # String | Account ID
|
|
235
|
-
id = 'id_example' # String | ID
|
|
236
|
-
opts = {
|
|
237
|
-
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
begin
|
|
241
|
-
#Repository Syncs History
|
|
242
|
-
result = api_instance.repo_sync_events(account_id, id, opts)
|
|
243
|
-
pp result
|
|
244
|
-
rescue Phrase::ApiError => e
|
|
245
|
-
puts "Exception when calling RepoSyncsApi->repo_sync_events: #{e}"
|
|
246
|
-
end
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
### Parameters
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
Name | Type | Description | Notes
|
|
253
|
-
------------- | ------------- | ------------- | -------------
|
|
254
|
-
**account_id** | **String**| Account ID |
|
|
255
|
-
**id** | **String**| ID |
|
|
256
|
-
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
|
257
|
-
|
|
258
|
-
### Return type
|
|
259
|
-
|
|
260
|
-
Response<([**Array<RepoSyncEvent>**](RepoSyncEvent.md))>
|
|
261
|
-
|
|
262
|
-
### Authorization
|
|
263
|
-
|
|
264
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
|
265
|
-
|
|
266
|
-
### HTTP request headers
|
|
267
|
-
|
|
268
|
-
- **Content-Type**: Not defined
|
|
269
|
-
- **Accept**: application/json
|
|
270
|
-
|
|
271
|
-
|
|
272
142
|
## repo_sync_export
|
|
273
143
|
|
|
274
144
|
> RepoSyncEvent repo_sync_export(account_id, id, opts)
|
|
275
145
|
|
|
276
146
|
Export to code repository
|
|
277
147
|
|
|
278
|
-
|
|
148
|
+
Export translations from Phrase Strings to repository provider according to the .phrase.yml file within the code repository. *Export is done asynchronously and may take several seconds depending on the project size.*
|
|
279
149
|
|
|
280
150
|
### Example
|
|
281
151
|
|
|
@@ -338,7 +208,7 @@ Response<([**RepoSyncEvent**](RepoSyncEvent.md))>
|
|
|
338
208
|
|
|
339
209
|
Import from code repository
|
|
340
210
|
|
|
341
|
-
|
|
211
|
+
Import translations from repository provider to Phrase Strings according to the .phrase.yml file within the code repository. _Import is done asynchronously and may take several seconds depending on the project size._
|
|
342
212
|
|
|
343
213
|
### Example
|
|
344
214
|
|
data/docs/Upload.md
CHANGED
|
@@ -8,7 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**filename** | **String** | | [optional]
|
|
9
9
|
**format** | **String** | | [optional]
|
|
10
10
|
**state** | **String** | | [optional]
|
|
11
|
-
**tag** | **String** | | [optional]
|
|
11
|
+
**tag** | **String** | Unique tag of the upload | [optional]
|
|
12
|
+
**tags** | **Array<String>** | List of tags that were assigned to the uploaded keys | [optional]
|
|
12
13
|
**url** | **String** | The URL to the upload in Phrase Strings app. | [optional]
|
|
13
14
|
**summary** | [**UploadSummary**](UploadSummary.md) | | [optional]
|
|
14
15
|
**created_at** | **Time** | | [optional]
|
|
@@ -24,6 +25,7 @@ instance = Phrase::Upload.new(id: null,
|
|
|
24
25
|
format: null,
|
|
25
26
|
state: null,
|
|
26
27
|
tag: null,
|
|
28
|
+
tags: null,
|
|
27
29
|
url: null,
|
|
28
30
|
summary: null,
|
|
29
31
|
created_at: null,
|
|
@@ -94,7 +94,7 @@ module Phrase
|
|
|
94
94
|
# @param id [String] ID
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
97
|
-
# @option opts [String] :branch
|
|
97
|
+
# @option opts [String] :branch Branch to use
|
|
98
98
|
# @return [nil]
|
|
99
99
|
def job_comment_delete(project_id, job_id, id, opts = {})
|
|
100
100
|
data, _status_code, _headers = job_comment_delete_with_http_info(project_id, job_id, id, opts)
|
|
@@ -108,7 +108,7 @@ module Phrase
|
|
|
108
108
|
# @param id [String] ID
|
|
109
109
|
# @param [Hash] opts the optional parameters
|
|
110
110
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
111
|
-
# @option opts [String] :branch
|
|
111
|
+
# @option opts [String] :branch Branch to use
|
|
112
112
|
# @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers
|
|
113
113
|
def job_comment_delete_with_http_info(project_id, job_id, id, opts = {})
|
|
114
114
|
if @api_client.config.debugging
|
|
@@ -173,7 +173,7 @@ module Phrase
|
|
|
173
173
|
# @param id [String] ID
|
|
174
174
|
# @param [Hash] opts the optional parameters
|
|
175
175
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
176
|
-
# @option opts [String] :branch
|
|
176
|
+
# @option opts [String] :branch Branch to use
|
|
177
177
|
# @return [JobComment]
|
|
178
178
|
def job_comment_show(project_id, job_id, id, opts = {})
|
|
179
179
|
data, _status_code, _headers = job_comment_show_with_http_info(project_id, job_id, id, opts)
|
|
@@ -187,7 +187,7 @@ module Phrase
|
|
|
187
187
|
# @param id [String] ID
|
|
188
188
|
# @param [Hash] opts the optional parameters
|
|
189
189
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
190
|
-
# @option opts [String] :branch
|
|
190
|
+
# @option opts [String] :branch Branch to use
|
|
191
191
|
# @return [Array<(Response<(JobComment)>, Integer, Hash)>] Response<(JobComment)> data, response status code and response headers
|
|
192
192
|
def job_comment_show_with_http_info(project_id, job_id, id, opts = {})
|
|
193
193
|
if @api_client.config.debugging
|
|
@@ -339,7 +339,7 @@ module Phrase
|
|
|
339
339
|
# @param job_id [String] Job ID
|
|
340
340
|
# @param [Hash] opts the optional parameters
|
|
341
341
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
342
|
-
# @option opts [String] :branch
|
|
342
|
+
# @option opts [String] :branch Branch to use
|
|
343
343
|
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
|
344
344
|
# @return [Array<JobComment>]
|
|
345
345
|
def job_comments_list(project_id, job_id, opts = {})
|
|
@@ -353,7 +353,7 @@ module Phrase
|
|
|
353
353
|
# @param job_id [String] Job ID
|
|
354
354
|
# @param [Hash] opts the optional parameters
|
|
355
355
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
356
|
-
# @option opts [String] :branch
|
|
356
|
+
# @option opts [String] :branch Branch to use
|
|
357
357
|
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
|
358
358
|
# @return [Array<(Response<(Array<JobComment>)>, Integer, Hash)>] Response<(Array<JobComment>)> data, response status code and response headers
|
|
359
359
|
def job_comments_list_with_http_info(project_id, job_id, opts = {})
|