Skip to content

Add support for updateOption parameter in string editing endpoints #253

Description

@andrii-bodnar

The Crowdin API adds a new optional updateOption query parameter to the source string editing endpoints: Edit String (PATCH /projects/{projectId}/strings/{stringId}) and String Batch Operations (PATCH /projects/{projectId}/strings).

The parameter defines whether existing translations and approvals are kept when a string is updated, and is applied only when text or identifier is changed. Allowed values:

  • keep_translations_and_approvals (default)
  • keep_translations
  • clear_translations_and_approvals

API client libraries should be updated to expose updateOption on these endpoints so consumers can control translation/approval retention when editing strings via the SDK.

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions