{ "info": { "name": "Mota Word Download the latest translation package.", "_postman_id": "1fe2c280-2b2f-4d21-8438-7b42c12a0cf7", "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'.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Projects", "item": [ { "id": "66b82c07-edea-4c5b-862c-c5b4bc49dabe", "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": "73d3b254-d2e4-4cb1-a3a3-d15c35be003a" } ] }, { "id": "f36b026f-6ac7-4d48-9d49-a50859348d81", "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": "23614e47-39d7-4be1-9b6c-3128d9f089e4" } ] }, { "id": "5dc27c37-f9ab-41a5-b559-879945ff129b", "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": "7b3e2ae6-f731-48d5-ae09-2d4150ce5b14" } ] }, { "id": "5deeb8e6-cef4-43af-a764-2e58addd6999", "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": "60a5d08f-9902-43fa-b726-74bff669f27e" } ] }, { "id": "0ad9aeae-a4d9-4721-abf4-ef5cc6eed624", "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": "7fa9a318-3024-4711-8e2f-4eb98679b63e" } ] }, { "id": "b66fdbb0-fc56-44e5-b013-0e0188ce6a9b", "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": "17e06862-4c51-46ab-917b-b52dc14ff400" } ] }, { "id": "7fa9f603-2a1e-4473-b482-4c173dd5673e", "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": "dff4fbb9-98d0-460a-b319-893a79f84a9a" } ] }, { "id": "8423fe3f-b579-4054-b8c3-ef3cc46f693c", "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": "42947d65-9f87-47f8-9204-fdc3ce67b30c" } ] }, { "id": "3ad3a0c4-36ff-4d33-b912-6f2cf5c148bc", "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": "33ebe2b9-8411-4c71-b4b6-3a1340aec99f" } ] } ] } ] }