Skip to main content

Copy translation values

POST 

/v2/projects/:projectId/start-batch-job/copy-translations

Copy translation values from one language to other languages.

Request

Path Parameters

    projectId int64required

Body

required
    keyIds int64[]required
    sourceLanguageId int64required

    Possible values: >= 1

    targetLanguageIds int64[]required

    Possible values: >= 1, <= 2147483647

Responses

OK

Schema
    id int64required

    Batch job id

    status stringrequired

    Possible values: [PENDING, RUNNING, SUCCESS, FAILED, CANCELLED, DEBOUNCED]

    Status of the batch job

    type stringrequired

    Possible values: [PRE_TRANSLATE_BT_TM, MACHINE_TRANSLATE, AUTO_TRANSLATE, DELETE_KEYS, SET_TRANSLATIONS_STATE, CLEAR_TRANSLATIONS, COPY_TRANSLATIONS, TAG_KEYS, UNTAG_KEYS, SET_KEYS_NAMESPACE, AUTOMATION]

    Type of the batch job

    progress int32required

    Total items, that have been processed so far

    totalItems int32required

    Total items

    author object

    User who created the comment

    id int64required
    username stringrequired
    name string
    avatar object
    large stringrequired
    thumbnail stringrequired
    deleted booleanrequired
    createdAt int64required

    The time when the job created

    updatedAt int64required

    The time when the job was last updated (status change)

    activityRevisionId int64

    The activity revision id, that stores the activity details of the job

    errorMessage string

    If the job failed, this is the error message

Loading...