Skip to main content

Set keys namespace

POST 

/v2/projects/:projectId/start-batch-job/set-keys-namespace

Set keys namespace

Request

Path Parameters

    projectId int64required

Body

required
    keyIds int64[]required
    namespace string

    Possible values: <= 100 characters

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
    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...