Skip to content

Commit fb58fdf

Browse files
author
Phrase
committed
1 parent 117543d commit fb58fdf

7 files changed

Lines changed: 8 additions & 8 deletions

docs/ScreenshotsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Name | Type | Description | Notes
9393
9494
Delete a screenshot
9595

96-
Delete an existing screenshot.
96+
Permanently removes a screenshot and all its associated markers from the project. Use this when you need to fully remove a screenshot that is no longer relevant — for example, after a UI redesign renders the captured screen obsolete. This is a hard delete: the screenshot record and every key-to-region marker linked to it are destroyed together and cannot be recovered.
9797

9898
### Example
9999

phrase_api/api/screenshots_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def screenshot_create_with_http_info(self, project_id, filename, **kwargs): # n
185185
def screenshot_delete(self, project_id, id, **kwargs): # noqa: E501
186186
"""Delete a screenshot # noqa: E501
187187
188-
Delete an existing screenshot. # noqa: E501
188+
Permanently removes a screenshot and all its associated markers from the project. Use this when you need to fully remove a screenshot that is no longer relevant — for example, after a UI redesign renders the captured screen obsolete. This is a hard delete: the screenshot record and every key-to-region marker linked to it are destroyed together and cannot be recovered. # noqa: E501
189189
This method makes a synchronous HTTP request by default. To make an
190190
asynchronous HTTP request, please pass async_req=True
191191
>>> thread = api.screenshot_delete(project_id, id, async_req=True)
@@ -213,7 +213,7 @@ def screenshot_delete(self, project_id, id, **kwargs): # noqa: E501
213213
def screenshot_delete_with_http_info(self, project_id, id, **kwargs): # noqa: E501
214214
"""Delete a screenshot # noqa: E501
215215
216-
Delete an existing screenshot. # noqa: E501
216+
Permanently removes a screenshot and all its associated markers from the project. Use this when you need to fully remove a screenshot that is no longer relevant — for example, after a UI redesign renders the captured screen obsolete. This is a hard delete: the screenshot record and every key-to-region marker linked to it are destroyed together and cannot be recovered. # noqa: E501
217217
This method makes a synchronous HTTP request by default. To make an
218218
asynchronous HTTP request, please pass async_req=True
219219
>>> thread = api.screenshot_delete_with_http_info(project_id, id, async_req=True)

test/test_key_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@60e6045c',
49+
screenshot = '[B@3f14897',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
default_translation_content = 'Default translation content',

test/test_key_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@5dce3e',
49+
screenshot = '[B@1b96f15e',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
xml_space_preserve = True,

test/test_project_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def make_instance(self, include_optional):
4141
main_format = 'yml',
4242
media = 'Python',
4343
shares_translation_memory = True,
44-
project_image = '[B@64709573',
44+
project_image = '[B@5e88cef1',
4545
remove_project_image = True,
4646
account_id = 'abcd1234',
4747
point_of_contact = 'abcd1234',

test/test_project_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def make_instance(self, include_optional):
4343
main_format = 'yml',
4444
media = 'Python',
4545
shares_translation_memory = True,
46-
project_image = '[B@bdb4bfe',
46+
project_image = '[B@c2b2b92',
4747
remove_project_image = False,
4848
workflow = 'review',
4949
machine_translation_enabled = True,

test/test_screenshot_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def make_instance(self, include_optional):
4040
branch = 'my-feature-branch',
4141
name = 'A screenshot name',
4242
description = 'A screenshot description',
43-
filename = '[B@2ce37955'
43+
filename = '[B@36e73413'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

0 commit comments

Comments
 (0)