View on GitHub

ModernMT Enterprise Edition

Neural Adaptive Machine Translation for professional translators

← Back to Home

API Get Import Job

Quick example

curl -X GET -H "MMT-ApiKey:<my_api_key>" https://api.modernmt.eu/import-jobs/00000000-0000-0000-0000-000000000001 | python -mjson.tool

{
    "data": {
        "begin": 0,
        "dataChannel": 0,
        "end": 50487,
        "id": "00000000-0000-0000-0000-000000000001",
        "memory": 7,
        "progress": 0.43
        "size": 50488
    },
    "status": 200
}

Description

This method returns an Import Job status.

Resource URL

https://api.modernmt.eu/memories/import-jobs

Parameters

None. The id of the import job is specified directly in the URL.

Response Fields

id The id of the import job. The id is a UUID (128-bit number).
memory The id of the memory that is receiving the updates.
dataChannel The id of the data channel where this contribution was written by MMT
begin The start position of this contribution in the data channel.
end The end position of this contribution in the data channel.
size The number of translation units in this import job.
progress This value indicates the percentage of progress of the import job. A value of 1 (corresponding to 100%) indicates that the job is completed.

← Back to Home