You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String draftId ="draftId_example"; // String | A draft ID
48
48
String languageId ="languageId_example"; // String | A language ID (eg: en-US)
49
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
49
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
**languageId** | **String**| A language ID (eg: en-US) |
69
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
69
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
String draftId ="draftId_example"; // String | A draft ID
120
120
String targetLanguage ="targetLanguage_example"; // String | The type of templating language to compile as. Should only be used for visual templates.
121
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
121
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
122
122
try {
123
123
DraftRead result = apiInstance.getDraftById(draftId, targetLanguage, accept);
124
124
System.out.println(result);
@@ -139,7 +139,7 @@ Name | Type | Description | Notes
**targetLanguage** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [enum: html, handlebars, ampscript, freemarker, cheetah, jinja, liquid]
142
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
142
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
143
143
144
144
### Return type
145
145
@@ -152,7 +152,7 @@ Name | Type | Description | Notes
@@ -172,7 +172,7 @@ Name | Type | Description | Notes
172
172
173
173
Get localization keys
174
174
175
-
Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file.
175
+
Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.11+json` to get a JSON object, or `text/vnd.dyspatch.2020.11+x-gettext-translation` to get the POT file.
String draftId ="draftId_example"; // String | A draft ID
200
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
200
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
201
201
try {
202
202
List<LocalizationKeyRead> result = apiInstance.getDraftLocalizationKeys(draftId, accept);
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
220
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
221
221
222
222
### Return type
223
223
@@ -230,7 +230,7 @@ Name | Type | Description | Notes
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
270
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
271
271
String cursor ="cursor_example"; // String | A cursor value used to retrieve a specific page from a paginated result set.
272
272
String status ="status_example"; // String | Filter the list of drafts by a particular status
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
291
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
292
292
**cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
293
293
**status** | **String**| Filter the list of drafts by a particular status | [optional][enum: awaitingTranslation]
294
294
@@ -303,7 +303,7 @@ Name | Type | Description | Notes
String draftId ="draftId_example"; // String | A draft ID
351
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
351
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
352
352
try {
353
353
List<LocalizationMetaRead> result = apiInstance.getLocalizationForDraft(draftId, accept);
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
371
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
372
372
373
373
### Return type
374
374
@@ -381,7 +381,7 @@ Name | Type | Description | Notes
String draftId ="draftId_example"; // String | A draft ID
422
422
String languageId ="languageId_example"; // String | A language ID (eg: en-US)
423
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
423
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
**languageId** | **String**| A language ID (eg: en-US) |
444
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
444
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
String draftId ="draftId_example"; // String | A draft ID
496
496
String languageId ="languageId_example"; // String | A language ID (eg: en-US)
497
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
497
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
**languageId** | **String**| A language ID (eg: en-US) |
518
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
518
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
String draftId ="draftId_example"; // String | A draft ID
571
-
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\"
571
+
String accept ="accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" |
590
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
0 commit comments