phrase 2.6.0 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -22
  3. data/docs/BlacklistedKeyCreateParameters.md +1 -1
  4. data/docs/BlacklistedKeyUpdateParameters.md +1 -1
  5. data/docs/BlacklistedKeysApi.md +20 -20
  6. data/docs/DistributionCreateParameters.md +2 -0
  7. data/docs/DistributionUpdateParameters.md +2 -0
  8. data/docs/GlossariesApi.md +20 -20
  9. data/docs/GlossaryTermTranslationsApi.md +12 -12
  10. data/docs/GlossaryTermsApi.md +20 -20
  11. data/docs/Invitation.md +3 -3
  12. data/docs/JobComment.md +29 -0
  13. data/docs/JobCommentCreateParameters.md +17 -0
  14. data/docs/JobCommentUpdateParameters.md +17 -0
  15. data/docs/JobCommentsApi.md +343 -0
  16. data/docs/JobCreateParameters.md +3 -1
  17. data/docs/JobsApi.md +130 -0
  18. data/docs/KeyCreateParameters.md +2 -0
  19. data/docs/Locale.md +2 -0
  20. data/docs/LocaleCreateParameters.md +2 -0
  21. data/docs/LocaleDetails.md +2 -0
  22. data/docs/LocaleUpdateParameters.md +2 -0
  23. data/docs/Member.md +1 -1
  24. data/docs/ScreenshotsApi.md +12 -6
  25. data/docs/StyleguideCreateParameters.md +1 -1
  26. data/docs/StyleguideUpdateParameters.md +1 -1
  27. data/docs/{Team1.md → TeamShort.md} +2 -2
  28. data/docs/VersionsHistoryApi.md +1 -1
  29. data/lib/phrase/api/blacklisted_keys_api.rb +20 -20
  30. data/lib/phrase/api/glossaries_api.rb +20 -20
  31. data/lib/phrase/api/glossary_term_translations_api.rb +12 -12
  32. data/lib/phrase/api/glossary_terms_api.rb +20 -20
  33. data/lib/phrase/api/job_comments_api.rb +411 -0
  34. data/lib/phrase/api/jobs_api.rb +146 -0
  35. data/lib/phrase/api/screenshots_api.rb +17 -11
  36. data/lib/phrase/api/versions_history_api.rb +2 -2
  37. data/lib/phrase/models/blacklisted_key_create_parameters.rb +1 -1
  38. data/lib/phrase/models/blacklisted_key_update_parameters.rb +1 -1
  39. data/lib/phrase/models/distribution_create_parameters.rb +11 -1
  40. data/lib/phrase/models/distribution_update_parameters.rb +11 -1
  41. data/lib/phrase/models/invitation.rb +13 -13
  42. data/lib/phrase/models/job_comment.rb +250 -0
  43. data/lib/phrase/models/job_comment_create_parameters.rb +195 -0
  44. data/lib/phrase/models/job_comment_update_parameters.rb +195 -0
  45. data/lib/phrase/models/job_create_parameters.rb +14 -4
  46. data/lib/phrase/models/key_create_parameters.rb +11 -1
  47. data/lib/phrase/models/locale.rb +10 -1
  48. data/lib/phrase/models/locale_create_parameters.rb +11 -1
  49. data/lib/phrase/models/locale_details.rb +10 -1
  50. data/lib/phrase/models/locale_update_parameters.rb +11 -1
  51. data/lib/phrase/models/member.rb +1 -1
  52. data/lib/phrase/models/{team1.rb → team_short.rb} +3 -3
  53. data/lib/phrase/version.rb +1 -1
  54. data/lib/phrase.rb +5 -1
  55. data/spec/api/blacklisted_keys_api_spec.rb +10 -10
  56. data/spec/api/glossaries_api_spec.rb +10 -10
  57. data/spec/api/glossary_term_translations_api_spec.rb +6 -6
  58. data/spec/api/glossary_terms_api_spec.rb +10 -10
  59. data/spec/api/job_comments_api_spec.rb +101 -0
  60. data/spec/api/jobs_api_spec.rb +30 -0
  61. data/spec/api/screenshots_api_spec.rb +4 -1
  62. data/spec/api/versions_history_api_spec.rb +1 -1
  63. data/spec/models/distribution_create_parameters_spec.rb +6 -0
  64. data/spec/models/distribution_update_parameters_spec.rb +6 -0
  65. data/spec/models/invitation_spec.rb +6 -6
  66. data/spec/models/job_comment_create_parameters_spec.rb +29 -0
  67. data/spec/models/job_comment_spec.rb +65 -0
  68. data/spec/models/job_comment_update_parameters_spec.rb +29 -0
  69. data/spec/models/job_create_parameters_spec.rb +6 -0
  70. data/spec/models/key_create_parameters_spec.rb +6 -0
  71. data/spec/models/locale_create_parameters_spec.rb +6 -0
  72. data/spec/models/locale_details_spec.rb +6 -0
  73. data/spec/models/locale_spec.rb +6 -0
  74. data/spec/models/locale_update_parameters_spec.rb +6 -0
  75. data/spec/models/{team1_spec.rb → team_short_spec.rb} +6 -6
  76. metadata +218 -202
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **main** | **Boolean** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Verification System</a> feature. | [optional]
12
12
  **rtl** | **Boolean** | Indicates whether locale is a RTL (Right-to-Left) locale. | [optional]
13
13
  **source_locale_id** | **String** | Source locale. Can be the name or public id of the locale. Preferred is the public id. | [optional]
14
+ **fallback_locale_id** | **String** | Fallback locale for empty translations. Can be a locale name or id. | [optional]
14
15
  **unverify_new_translations** | **Boolean** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
15
16
  **unverify_updated_translations** | **Boolean** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
16
17
  **autotranslate** | **Boolean** | If set, translations for this locale will be fetched automatically, right after creation. | [optional]
@@ -27,6 +28,7 @@ instance = Phrase::LocaleUpdateParameters.new(branch: my-feature-branch,
27
28
  main: null,
28
29
  rtl: null,
29
30
  source_locale_id: abcd1234abcd1234abcd1234abcd1234,
31
+ fallback_locale_id: abcd1234abcd1234abcd1234abcd1234,
30
32
  unverify_new_translations: null,
31
33
  unverify_updated_translations: null,
32
34
  autotranslate: null)
data/docs/Member.md CHANGED
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  **projects** | [**Array<ProjectLocales>**](ProjectLocales.md) | | [optional]
14
14
  **permissions** | [**Object**](.md) | | [optional]
15
15
  **default_locale_codes** | **Array<String>** | | [optional]
16
- **teams** | [**Array<Team1>**](Team1.md) | | [optional]
16
+ **teams** | [**Array<TeamShort>**](TeamShort.md) | | [optional]
17
17
  **spaces** | [**Array<MemberSpaces>**](MemberSpaces.md) | | [optional]
18
18
 
19
19
  ## Code Sample
@@ -14,7 +14,7 @@ Method | HTTP request | Description
14
14
 
15
15
  ## screenshot_create
16
16
 
17
- > Screenshot screenshot_create(project_id, screenshot_create_parameters, opts)
17
+ > Screenshot screenshot_create(project_id, opts)
18
18
 
19
19
  Create a screenshot
20
20
 
@@ -38,14 +38,17 @@ end
38
38
 
39
39
  api_instance = Phrase::ScreenshotsApi.new
40
40
  project_id = 'project_id_example' # String | Project ID
41
- screenshot_create_parameters = Phrase::ScreenshotCreateParameters.new # ScreenshotCreateParameters |
42
41
  opts = {
43
- x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
42
+ x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
43
+ branch: 'branch_example', # String | specify the branch to use
44
+ name: 'name_example', # String | Name of the screenshot
45
+ description: 'description_example', # String | Description of the screenshot
46
+ filename: File.new('/path/to/file') # File | Screenshot file
44
47
  }
45
48
 
46
49
  begin
47
50
  #Create a screenshot
48
- result = api_instance.screenshot_create(project_id, screenshot_create_parameters, opts)
51
+ result = api_instance.screenshot_create(project_id, opts)
49
52
  pp result
50
53
  rescue Phrase::ApiError => e
51
54
  puts "Exception when calling ScreenshotsApi->screenshot_create: #{e}"
@@ -58,8 +61,11 @@ end
58
61
  Name | Type | Description | Notes
59
62
  ------------- | ------------- | ------------- | -------------
60
63
  **project_id** | **String**| Project ID |
61
- **screenshot_create_parameters** | [**ScreenshotCreateParameters**](ScreenshotCreateParameters.md)| |
62
64
  **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
65
+ **branch** | **String**| specify the branch to use | [optional]
66
+ **name** | **String**| Name of the screenshot | [optional]
67
+ **description** | **String**| Description of the screenshot | [optional]
68
+ **filename** | **File**| Screenshot file | [optional]
63
69
 
64
70
  ### Return type
65
71
 
@@ -71,7 +77,7 @@ Response<([**Screenshot**](Screenshot.md))>
71
77
 
72
78
  ### HTTP request headers
73
79
 
74
- - **Content-Type**: application/json
80
+ - **Content-Type**: multipart/form-data
75
81
  - **Accept**: application/json
76
82
 
77
83
 
@@ -31,7 +31,7 @@ instance = Phrase::StyleguideCreateParameters.new(title: Web application style g
31
31
  business: We are a travel site that helps customers find the best hotels and flights.,
32
32
  company_branding: ACME Inc. should never be translated.,
33
33
  formatting: Never use capital letters,
34
- glossary_terms: Appartement, cabin, loft,
34
+ glossary_terms: Apartment, cabin, loft,
35
35
  grammar_consistency: null,
36
36
  literal_translation: Neutral,
37
37
  overall_tone: Tone should be fun and light,
@@ -31,7 +31,7 @@ instance = Phrase::StyleguideUpdateParameters.new(title: Web application style g
31
31
  business: We are a travel site that helps customers find the best hotels and flights.,
32
32
  company_branding: ACME Inc. should never be translated.,
33
33
  formatting: Never use capital letters,
34
- glossary_terms: Appartement, cabin, loft,
34
+ glossary_terms: Apartment, cabin, loft,
35
35
  grammar_consistency: null,
36
36
  literal_translation: Neutral,
37
37
  overall_tone: Tone should be fun and light,
@@ -1,4 +1,4 @@
1
- # Phrase::Team1
1
+ # Phrase::TeamShort
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Phrase'
16
16
 
17
- instance = Phrase::Team1.new(id: null,
17
+ instance = Phrase::TeamShort.new(id: null,
18
18
  name: null,
19
19
  created_at: null,
20
20
  updated_at: null)
@@ -82,7 +82,7 @@ Response<([**TranslationVersionWithUser**](TranslationVersionWithUser.md))>
82
82
 
83
83
  List all versions
84
84
 
85
- List all versions for the given translation.
85
+ List all changes done to a given translation.
86
86
 
87
87
  ### Example
88
88
 
@@ -7,8 +7,8 @@ module Phrase
7
7
  def initialize(api_client = ApiClient.default)
8
8
  @api_client = api_client
9
9
  end
10
- # Create a blacklisted key
11
- # Create a new rule for blacklisting keys.
10
+ # Create a blocked key
11
+ # Create a new rule for blocking keys.
12
12
  # @param project_id [String] Project ID
13
13
  # @param blacklisted_key_create_parameters [BlacklistedKeyCreateParameters]
14
14
  # @param [Hash] opts the optional parameters
@@ -19,8 +19,8 @@ module Phrase
19
19
  data
20
20
  end
21
21
 
22
- # Create a blacklisted key
23
- # Create a new rule for blacklisting keys.
22
+ # Create a blocked key
23
+ # Create a new rule for blocking keys.
24
24
  # @param project_id [String] Project ID
25
25
  # @param blacklisted_key_create_parameters [BlacklistedKeyCreateParameters]
26
26
  # @param [Hash] opts the optional parameters
@@ -81,8 +81,8 @@ module Phrase
81
81
  return response, status_code, headers
82
82
  end
83
83
 
84
- # Delete a blacklisted key
85
- # Delete an existing rule for blacklisting keys.
84
+ # Delete a blocked key
85
+ # Delete an existing rule for blocking keys.
86
86
  # @param project_id [String] Project ID
87
87
  # @param id [String] ID
88
88
  # @param [Hash] opts the optional parameters
@@ -93,8 +93,8 @@ module Phrase
93
93
  data
94
94
  end
95
95
 
96
- # Delete a blacklisted key
97
- # Delete an existing rule for blacklisting keys.
96
+ # Delete a blocked key
97
+ # Delete an existing rule for blocking keys.
98
98
  # @param project_id [String] Project ID
99
99
  # @param id [String] ID
100
100
  # @param [Hash] opts the optional parameters
@@ -151,8 +151,8 @@ module Phrase
151
151
  return response, status_code, headers
152
152
  end
153
153
 
154
- # Get a single blacklisted key
155
- # Get details on a single rule for blacklisting keys for a given project.
154
+ # Get a single blocked key
155
+ # Get details on a single rule for blocking keys for a given project.
156
156
  # @param project_id [String] Project ID
157
157
  # @param id [String] ID
158
158
  # @param [Hash] opts the optional parameters
@@ -163,8 +163,8 @@ module Phrase
163
163
  data
164
164
  end
165
165
 
166
- # Get a single blacklisted key
167
- # Get details on a single rule for blacklisting keys for a given project.
166
+ # Get a single blocked key
167
+ # Get details on a single rule for blocking keys for a given project.
168
168
  # @param project_id [String] Project ID
169
169
  # @param id [String] ID
170
170
  # @param [Hash] opts the optional parameters
@@ -223,8 +223,8 @@ module Phrase
223
223
  return response, status_code, headers
224
224
  end
225
225
 
226
- # Update a blacklisted key
227
- # Update an existing rule for blacklisting keys.
226
+ # Update a blocked key
227
+ # Update an existing rule for blocking keys.
228
228
  # @param project_id [String] Project ID
229
229
  # @param id [String] ID
230
230
  # @param blacklisted_key_update_parameters [BlacklistedKeyUpdateParameters]
@@ -236,8 +236,8 @@ module Phrase
236
236
  data
237
237
  end
238
238
 
239
- # Update a blacklisted key
240
- # Update an existing rule for blacklisting keys.
239
+ # Update a blocked key
240
+ # Update an existing rule for blocking keys.
241
241
  # @param project_id [String] Project ID
242
242
  # @param id [String] ID
243
243
  # @param blacklisted_key_update_parameters [BlacklistedKeyUpdateParameters]
@@ -303,8 +303,8 @@ module Phrase
303
303
  return response, status_code, headers
304
304
  end
305
305
 
306
- # List blacklisted keys
307
- # List all rules for blacklisting keys for the given project.
306
+ # List blocked keys
307
+ # List all rules for blocking keys for the given project.
308
308
  # @param project_id [String] Project ID
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -317,8 +317,8 @@ module Phrase
317
317
  data
318
318
  end
319
319
 
320
- # List blacklisted keys
321
- # List all rules for blacklisting keys for the given project.
320
+ # List blocked keys
321
+ # List all rules for blocking keys for the given project.
322
322
  # @param project_id [String] Project ID
323
323
  # @param [Hash] opts the optional parameters
324
324
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -7,8 +7,8 @@ module Phrase
7
7
  def initialize(api_client = ApiClient.default)
8
8
  @api_client = api_client
9
9
  end
10
- # List glossaries
11
- # List all glossaries the current user has access to.
10
+ # List term bases
11
+ # List all term bases (previously: glossaries) the current user has access to.
12
12
  # @param account_id [String] Account ID
13
13
  # @param [Hash] opts the optional parameters
14
14
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -20,8 +20,8 @@ module Phrase
20
20
  data
21
21
  end
22
22
 
23
- # List glossaries
24
- # List all glossaries the current user has access to.
23
+ # List term bases
24
+ # List all term bases (previously: glossaries) the current user has access to.
25
25
  # @param account_id [String] Account ID
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -79,8 +79,8 @@ module Phrase
79
79
  return response, status_code, headers
80
80
  end
81
81
 
82
- # Create a glossary
83
- # Create a new glossary.
82
+ # Create a term base
83
+ # Create a new term base (previously: glossary).
84
84
  # @param account_id [String] Account ID
85
85
  # @param glossary_create_parameters [GlossaryCreateParameters]
86
86
  # @param [Hash] opts the optional parameters
@@ -91,8 +91,8 @@ module Phrase
91
91
  data
92
92
  end
93
93
 
94
- # Create a glossary
95
- # Create a new glossary.
94
+ # Create a term base
95
+ # Create a new term base (previously: glossary).
96
96
  # @param account_id [String] Account ID
97
97
  # @param glossary_create_parameters [GlossaryCreateParameters]
98
98
  # @param [Hash] opts the optional parameters
@@ -153,8 +153,8 @@ module Phrase
153
153
  return response, status_code, headers
154
154
  end
155
155
 
156
- # Delete a glossary
157
- # Delete an existing glossary.
156
+ # Delete a term base
157
+ # Delete an existing term base (previously: glossary).
158
158
  # @param account_id [String] Account ID
159
159
  # @param id [String] ID
160
160
  # @param [Hash] opts the optional parameters
@@ -165,8 +165,8 @@ module Phrase
165
165
  data
166
166
  end
167
167
 
168
- # Delete a glossary
169
- # Delete an existing glossary.
168
+ # Delete a term base
169
+ # Delete an existing term base (previously: glossary).
170
170
  # @param account_id [String] Account ID
171
171
  # @param id [String] ID
172
172
  # @param [Hash] opts the optional parameters
@@ -223,8 +223,8 @@ module Phrase
223
223
  return response, status_code, headers
224
224
  end
225
225
 
226
- # Get a single glossary
227
- # Get details on a single glossary.
226
+ # Get a single term base
227
+ # Get details on a single term base (previously: glossary).
228
228
  # @param account_id [String] Account ID
229
229
  # @param id [String] ID
230
230
  # @param [Hash] opts the optional parameters
@@ -235,8 +235,8 @@ module Phrase
235
235
  data
236
236
  end
237
237
 
238
- # Get a single glossary
239
- # Get details on a single glossary.
238
+ # Get a single term base
239
+ # Get details on a single term base (previously: glossary).
240
240
  # @param account_id [String] Account ID
241
241
  # @param id [String] ID
242
242
  # @param [Hash] opts the optional parameters
@@ -295,8 +295,8 @@ module Phrase
295
295
  return response, status_code, headers
296
296
  end
297
297
 
298
- # Update a glossary
299
- # Update an existing glossary.
298
+ # Update a term base
299
+ # Update an existing term base (previously: glossary).
300
300
  # @param account_id [String] Account ID
301
301
  # @param id [String] ID
302
302
  # @param glossary_update_parameters [GlossaryUpdateParameters]
@@ -308,8 +308,8 @@ module Phrase
308
308
  data
309
309
  end
310
310
 
311
- # Update a glossary
312
- # Update an existing glossary.
311
+ # Update a term base
312
+ # Update an existing term base (previously: glossary).
313
313
  # @param account_id [String] Account ID
314
314
  # @param id [String] ID
315
315
  # @param glossary_update_parameters [GlossaryUpdateParameters]
@@ -7,8 +7,8 @@ module Phrase
7
7
  def initialize(api_client = ApiClient.default)
8
8
  @api_client = api_client
9
9
  end
10
- # Create a glossary term translation
11
- # Create a new glossary term translation.
10
+ # Create a translation for a term
11
+ # Create a new translation for a term in a term base (previously: glossary).
12
12
  # @param account_id [String] Account ID
13
13
  # @param glossary_id [String] Glossary ID
14
14
  # @param term_id [String] Term ID
@@ -21,8 +21,8 @@ module Phrase
21
21
  data
22
22
  end
23
23
 
24
- # Create a glossary term translation
25
- # Create a new glossary term translation.
24
+ # Create a translation for a term
25
+ # Create a new translation for a term in a term base (previously: glossary).
26
26
  # @param account_id [String] Account ID
27
27
  # @param glossary_id [String] Glossary ID
28
28
  # @param term_id [String] Term ID
@@ -93,8 +93,8 @@ module Phrase
93
93
  return response, status_code, headers
94
94
  end
95
95
 
96
- # Delete a glossary term translation
97
- # Delete an existing glossary term translation.
96
+ # Delete a translation for a term
97
+ # Delete an existing translation of a term in a term base (previously: glossary).
98
98
  # @param account_id [String] Account ID
99
99
  # @param glossary_id [String] Glossary ID
100
100
  # @param term_id [String] Term ID
@@ -107,8 +107,8 @@ module Phrase
107
107
  data
108
108
  end
109
109
 
110
- # Delete a glossary term translation
111
- # Delete an existing glossary term translation.
110
+ # Delete a translation for a term
111
+ # Delete an existing translation of a term in a term base (previously: glossary).
112
112
  # @param account_id [String] Account ID
113
113
  # @param glossary_id [String] Glossary ID
114
114
  # @param term_id [String] Term ID
@@ -175,8 +175,8 @@ module Phrase
175
175
  return response, status_code, headers
176
176
  end
177
177
 
178
- # Update a glossary term translation
179
- # Update an existing glossary term translation.
178
+ # Update a translation for a term
179
+ # Update an existing translation for a term in a term base (previously: glossary).
180
180
  # @param account_id [String] Account ID
181
181
  # @param glossary_id [String] Glossary ID
182
182
  # @param term_id [String] Term ID
@@ -190,8 +190,8 @@ module Phrase
190
190
  data
191
191
  end
192
192
 
193
- # Update a glossary term translation
194
- # Update an existing glossary term translation.
193
+ # Update a translation for a term
194
+ # Update an existing translation for a term in a term base (previously: glossary).
195
195
  # @param account_id [String] Account ID
196
196
  # @param glossary_id [String] Glossary ID
197
197
  # @param term_id [String] Term ID
@@ -7,8 +7,8 @@ module Phrase
7
7
  def initialize(api_client = ApiClient.default)
8
8
  @api_client = api_client
9
9
  end
10
- # Create a glossary term
11
- # Create a new glossary term.
10
+ # Create a term
11
+ # Create a new term in a term base (previously: glossary).
12
12
  # @param account_id [String] Account ID
13
13
  # @param glossary_id [String] Glossary ID
14
14
  # @param glossary_term_create_parameters [GlossaryTermCreateParameters]
@@ -20,8 +20,8 @@ module Phrase
20
20
  data
21
21
  end
22
22
 
23
- # Create a glossary term
24
- # Create a new glossary term.
23
+ # Create a term
24
+ # Create a new term in a term base (previously: glossary).
25
25
  # @param account_id [String] Account ID
26
26
  # @param glossary_id [String] Glossary ID
27
27
  # @param glossary_term_create_parameters [GlossaryTermCreateParameters]
@@ -87,8 +87,8 @@ module Phrase
87
87
  return response, status_code, headers
88
88
  end
89
89
 
90
- # Delete a glossary term
91
- # Delete an existing glossary term.
90
+ # Delete a term
91
+ # Delete an existing term in a term base (previously: glossary).
92
92
  # @param account_id [String] Account ID
93
93
  # @param glossary_id [String] Glossary ID
94
94
  # @param id [String] ID
@@ -100,8 +100,8 @@ module Phrase
100
100
  data
101
101
  end
102
102
 
103
- # Delete a glossary term
104
- # Delete an existing glossary term.
103
+ # Delete a term
104
+ # Delete an existing term in a term base (previously: glossary).
105
105
  # @param account_id [String] Account ID
106
106
  # @param glossary_id [String] Glossary ID
107
107
  # @param id [String] ID
@@ -163,8 +163,8 @@ module Phrase
163
163
  return response, status_code, headers
164
164
  end
165
165
 
166
- # Get a single glossary term
167
- # Get details on a single glossary term.
166
+ # Get a single term
167
+ # Get details for a single term in the term base (previously: glossary).
168
168
  # @param account_id [String] Account ID
169
169
  # @param glossary_id [String] Glossary ID
170
170
  # @param id [String] ID
@@ -176,8 +176,8 @@ module Phrase
176
176
  data
177
177
  end
178
178
 
179
- # Get a single glossary term
180
- # Get details on a single glossary term.
179
+ # Get a single term
180
+ # Get details for a single term in the term base (previously: glossary).
181
181
  # @param account_id [String] Account ID
182
182
  # @param glossary_id [String] Glossary ID
183
183
  # @param id [String] ID
@@ -241,8 +241,8 @@ module Phrase
241
241
  return response, status_code, headers
242
242
  end
243
243
 
244
- # Update a glossary term
245
- # Update an existing glossary term.
244
+ # Update a term
245
+ # Update an existing term in a term base (previously: glossary).
246
246
  # @param account_id [String] Account ID
247
247
  # @param glossary_id [String] Glossary ID
248
248
  # @param id [String] ID
@@ -255,8 +255,8 @@ module Phrase
255
255
  data
256
256
  end
257
257
 
258
- # Update a glossary term
259
- # Update an existing glossary term.
258
+ # Update a term
259
+ # Update an existing term in a term base (previously: glossary).
260
260
  # @param account_id [String] Account ID
261
261
  # @param glossary_id [String] Glossary ID
262
262
  # @param id [String] ID
@@ -327,8 +327,8 @@ module Phrase
327
327
  return response, status_code, headers
328
328
  end
329
329
 
330
- # List glossary terms
331
- # List all glossary terms the current user has access to.
330
+ # List terms
331
+ # List all terms in term bases (previously: glossary) that the current user has access to.
332
332
  # @param account_id [String] Account ID
333
333
  # @param glossary_id [String] Glossary ID
334
334
  # @param [Hash] opts the optional parameters
@@ -341,8 +341,8 @@ module Phrase
341
341
  data
342
342
  end
343
343
 
344
- # List glossary terms
345
- # List all glossary terms the current user has access to.
344
+ # List terms
345
+ # List all terms in term bases (previously: glossary) that the current user has access to.
346
346
  # @param account_id [String] Account ID
347
347
  # @param glossary_id [String] Glossary ID
348
348
  # @param [Hash] opts the optional parameters