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
@@ -44,6 +44,7 @@ with phrase_api.ApiClient(configuration) as api_client:
44
44
update_custom_metadata =True# bool | Determines whether to update custom metadata values when uploading a file. If set to true, existing metadata can be changed or removed. Passing an empty value deletes the corresponding metadata property. (default to True)
45
45
update_translation_keys =True# bool | Pass `false` here to prevent new keys from being created and existing keys updated. (default to True)
46
46
update_translations_on_source_match =False# bool | Update target translations only if the source translations of the uploaded multilingual file match the stored translations. (default to False)
47
+
source_locale_id ='source_locale_id_example'# str | Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id.
47
48
update_descriptions =True# bool | Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
48
49
convert_emoji =True# bool | This option is obsolete. Providing the option will cause a bad request error.
49
50
skip_upload_tags =True# bool | Indicates whether the upload should not create upload tags.
@@ -59,7 +60,7 @@ with phrase_api.ApiClient(configuration) as api_client:
print("Exception when calling UploadsApi->upload_create: %s\n"% e)
@@ -81,6 +82,7 @@ Name | Type | Description | Notes
81
82
**update_custom_metadata** | **bool**| Determines whether to update custom metadata values when uploading a file. If set to true, existing metadata can be changed or removed. Passing an empty value deletes the corresponding metadata property. | [optional][default to True]
82
83
**update_translation_keys** | **bool**| Pass `false` here to prevent new keys from being created and existing keys updated. | [optional][default to True]
83
84
**update_translations_on_source_match** | **bool**| Update target translations only if the source translations of the uploaded multilingual file match the stored translations. | [optional][default to False]
85
+
**source_locale_id** | **str**| Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id. | [optional]
84
86
**update_descriptions** | **bool**| Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions. | [optional]
85
87
**convert_emoji** | **bool**| This option is obsolete. Providing the option will cause a bad request error. | [optional]
86
88
**skip_upload_tags** | **bool**| Indicates whether the upload should not create upload tags. | [optional]
:param bool update_custom_metadata: Determines whether to update custom metadata values when uploading a file. If set to true, existing metadata can be changed or removed. Passing an empty value deletes the corresponding metadata property.
57
57
:param bool update_translation_keys: Pass `false` here to prevent new keys from being created and existing keys updated.
58
58
:param bool update_translations_on_source_match: Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
59
+
:param str source_locale_id: Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id.
59
60
:param bool update_descriptions: Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
60
61
:param bool convert_emoji: This option is obsolete. Providing the option will cause a bad request error.
61
62
:param bool skip_upload_tags: Indicates whether the upload should not create upload tags.
:param bool update_custom_metadata: Determines whether to update custom metadata values when uploading a file. If set to true, existing metadata can be changed or removed. Passing an empty value deletes the corresponding metadata property.
104
105
:param bool update_translation_keys: Pass `false` here to prevent new keys from being created and existing keys updated.
105
106
:param bool update_translations_on_source_match: Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
107
+
:param str source_locale_id: Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id.
106
108
:param bool update_descriptions: Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
107
109
:param bool convert_emoji: This option is obsolete. Providing the option will cause a bad request error.
108
110
:param bool skip_upload_tags: Indicates whether the upload should not create upload tags.
0 commit comments