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
language_id ='language_id_example'# str | A language ID (eg: en-US)
100
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
100
+
accept ='accept_example'# str | 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\"
**text** | **str** | Base64 encoded template text body | [optional]
12
13
13
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
language_id ='language_id_example'# str | A language ID (eg: en-US)
60
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
60
+
accept ='accept_example'# str | 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\"
61
61
62
62
try:
63
63
# Remove a localization
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
**language_id** | **str**| A language ID (eg: en-US) |
75
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
75
+
**accept** | **str**| 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\" |
76
76
77
77
### Return type
78
78
@@ -137,7 +137,7 @@ with dyspatch_client.ApiClient(configuration) as api_client:
target_language ='target_language_example'# str | The type of templating language to compile as. Should only be used for visual templates.
140
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
140
+
accept ='accept_example'# str | 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\"
141
141
142
142
try:
143
143
# Get Draft by ID
@@ -153,7 +153,7 @@ Name | Type | Description | Notes
**target_language** | **str**| The type of templating language to compile as. Should only be used for visual templates. |
156
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
156
+
**accept** | **str**| 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\" |
157
157
158
158
### Return type
159
159
@@ -166,7 +166,7 @@ Name | Type | Description | Notes
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
187
187
188
188
Get localization keys
189
189
190
-
Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file.
190
+
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.
191
191
192
192
### Example
193
193
@@ -224,7 +224,7 @@ with dyspatch_client.ApiClient(configuration) as api_client:
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
227
+
accept ='accept_example'# str | 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\"
228
228
229
229
try:
230
230
# Get localization keys
@@ -239,7 +239,7 @@ accept = 'accept_example' # str | A version of the API that should be used for t
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
242
+
**accept** | **str**| 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\" |
243
243
244
244
### Return type
245
245
@@ -252,7 +252,7 @@ Name | Type | Description | Notes
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
305
+
accept ='accept_example'# str | 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\"
306
306
cursor ='cursor_example'# str | A cursor value used to retrieve a specific page from a paginated result set. (optional)
307
307
status ='status_example'# str | Filter the list of drafts by a particular status (optional)
308
308
@@ -318,7 +318,7 @@ status = 'status_example' # str | Filter the list of drafts by a particular stat
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
321
+
**accept** | **str**| 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\" |
322
322
**cursor** | **str**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
323
323
**status** | **str**| Filter the list of drafts by a particular status | [optional]
324
324
@@ -333,7 +333,7 @@ Name | Type | Description | Notes
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
394
+
accept ='accept_example'# str | 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\"
395
395
396
396
try:
397
397
# Get localizations on a draft
@@ -406,7 +406,7 @@ accept = 'accept_example' # str | A version of the API that should be used for t
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
409
+
**accept** | **str**| 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\" |
410
410
411
411
### Return type
412
412
@@ -419,7 +419,7 @@ Name | Type | Description | Notes
language_id ='language_id_example'# str | A language ID (eg: en-US)
474
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
474
+
accept ='accept_example'# str | 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\"
**language_id** | **str**| A language ID (eg: en-US) |
490
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
490
+
**accept** | **str**| 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\" |
language_id ='language_id_example'# str | A language ID (eg: en-US)
556
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
556
+
accept ='accept_example'# str | 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\"
**language_id** | **str**| A language ID (eg: en-US) |
572
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
572
+
**accept** | **str**| 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 ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
638
+
accept ='accept_example'# str | 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\"
639
639
640
640
try:
641
641
# Submit the draft for approval
@@ -649,7 +649,7 @@ accept = 'accept_example' # str | A version of the API that should be used for t
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
652
+
**accept** | **str**| 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