{ "info": { "name": "Mota Word Package the translation of a specific target language to be downloaded.", "_postman_id": "47dd21ca-9181-401a-a84a-5a4c32a7436c", "description": "Package the translation of a specific target language to be downloaded..", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Projects", "item": [ { "id": "438ea19c-b29a-4439-8ac7-f50773b9c5a1", "name": "getProjects", "request": { "url": "http://api.motaword.com/projects?page=%7B%7D&per_page=%7B%7D", "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of your projects." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "10e4f633-1047-453c-a150-1fbd50cb6514" } ] }, { "id": "d9744069-6cfd-4292-b0f4-2b3fbb4b31b0", "name": "createProject", "request": { "url": "http://api.motaword.com/projects", "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "callback_url", "value": "{}", "disabled": false, "description": "Optional" }, { "key": "custom", "value": "{}", "disabled": false, "description": "Optional" }, { "key": "documents", "value": "[{}]", "disabled": false, "description": "Optional" }, { "key": "glossaries", "value": "[{}]", "disabled": false, "description": "Optional" }, { "key": "source_language", "value": "{}", "disabled": false, "description": "" }, { "key": "styleguides", "value": "[{}]", "disabled": false, "description": "Optional" }, { "key": "target_languages", "value": "[{}]", "disabled": false, "description": "" } ] }, "description": "Create a new project" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c3b56897-743a-4fb5-9a1f-363a7d1d70d2" } ] }, { "id": "e6d7ad26-411d-481d-8ec3-4190fb5ee922", "name": "getProject", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get single project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "79c4287e-1cbb-45d0-b621-668d6aa62444" } ] }, { "id": "dedbaa59-77db-4762-bbfb-c56f35dc169a", "name": "updateProject", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "PUT", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "callback_url", "value": "{}", "disabled": false, "description": "Optional" }, { "key": "custom", "value": "{}", "disabled": false, "description": "Optional" }, { "key": "source_language", "value": "{}", "disabled": false, "description": "" }, { "key": "target_languages", "value": "[{}]", "disabled": false, "description": "" } ] }, "description": "Update project language pairs." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "e26ff639-642f-44ca-b119-5bdeee718d27" } ] }, { "id": "a50f1235-fe53-4992-9053-ee74ab0a1ba8", "name": "deleteProject", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "DELETE", "body": { "mode": "raw" }, "description": "Delete(cancel) a project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "068758c9-ab2d-4068-a9cb-140ff3a91be1" } ] }, { "id": "5142b732-fc2a-4f9b-a610-9baba97aadb5", "name": "triggerCallback", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/callback/:actionType" ], "variable": [ { "id": "actionType", "value": "{}", "type": "string" }, { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Trigger a call to your callback url related to this project.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "1d5b3de1-1186-40d3-ba60-038980bba6dc" } ] }, { "id": "1913150a-18e6-4d69-88a7-e5a97684072e", "name": "cancelProject", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/cancel" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "reason", "value": "{}", "disabled": false, "description": "Cancellation reason" } ] }, "description": "Cancel your translation project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3779e22f-d29d-4e01-92e3-7afb6a133571" } ] }, { "id": "2a6b5d2d-d892-4c80-9c24-8a93e12f6fcc", "name": "download", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/download" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "raw" }, "description": "Download the latest translation package. You must have given a /package call beforehand and wait until the packaging status is 'completed'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "4cc04598-3709-444b-a473-f0101f62ffc9" } ] }, { "id": "49cc7510-ad8a-4c8b-85f4-7e3d63cd1708", "name": "downloadLanguage", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/download/:language" ], "variable": [ { "id": "id", "value": "{}", "type": "string" }, { "id": "language", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "raw" }, "description": "Download only the translation package of this language. You must have given a /package call beforehand and wait until the packaging status is 'completed'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "4b7bff1e-c5bc-4c95-84c6-47d2a4434199" } ] }, { "id": "4c440df3-9653-40bc-b605-f0b327473bff", "name": "launchProject", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/launch" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "budget_code", "value": "{}", "disabled": false, "description": "Optional with corporate accounts" }, { "key": "payment_code", "value": "{}", "disabled": false, "description": "Optional" }, { "key": "payment_method", "value": "{}", "disabled": false, "description": "Optional" } ] }, "description": "Launch your translation project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c80a1c12-3420-48f3-8709-ca83ddb3c80d" } ] }, { "id": "9d033273-20d2-46f6-840f-bec9ac75f9d8", "name": "package", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/package" ], "query": [ { "key": "async", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "raw" }, "description": "Package the translation project, make it ready to be downloaded." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "0d441da0-fa7b-4d64-b655-10db65521acd" } ] }, { "id": "311e38ab-034b-4a72-a8f3-7eb7ed4515f6", "name": "trackPackage", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/package/check" ], "query": [ { "key": "key", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "This request will tell you the current progress of the translation packaging. You will use the 'key' provided by the /package call." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "4ded833a-adc8-41e1-9d1e-2c000aad6319" } ] }, { "id": "c2d2499b-707c-48a3-a81b-c7231d24ae1e", "name": "packageLanguage", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/package/:language" ], "query": [ { "key": "async", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" }, { "id": "language", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "raw" }, "description": "Package the translation of a specific target language to be downloaded.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f9d80ea9-77dd-42a7-a3ea-f0852293d9c9" } ] } ] } ] }