Skip to content

Commit dfe8322

Browse files
author
Phrase
committed
1 parent 967cb87 commit dfe8322

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/UploadsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ with phrase_api.ApiClient(configuration) as api_client:
4141
branch = 'branch_example' # str | specify the branch to use
4242
tags = 'tags_example' # str | List of tags separated by comma to be associated with the new keys contained in the upload.
4343
update_translations = True # bool | Indicates whether existing translations should be updated with the file content.
44-
update_custom_metadata = True # bool | Indicates whether existing custom metadata properties should be updated with the file content (default to True)
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)
4545
update_translation_keys = True # bool | Pass `false` here to prevent new keys from being created and existing keys updated. (default to True)
4646
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)
4747
update_descriptions = True # bool | Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
7878
**branch** | **str**| specify the branch to use | [optional]
7979
**tags** | **str**| List of tags separated by comma to be associated with the new keys contained in the upload. | [optional]
8080
**update_translations** | **bool**| Indicates whether existing translations should be updated with the file content. | [optional]
81-
**update_custom_metadata** | **bool**| Indicates whether existing custom metadata properties should be updated with the file content | [optional] [default to True]
81+
**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]
8282
**update_translation_keys** | **bool**| Pass `false` here to prevent new keys from being created and existing keys updated. | [optional] [default to True]
8383
**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]
8484
**update_descriptions** | **bool**| Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions. | [optional]

phrase_api/api/uploads_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def upload_create(self, project_id, file, file_format, locale_id, **kwargs): #
5353
:param str branch: specify the branch to use
5454
:param str tags: List of tags separated by comma to be associated with the new keys contained in the upload.
5555
:param bool update_translations: Indicates whether existing translations should be updated with the file content.
56-
:param bool update_custom_metadata: Indicates whether existing custom metadata properties should be updated with the file content
56+
: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.
5757
:param bool update_translation_keys: Pass `false` here to prevent new keys from being created and existing keys updated.
5858
:param bool update_translations_on_source_match: Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
5959
:param bool update_descriptions: Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
@@ -100,7 +100,7 @@ def upload_create_with_http_info(self, project_id, file, file_format, locale_id,
100100
:param str branch: specify the branch to use
101101
:param str tags: List of tags separated by comma to be associated with the new keys contained in the upload.
102102
:param bool update_translations: Indicates whether existing translations should be updated with the file content.
103-
:param bool update_custom_metadata: Indicates whether existing custom metadata properties should be updated with the file content
103+
: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.
104104
:param bool update_translation_keys: Pass `false` here to prevent new keys from being created and existing keys updated.
105105
:param bool update_translations_on_source_match: Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
106106
:param bool update_descriptions: Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.

0 commit comments

Comments
 (0)