-
Notifications
You must be signed in to change notification settings - Fork 73
API Get Import Job
Andrea Rossi edited this page Oct 18, 2017
·
8 revisions
curl -X GET http://localhost:8045/memories/imports/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
}This method returns an Import Job status.
http://localhost:8045/memories/imports/:id
None. The id of the import job is specified directly in the URL.
| 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. |