project-versions

Merge Version

Merge SOURCE ({version_id}) into TARGET (into, default = production). UPSERTs translations with the chosen strategy; never deletes. dry_run returns the report without writing (preview).

post/v1/projects/{project_id}/versions/{version_id}/merge

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/versions/{version_id}/merge
  • Auth: none declared

Path parameters

version_idstring required
project_idstring required

Request body

intostring nullable

Target version uuid or slug to merge INTO. Defaults to the production version.

strategystring

source-wins (default) | target-wins (additive) | per-key (skip + report conflicts)

namespacesstring[] nullable

Optional namespace-slug filter (default: all).

languagesstring[] nullable

Optional language-code filter (default: all).

dry_runboolean

Compute the report without writing — preview the merge.

Response

Successful Response

strategystring required
dry_runboolean required
addedinteger required
updatedinteger required
skippedinteger required
keys_createdinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.