phrase 2.2.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -3
- data/docs/AccountsApi.md +8 -2
- data/docs/AuthorizationsApi.md +20 -5
- data/docs/BitbucketSyncApi.md +12 -3
- data/docs/BlacklistedKeysApi.md +20 -5
- data/docs/BranchesApi.md +28 -7
- data/docs/CommentsApi.md +32 -8
- data/docs/Distribution.md +2 -0
- data/docs/DistributionCreateParameters.md +2 -0
- data/docs/DistributionUpdateParameters.md +2 -0
- data/docs/DistributionsApi.md +20 -5
- data/docs/DocumentsApi.md +8 -2
- data/docs/FormatsApi.md +4 -1
- data/docs/GitHubSyncApi.md +8 -2
- data/docs/GitLabSyncApi.md +28 -7
- data/docs/GlossariesApi.md +20 -5
- data/docs/GlossaryTermTranslationsApi.md +12 -3
- data/docs/GlossaryTermsApi.md +20 -5
- data/docs/ICUApi.md +73 -0
- data/docs/Icu.md +17 -0
- data/docs/IcuSkeletonParameters.md +21 -0
- data/docs/InvitationCreateParameters.md +2 -0
- data/docs/InvitationUpdateParameters.md +2 -0
- data/docs/InvitationsApi.md +28 -7
- data/docs/JobLocaleCompleteReviewParameters.md +17 -0
- data/docs/JobLocaleUpdateParameters.md +3 -1
- data/docs/JobLocalesApi.md +99 -7
- data/docs/JobLocalesCreateParameters.md +4 -2
- data/docs/JobTemplateLocalesApi.md +20 -5
- data/docs/JobTemplatesApi.md +20 -5
- data/docs/JobsApi.md +44 -11
- data/docs/KeysApi.md +44 -11
- data/docs/LocalesApi.md +35 -10
- data/docs/Member.md +6 -0
- data/docs/MembersApi.md +20 -5
- data/docs/NotificationGroupsApi.md +12 -3
- data/docs/NotificationsApi.md +12 -3
- data/docs/OrdersApi.md +20 -5
- data/docs/Project.md +2 -0
- data/docs/ProjectDetails.md +2 -0
- data/docs/ProjectsApi.md +20 -5
- data/docs/ReleaseCreateParameters.md +2 -0
- data/docs/ReleasesApi.md +24 -6
- data/docs/ScreenshotMarkersApi.md +20 -5
- data/docs/ScreenshotsApi.md +20 -5
- data/docs/SearchApi.md +4 -1
- data/docs/SpacesApi.md +32 -8
- data/docs/StyleGuidesApi.md +20 -5
- data/docs/TagsApi.md +16 -4
- data/docs/Team1.md +23 -0
- data/docs/TeamsApi.md +44 -11
- data/docs/TranslationsApi.md +68 -17
- data/docs/TranslationsVerifyParameters.md +3 -5
- data/docs/UploadsApi.md +12 -3
- data/docs/UserPreview.md +3 -1
- data/docs/UsersApi.md +4 -1
- data/docs/VariablesApi.md +20 -5
- data/docs/VersionsHistoryApi.md +8 -2
- data/docs/WebhooksApi.md +24 -6
- data/lib/phrase/api/accounts_api.rb +2 -2
- data/lib/phrase/api/authorizations_api.rb +5 -5
- data/lib/phrase/api/bitbucket_sync_api.rb +3 -3
- data/lib/phrase/api/blacklisted_keys_api.rb +5 -5
- data/lib/phrase/api/branches_api.rb +7 -7
- data/lib/phrase/api/comments_api.rb +8 -8
- data/lib/phrase/api/distributions_api.rb +5 -5
- data/lib/phrase/api/documents_api.rb +2 -2
- data/lib/phrase/api/formats_api.rb +1 -1
- data/lib/phrase/api/git_hub_sync_api.rb +2 -2
- data/lib/phrase/api/git_lab_sync_api.rb +7 -7
- data/lib/phrase/api/glossaries_api.rb +5 -5
- data/lib/phrase/api/glossary_term_translations_api.rb +3 -3
- data/lib/phrase/api/glossary_terms_api.rb +5 -5
- data/lib/phrase/api/icu_api.rb +78 -0
- data/lib/phrase/api/invitations_api.rb +7 -7
- data/lib/phrase/api/job_locales_api.rb +93 -7
- data/lib/phrase/api/job_template_locales_api.rb +5 -5
- data/lib/phrase/api/job_templates_api.rb +5 -5
- data/lib/phrase/api/jobs_api.rb +11 -11
- data/lib/phrase/api/keys_api.rb +11 -11
- data/lib/phrase/api/locales_api.rb +20 -11
- data/lib/phrase/api/members_api.rb +5 -5
- data/lib/phrase/api/notification_groups_api.rb +3 -3
- data/lib/phrase/api/notifications_api.rb +3 -3
- data/lib/phrase/api/orders_api.rb +5 -5
- data/lib/phrase/api/projects_api.rb +5 -5
- data/lib/phrase/api/releases_api.rb +6 -6
- data/lib/phrase/api/screenshot_markers_api.rb +5 -5
- data/lib/phrase/api/screenshots_api.rb +5 -5
- data/lib/phrase/api/search_api.rb +1 -1
- data/lib/phrase/api/spaces_api.rb +8 -8
- data/lib/phrase/api/style_guides_api.rb +5 -5
- data/lib/phrase/api/tags_api.rb +4 -4
- data/lib/phrase/api/teams_api.rb +11 -11
- data/lib/phrase/api/translations_api.rb +17 -17
- data/lib/phrase/api/uploads_api.rb +3 -3
- data/lib/phrase/api/users_api.rb +1 -1
- data/lib/phrase/api/variables_api.rb +5 -5
- data/lib/phrase/api/versions_history_api.rb +2 -2
- data/lib/phrase/api/webhooks_api.rb +6 -6
- data/lib/phrase/configuration.rb +8 -0
- data/lib/phrase/models/distribution.rb +12 -1
- data/lib/phrase/models/distribution_create_parameters.rb +13 -1
- data/lib/phrase/models/distribution_update_parameters.rb +13 -1
- data/lib/phrase/models/icu.rb +195 -0
- data/lib/phrase/models/icu_skeleton_parameters.rb +217 -0
- data/lib/phrase/models/invitation_create_parameters.rb +13 -1
- data/lib/phrase/models/invitation_update_parameters.rb +13 -1
- data/lib/phrase/models/job_locale_complete_review_parameters.rb +195 -0
- data/lib/phrase/models/job_locale_update_parameters.rb +16 -4
- data/lib/phrase/models/job_locales_create_parameters.rb +17 -5
- data/lib/phrase/models/member.rb +30 -1
- data/lib/phrase/models/project.rb +10 -1
- data/lib/phrase/models/project_details.rb +10 -1
- data/lib/phrase/models/release_create_parameters.rb +13 -1
- data/lib/phrase/models/team1.rb +221 -0
- data/lib/phrase/models/translations_verify_parameters.rb +14 -24
- data/lib/phrase/models/user_preview.rb +13 -4
- data/lib/phrase/response.rb +1 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -0
- data/phrase.gemspec +2 -2
- data/spec/api/icu_api_spec.rb +36 -0
- data/spec/api/job_locales_api_spec.rb +16 -0
- data/spec/api/locales_api_spec.rb +2 -0
- data/spec/models/distribution_create_parameters_spec.rb +6 -0
- data/spec/models/distribution_spec.rb +6 -0
- data/spec/models/distribution_update_parameters_spec.rb +6 -0
- data/spec/models/icu_skeleton_parameters_spec.rb +41 -0
- data/spec/models/icu_spec.rb +29 -0
- data/spec/models/invitation_create_parameters_spec.rb +6 -0
- data/spec/models/invitation_update_parameters_spec.rb +6 -0
- data/spec/models/job_locale_complete_review_parameters_spec.rb +29 -0
- data/spec/models/job_locale_update_parameters_spec.rb +6 -0
- data/spec/models/job_locales_create_parameters_spec.rb +6 -0
- data/spec/models/member_spec.rb +18 -0
- data/spec/models/project_details_spec.rb +6 -0
- data/spec/models/project_spec.rb +6 -0
- data/spec/models/release_create_parameters_spec.rb +6 -0
- data/spec/models/team1_spec.rb +47 -0
- data/spec/models/translations_verify_parameters_spec.rb +2 -8
- data/spec/models/user_preview_spec.rb +6 -0
- metadata +214 -194
data/docs/MembersApi.md
CHANGED
@@ -34,6 +34,9 @@ Phrase.configure do |config|
|
|
34
34
|
# Configure API key authorization: Token
|
35
35
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
36
36
|
config.api_key_prefix['Authorization'] = 'token'
|
37
|
+
|
38
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
39
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
37
40
|
end
|
38
41
|
|
39
42
|
api_instance = Phrase::MembersApi.new
|
@@ -66,7 +69,7 @@ Response<(nil (empty response body))>
|
|
66
69
|
|
67
70
|
### Authorization
|
68
71
|
|
69
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
72
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
70
73
|
|
71
74
|
### HTTP request headers
|
72
75
|
|
@@ -96,6 +99,9 @@ Phrase.configure do |config|
|
|
96
99
|
# Configure API key authorization: Token
|
97
100
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
98
101
|
config.api_key_prefix['Authorization'] = 'token'
|
102
|
+
|
103
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
104
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
99
105
|
end
|
100
106
|
|
101
107
|
api_instance = Phrase::MembersApi.new
|
@@ -129,7 +135,7 @@ Response<([**Member**](Member.md))>
|
|
129
135
|
|
130
136
|
### Authorization
|
131
137
|
|
132
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
138
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
133
139
|
|
134
140
|
### HTTP request headers
|
135
141
|
|
@@ -159,6 +165,9 @@ Phrase.configure do |config|
|
|
159
165
|
# Configure API key authorization: Token
|
160
166
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
161
167
|
config.api_key_prefix['Authorization'] = 'token'
|
168
|
+
|
169
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
170
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
162
171
|
end
|
163
172
|
|
164
173
|
api_instance = Phrase::MembersApi.new
|
@@ -194,7 +203,7 @@ Response<([**Member**](Member.md))>
|
|
194
203
|
|
195
204
|
### Authorization
|
196
205
|
|
197
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
206
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
198
207
|
|
199
208
|
### HTTP request headers
|
200
209
|
|
@@ -224,6 +233,9 @@ Phrase.configure do |config|
|
|
224
233
|
# Configure API key authorization: Token
|
225
234
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
226
235
|
config.api_key_prefix['Authorization'] = 'token'
|
236
|
+
|
237
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
238
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
227
239
|
end
|
228
240
|
|
229
241
|
api_instance = Phrase::MembersApi.new
|
@@ -259,7 +271,7 @@ Response<([**MemberProjectDetail**](MemberProjectDetail.md))>
|
|
259
271
|
|
260
272
|
### Authorization
|
261
273
|
|
262
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
274
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
263
275
|
|
264
276
|
### HTTP request headers
|
265
277
|
|
@@ -289,6 +301,9 @@ Phrase.configure do |config|
|
|
289
301
|
# Configure API key authorization: Token
|
290
302
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
291
303
|
config.api_key_prefix['Authorization'] = 'token'
|
304
|
+
|
305
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
306
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
292
307
|
end
|
293
308
|
|
294
309
|
api_instance = Phrase::MembersApi.new
|
@@ -324,7 +339,7 @@ Response<([**Array<Member>**](Member.md))>
|
|
324
339
|
|
325
340
|
### Authorization
|
326
341
|
|
327
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
342
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
328
343
|
|
329
344
|
### HTTP request headers
|
330
345
|
|
@@ -32,6 +32,9 @@ Phrase.configure do |config|
|
|
32
32
|
# Configure API key authorization: Token
|
33
33
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
34
34
|
config.api_key_prefix['Authorization'] = 'token'
|
35
|
+
|
36
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
37
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
35
38
|
end
|
36
39
|
|
37
40
|
api_instance = Phrase::NotificationGroupsApi.new
|
@@ -65,7 +68,7 @@ Response<(**Array<Object>**)>
|
|
65
68
|
|
66
69
|
### Authorization
|
67
70
|
|
68
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
71
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
69
72
|
|
70
73
|
### HTTP request headers
|
71
74
|
|
@@ -95,6 +98,9 @@ Phrase.configure do |config|
|
|
95
98
|
# Configure API key authorization: Token
|
96
99
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
97
100
|
config.api_key_prefix['Authorization'] = 'token'
|
101
|
+
|
102
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
98
104
|
end
|
99
105
|
|
100
106
|
api_instance = Phrase::NotificationGroupsApi.new
|
@@ -124,7 +130,7 @@ Response<(**Array<Object>**)>
|
|
124
130
|
|
125
131
|
### Authorization
|
126
132
|
|
127
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
133
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
128
134
|
|
129
135
|
### HTTP request headers
|
130
136
|
|
@@ -154,6 +160,9 @@ Phrase.configure do |config|
|
|
154
160
|
# Configure API key authorization: Token
|
155
161
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
156
162
|
config.api_key_prefix['Authorization'] = 'token'
|
163
|
+
|
164
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
165
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
157
166
|
end
|
158
167
|
|
159
168
|
api_instance = Phrase::NotificationGroupsApi.new
|
@@ -185,7 +194,7 @@ Response<([**NotificationGroupDetail**](NotificationGroupDetail.md))>
|
|
185
194
|
|
186
195
|
### Authorization
|
187
196
|
|
188
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
197
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
189
198
|
|
190
199
|
### HTTP request headers
|
191
200
|
|
data/docs/NotificationsApi.md
CHANGED
@@ -32,6 +32,9 @@ Phrase.configure do |config|
|
|
32
32
|
# Configure API key authorization: Token
|
33
33
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
34
34
|
config.api_key_prefix['Authorization'] = 'token'
|
35
|
+
|
36
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
37
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
35
38
|
end
|
36
39
|
|
37
40
|
api_instance = Phrase::NotificationsApi.new
|
@@ -65,7 +68,7 @@ Response<(**Array<Object>**)>
|
|
65
68
|
|
66
69
|
### Authorization
|
67
70
|
|
68
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
71
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
69
72
|
|
70
73
|
### HTTP request headers
|
71
74
|
|
@@ -95,6 +98,9 @@ Phrase.configure do |config|
|
|
95
98
|
# Configure API key authorization: Token
|
96
99
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
97
100
|
config.api_key_prefix['Authorization'] = 'token'
|
101
|
+
|
102
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
98
104
|
end
|
99
105
|
|
100
106
|
api_instance = Phrase::NotificationsApi.new
|
@@ -124,7 +130,7 @@ Response<(**Array<Object>**)>
|
|
124
130
|
|
125
131
|
### Authorization
|
126
132
|
|
127
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
133
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
128
134
|
|
129
135
|
### HTTP request headers
|
130
136
|
|
@@ -154,6 +160,9 @@ Phrase.configure do |config|
|
|
154
160
|
# Configure API key authorization: Token
|
155
161
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
156
162
|
config.api_key_prefix['Authorization'] = 'token'
|
163
|
+
|
164
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
165
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
157
166
|
end
|
158
167
|
|
159
168
|
api_instance = Phrase::NotificationsApi.new
|
@@ -185,7 +194,7 @@ Response<([**Notification**](Notification.md))>
|
|
185
194
|
|
186
195
|
### Authorization
|
187
196
|
|
188
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
197
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
189
198
|
|
190
199
|
### HTTP request headers
|
191
200
|
|
data/docs/OrdersApi.md
CHANGED
@@ -34,6 +34,9 @@ Phrase.configure do |config|
|
|
34
34
|
# Configure API key authorization: Token
|
35
35
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
36
36
|
config.api_key_prefix['Authorization'] = 'token'
|
37
|
+
|
38
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
39
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
37
40
|
end
|
38
41
|
|
39
42
|
api_instance = Phrase::OrdersApi.new
|
@@ -69,7 +72,7 @@ Response<([**TranslationOrder**](TranslationOrder.md))>
|
|
69
72
|
|
70
73
|
### Authorization
|
71
74
|
|
72
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
75
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
73
76
|
|
74
77
|
### HTTP request headers
|
75
78
|
|
@@ -99,6 +102,9 @@ Phrase.configure do |config|
|
|
99
102
|
# Configure API key authorization: Token
|
100
103
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
101
104
|
config.api_key_prefix['Authorization'] = 'token'
|
105
|
+
|
106
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
107
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
102
108
|
end
|
103
109
|
|
104
110
|
api_instance = Phrase::OrdersApi.new
|
@@ -132,7 +138,7 @@ Response<([**TranslationOrder**](TranslationOrder.md))>
|
|
132
138
|
|
133
139
|
### Authorization
|
134
140
|
|
135
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
141
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
136
142
|
|
137
143
|
### HTTP request headers
|
138
144
|
|
@@ -162,6 +168,9 @@ Phrase.configure do |config|
|
|
162
168
|
# Configure API key authorization: Token
|
163
169
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
164
170
|
config.api_key_prefix['Authorization'] = 'token'
|
171
|
+
|
172
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
173
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
165
174
|
end
|
166
175
|
|
167
176
|
api_instance = Phrase::OrdersApi.new
|
@@ -196,7 +205,7 @@ Response<(nil (empty response body))>
|
|
196
205
|
|
197
206
|
### Authorization
|
198
207
|
|
199
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
208
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
200
209
|
|
201
210
|
### HTTP request headers
|
202
211
|
|
@@ -226,6 +235,9 @@ Phrase.configure do |config|
|
|
226
235
|
# Configure API key authorization: Token
|
227
236
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
228
237
|
config.api_key_prefix['Authorization'] = 'token'
|
238
|
+
|
239
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
240
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
229
241
|
end
|
230
242
|
|
231
243
|
api_instance = Phrase::OrdersApi.new
|
@@ -261,7 +273,7 @@ Response<([**TranslationOrder**](TranslationOrder.md))>
|
|
261
273
|
|
262
274
|
### Authorization
|
263
275
|
|
264
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
276
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
265
277
|
|
266
278
|
### HTTP request headers
|
267
279
|
|
@@ -291,6 +303,9 @@ Phrase.configure do |config|
|
|
291
303
|
# Configure API key authorization: Token
|
292
304
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
293
305
|
config.api_key_prefix['Authorization'] = 'token'
|
306
|
+
|
307
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
308
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
294
309
|
end
|
295
310
|
|
296
311
|
api_instance = Phrase::OrdersApi.new
|
@@ -328,7 +343,7 @@ Response<([**Array<TranslationOrder>**](TranslationOrder.md))>
|
|
328
343
|
|
329
344
|
### Authorization
|
330
345
|
|
331
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
346
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
332
347
|
|
333
348
|
### HTTP request headers
|
334
349
|
|
data/docs/Project.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**project_image_url** | **String** | | [optional]
|
12
12
|
**account** | [**Account**](Account.md) | | [optional]
|
13
13
|
**space** | [**Space1**](Space1.md) | | [optional]
|
14
|
+
**point_of_contact** | [**UserPreview**](UserPreview.md) | | [optional]
|
14
15
|
**created_at** | **DateTime** | | [optional]
|
15
16
|
**updated_at** | **DateTime** | | [optional]
|
16
17
|
|
@@ -26,6 +27,7 @@ instance = Phrase::Project.new(id: null,
|
|
26
27
|
project_image_url: null,
|
27
28
|
account: null,
|
28
29
|
space: null,
|
30
|
+
point_of_contact: null,
|
29
31
|
created_at: null,
|
30
32
|
updated_at: null)
|
31
33
|
```
|
data/docs/ProjectDetails.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**project_image_url** | **String** | | [optional]
|
12
12
|
**account** | [**Account**](Account.md) | | [optional]
|
13
13
|
**space** | [**Space1**](Space1.md) | | [optional]
|
14
|
+
**point_of_contact** | [**UserPreview**](UserPreview.md) | | [optional]
|
14
15
|
**created_at** | **DateTime** | | [optional]
|
15
16
|
**updated_at** | **DateTime** | | [optional]
|
16
17
|
**shares_translation_memory** | **Boolean** | | [optional]
|
@@ -27,6 +28,7 @@ instance = Phrase::ProjectDetails.new(id: null,
|
|
27
28
|
project_image_url: null,
|
28
29
|
account: null,
|
29
30
|
space: null,
|
31
|
+
point_of_contact: null,
|
30
32
|
created_at: null,
|
31
33
|
updated_at: null,
|
32
34
|
shares_translation_memory: null)
|
data/docs/ProjectsApi.md
CHANGED
@@ -34,6 +34,9 @@ Phrase.configure do |config|
|
|
34
34
|
# Configure API key authorization: Token
|
35
35
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
36
36
|
config.api_key_prefix['Authorization'] = 'token'
|
37
|
+
|
38
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
39
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
37
40
|
end
|
38
41
|
|
39
42
|
api_instance = Phrase::ProjectsApi.new
|
@@ -65,7 +68,7 @@ Response<([**ProjectDetails**](ProjectDetails.md))>
|
|
65
68
|
|
66
69
|
### Authorization
|
67
70
|
|
68
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
71
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
69
72
|
|
70
73
|
### HTTP request headers
|
71
74
|
|
@@ -95,6 +98,9 @@ Phrase.configure do |config|
|
|
95
98
|
# Configure API key authorization: Token
|
96
99
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
97
100
|
config.api_key_prefix['Authorization'] = 'token'
|
101
|
+
|
102
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
98
104
|
end
|
99
105
|
|
100
106
|
api_instance = Phrase::ProjectsApi.new
|
@@ -125,7 +131,7 @@ Response<(nil (empty response body))>
|
|
125
131
|
|
126
132
|
### Authorization
|
127
133
|
|
128
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
134
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
129
135
|
|
130
136
|
### HTTP request headers
|
131
137
|
|
@@ -155,6 +161,9 @@ Phrase.configure do |config|
|
|
155
161
|
# Configure API key authorization: Token
|
156
162
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
157
163
|
config.api_key_prefix['Authorization'] = 'token'
|
164
|
+
|
165
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
166
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
158
167
|
end
|
159
168
|
|
160
169
|
api_instance = Phrase::ProjectsApi.new
|
@@ -186,7 +195,7 @@ Response<([**ProjectDetails**](ProjectDetails.md))>
|
|
186
195
|
|
187
196
|
### Authorization
|
188
197
|
|
189
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
198
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
190
199
|
|
191
200
|
### HTTP request headers
|
192
201
|
|
@@ -216,6 +225,9 @@ Phrase.configure do |config|
|
|
216
225
|
# Configure API key authorization: Token
|
217
226
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
218
227
|
config.api_key_prefix['Authorization'] = 'token'
|
228
|
+
|
229
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
230
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
219
231
|
end
|
220
232
|
|
221
233
|
api_instance = Phrase::ProjectsApi.new
|
@@ -249,7 +261,7 @@ Response<([**ProjectDetails**](ProjectDetails.md))>
|
|
249
261
|
|
250
262
|
### Authorization
|
251
263
|
|
252
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
264
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
253
265
|
|
254
266
|
### HTTP request headers
|
255
267
|
|
@@ -279,6 +291,9 @@ Phrase.configure do |config|
|
|
279
291
|
# Configure API key authorization: Token
|
280
292
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
281
293
|
config.api_key_prefix['Authorization'] = 'token'
|
294
|
+
|
295
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
296
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
282
297
|
end
|
283
298
|
|
284
299
|
api_instance = Phrase::ProjectsApi.new
|
@@ -318,7 +333,7 @@ Response<([**Array<Project>**](Project.md))>
|
|
318
333
|
|
319
334
|
### Authorization
|
320
335
|
|
321
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
336
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
322
337
|
|
323
338
|
### HTTP request headers
|
324
339
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**description** | **String** | Description of the release | [optional]
|
8
8
|
**platforms** | **Array<String>** | List of platforms the release should support. | [optional]
|
9
|
+
**locale_ids** | **Array<String>** | List of locale ids that will be included in the release. If empty, distribution locales will be used | [optional]
|
9
10
|
**branch** | **String** | Branch used for release | [optional]
|
10
11
|
|
11
12
|
## Code Sample
|
@@ -15,6 +16,7 @@ require 'Phrase'
|
|
15
16
|
|
16
17
|
instance = Phrase::ReleaseCreateParameters.new(description: My first Release,
|
17
18
|
platforms: ["android","ios"],
|
19
|
+
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
|
18
20
|
branch: my-feature-branch)
|
19
21
|
```
|
20
22
|
|
data/docs/ReleasesApi.md
CHANGED
@@ -35,6 +35,9 @@ Phrase.configure do |config|
|
|
35
35
|
# Configure API key authorization: Token
|
36
36
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
37
37
|
config.api_key_prefix['Authorization'] = 'token'
|
38
|
+
|
39
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
40
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
38
41
|
end
|
39
42
|
|
40
43
|
api_instance = Phrase::ReleasesApi.new
|
@@ -70,7 +73,7 @@ Response<([**Release**](Release.md))>
|
|
70
73
|
|
71
74
|
### Authorization
|
72
75
|
|
73
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
76
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
74
77
|
|
75
78
|
### HTTP request headers
|
76
79
|
|
@@ -100,6 +103,9 @@ Phrase.configure do |config|
|
|
100
103
|
# Configure API key authorization: Token
|
101
104
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
102
105
|
config.api_key_prefix['Authorization'] = 'token'
|
106
|
+
|
107
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
108
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
103
109
|
end
|
104
110
|
|
105
111
|
api_instance = Phrase::ReleasesApi.new
|
@@ -134,7 +140,7 @@ Response<(nil (empty response body))>
|
|
134
140
|
|
135
141
|
### Authorization
|
136
142
|
|
137
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
143
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
138
144
|
|
139
145
|
### HTTP request headers
|
140
146
|
|
@@ -164,6 +170,9 @@ Phrase.configure do |config|
|
|
164
170
|
# Configure API key authorization: Token
|
165
171
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
166
172
|
config.api_key_prefix['Authorization'] = 'token'
|
173
|
+
|
174
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
175
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
167
176
|
end
|
168
177
|
|
169
178
|
api_instance = Phrase::ReleasesApi.new
|
@@ -199,7 +208,7 @@ Response<([**Release**](Release.md))>
|
|
199
208
|
|
200
209
|
### Authorization
|
201
210
|
|
202
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
211
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
203
212
|
|
204
213
|
### HTTP request headers
|
205
214
|
|
@@ -229,6 +238,9 @@ Phrase.configure do |config|
|
|
229
238
|
# Configure API key authorization: Token
|
230
239
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
231
240
|
config.api_key_prefix['Authorization'] = 'token'
|
241
|
+
|
242
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
243
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
232
244
|
end
|
233
245
|
|
234
246
|
api_instance = Phrase::ReleasesApi.new
|
@@ -264,7 +276,7 @@ Response<([**Release**](Release.md))>
|
|
264
276
|
|
265
277
|
### Authorization
|
266
278
|
|
267
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
279
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
268
280
|
|
269
281
|
### HTTP request headers
|
270
282
|
|
@@ -294,6 +306,9 @@ Phrase.configure do |config|
|
|
294
306
|
# Configure API key authorization: Token
|
295
307
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
296
308
|
config.api_key_prefix['Authorization'] = 'token'
|
309
|
+
|
310
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
311
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
297
312
|
end
|
298
313
|
|
299
314
|
api_instance = Phrase::ReleasesApi.new
|
@@ -331,7 +346,7 @@ Response<([**Release**](Release.md))>
|
|
331
346
|
|
332
347
|
### Authorization
|
333
348
|
|
334
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
349
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
335
350
|
|
336
351
|
### HTTP request headers
|
337
352
|
|
@@ -361,6 +376,9 @@ Phrase.configure do |config|
|
|
361
376
|
# Configure API key authorization: Token
|
362
377
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
363
378
|
config.api_key_prefix['Authorization'] = 'token'
|
379
|
+
|
380
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
381
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
364
382
|
end
|
365
383
|
|
366
384
|
api_instance = Phrase::ReleasesApi.new
|
@@ -398,7 +416,7 @@ Response<([**Array<ReleasePreview>**](ReleasePreview.md))>
|
|
398
416
|
|
399
417
|
### Authorization
|
400
418
|
|
401
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
419
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
402
420
|
|
403
421
|
### HTTP request headers
|
404
422
|
|
@@ -34,6 +34,9 @@ Phrase.configure do |config|
|
|
34
34
|
# Configure API key authorization: Token
|
35
35
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
36
36
|
config.api_key_prefix['Authorization'] = 'token'
|
37
|
+
|
38
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
39
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
37
40
|
end
|
38
41
|
|
39
42
|
api_instance = Phrase::ScreenshotMarkersApi.new
|
@@ -69,7 +72,7 @@ Response<([**ScreenshotMarker**](ScreenshotMarker.md))>
|
|
69
72
|
|
70
73
|
### Authorization
|
71
74
|
|
72
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
75
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
73
76
|
|
74
77
|
### HTTP request headers
|
75
78
|
|
@@ -99,6 +102,9 @@ Phrase.configure do |config|
|
|
99
102
|
# Configure API key authorization: Token
|
100
103
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
101
104
|
config.api_key_prefix['Authorization'] = 'token'
|
105
|
+
|
106
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
107
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
102
108
|
end
|
103
109
|
|
104
110
|
api_instance = Phrase::ScreenshotMarkersApi.new
|
@@ -133,7 +139,7 @@ Response<(nil (empty response body))>
|
|
133
139
|
|
134
140
|
### Authorization
|
135
141
|
|
136
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
142
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
137
143
|
|
138
144
|
### HTTP request headers
|
139
145
|
|
@@ -163,6 +169,9 @@ Phrase.configure do |config|
|
|
163
169
|
# Configure API key authorization: Token
|
164
170
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
165
171
|
config.api_key_prefix['Authorization'] = 'token'
|
172
|
+
|
173
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
174
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
166
175
|
end
|
167
176
|
|
168
177
|
api_instance = Phrase::ScreenshotMarkersApi.new
|
@@ -200,7 +209,7 @@ Response<([**ScreenshotMarker**](ScreenshotMarker.md))>
|
|
200
209
|
|
201
210
|
### Authorization
|
202
211
|
|
203
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
212
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
204
213
|
|
205
214
|
### HTTP request headers
|
206
215
|
|
@@ -230,6 +239,9 @@ Phrase.configure do |config|
|
|
230
239
|
# Configure API key authorization: Token
|
231
240
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
232
241
|
config.api_key_prefix['Authorization'] = 'token'
|
242
|
+
|
243
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
244
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
233
245
|
end
|
234
246
|
|
235
247
|
api_instance = Phrase::ScreenshotMarkersApi.new
|
@@ -265,7 +277,7 @@ Response<([**ScreenshotMarker**](ScreenshotMarker.md))>
|
|
265
277
|
|
266
278
|
### Authorization
|
267
279
|
|
268
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
280
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
269
281
|
|
270
282
|
### HTTP request headers
|
271
283
|
|
@@ -295,6 +307,9 @@ Phrase.configure do |config|
|
|
295
307
|
# Configure API key authorization: Token
|
296
308
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
297
309
|
config.api_key_prefix['Authorization'] = 'token'
|
310
|
+
|
311
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
312
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
298
313
|
end
|
299
314
|
|
300
315
|
api_instance = Phrase::ScreenshotMarkersApi.new
|
@@ -334,7 +349,7 @@ Response<([**Array<ScreenshotMarker>**](ScreenshotMarker.md))>
|
|
334
349
|
|
335
350
|
### Authorization
|
336
351
|
|
337
|
-
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
352
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
|
338
353
|
|
339
354
|
### HTTP request headers
|
340
355
|
|