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)
45
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
45
+
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\"
46
46
47
47
try:
48
48
# Remove a localization
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
**language_id** | **str**| A language ID (eg: en-US) |
60
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
60
+
**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\" |
target_language ='target_language_example'# str | The type of templating language to compile as. Should only be used for visual templates.
110
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
110
+
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\"
111
111
112
112
try:
113
113
# Get Draft by ID
@@ -123,7 +123,7 @@ Name | Type | Description | Notes
**target_language** | **str**| The type of templating language to compile as. Should only be used for visual templates. |
126
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
126
+
**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\" |
127
127
128
128
### Return type
129
129
@@ -136,7 +136,7 @@ Name | Type | Description | Notes
@@ -157,7 +157,7 @@ Name | Type | Description | Notes
157
157
158
158
Get localization keys
159
159
160
-
Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2019.10+json` to get a JSON object, or `text/vnd.dyspatch.2019.10+x-gettext-translation` to get the POT file.
160
+
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.
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
182
+
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\"
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
197
+
**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\" |
198
198
199
199
### Return type
200
200
@@ -207,7 +207,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 \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
245
+
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\"
246
246
cursor ='cursor_example'# str | A cursor value used to retrieve a specific page from a paginated result set. (optional)
247
247
status ='status_example'# str | Filter the list of drafts by a particular status (optional)
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
261
+
**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\" |
262
262
**cursor** | **str**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
263
263
**status** | **str**| Filter the list of drafts by a particular status | [optional]
264
264
@@ -273,7 +273,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 \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
319
+
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\"
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
334
+
**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\" |
335
335
336
336
### Return type
337
337
@@ -344,7 +344,7 @@ Name | Type | Description | Notes
language_id ='language_id_example'# str | A language ID (eg: en-US)
384
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
384
+
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\"
**language_id** | **str**| A language ID (eg: en-US) |
400
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
400
+
**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\" |
language_id ='language_id_example'# str | A language ID (eg: en-US)
451
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
451
+
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\"
**language_id** | **str**| A language ID (eg: en-US) |
467
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
467
+
**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\" |
**403** | Unauthorized | * X-RateLimit-Remaining - The number of requests left for the time window. <br> |
487
488
488
489
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
518
+
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\"
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
532
+
**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\" |
**localization** | **str** | An opaque, unique identifier for a localization | [optional]
8
-
**language** | **str** | A language identifier comprised of a language and a country identifier. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/). | [optional]
7
+
**id** | **str** | An opaque, unique identifier for a localization | [optional]
9
8
**name** | **str** | The user-specified name of a localization | [optional]
10
9
**url** | **str** | The API url for a specific localization | [optional]
10
+
**locale_group** | **str** | the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group | [optional]
11
+
**languages** | **list[str]** | a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes. | [optional]
11
12
12
13
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**id** | **str** | An opaque, unique identifier for a localization | [optional]
8
-
**language** | **str** | A language identifier comprised of a language and a country identifier. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/). | [optional]
8
+
**languages** | **list[str]** | a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes. | [optional]
9
9
**url** | **str** | The API url for a specific localization | [optional]
10
10
**template** | **str** | An opaque, unique identifier for a template | [optional]
**created_at** | **datetime** | The time of initial creation | [optional]
13
13
**updated_at** | **datetime** | The time of last update | [optional]
14
14
**name** | **str** | The user-specified name of a localization | [optional]
15
+
**locale_group** | **str** | the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group | [optional]
15
16
16
17
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
localization_id ='localization_id_example'# str | A localization ID
37
37
target_language ='target_language_example'# str | The type of templating language to compile as. Should only be used for visual templates.
38
-
accept ='accept_example'# str | A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
38
+
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\"
39
39
40
40
try:
41
41
# Get Localization Object by ID
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
**localization_id** | **str**| A localization ID |
53
53
**target_language** | **str**| The type of templating language to compile as. Should only be used for visual templates. |
54
-
**accept** | **str**| A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\" |
54
+
**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\" |
55
55
56
56
### Return type
57
57
@@ -64,7 +64,7 @@ Name | Type | Description | Notes
0 commit comments