{ "info": { "name": "Mota Word Update the glossary.", "_postman_id": "3d73c2d0-9ed0-432f-996e-175607544619", "description": "Update the glossary. File name and contents will replaced with the new one.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Projects", "item": [ { "id": "57bebc2e-553e-496d-969f-2ba16cccb3a7", "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": "80b0f4cc-139a-45f2-9f23-63c7954a8c94" } ] }, { "id": "25f78f47-dc29-4b20-8cfe-7bb2d67eba4d", "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": "0a25582d-a8bc-4cd4-be50-6a5fb62c8fa6" } ] }, { "id": "ccdb455c-af3c-4778-aedd-ae8076c73b0d", "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": "661da408-4c52-4b4d-8277-a32554083aa9" } ] }, { "id": "cfbeea30-8c63-4943-a29a-7d714918b129", "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": "2805a790-5c8a-4529-8e6d-99fa1c2e4431" } ] }, { "id": "7dc33afe-9fff-44d5-95b5-1e24dc5a0d66", "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": "317fe537-1eb0-4fb3-909d-6bdb3a466dc5" } ] }, { "id": "27273531-86ed-40c8-bd90-6577955f1fae", "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": "53c15ddb-fd0d-457f-be1d-350f6b8ae93f" } ] }, { "id": "772a5cec-a006-4eea-b871-dc10d5bfbe4c", "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": "759d77a3-9f15-4963-bf48-b6af5d0f8b63" } ] }, { "id": "df95b35e-0697-478b-844d-04d5ad9060a6", "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": "c7ca7bcd-9e64-4cf2-b3a1-c05d93b344ff" } ] }, { "id": "00f1b455-d3b5-4609-a62a-072c49841f70", "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": "d4bd6121-1b50-49c1-aa49-4df0e1abcacf" } ] }, { "id": "bb28007d-6fee-45e9-9895-8da2cda49102", "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": "9065f331-e9d7-4ff8-b85c-e5e5e3ee02b6" } ] }, { "id": "aefe1f8e-4782-4b8f-a930-b1a9834deeb6", "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": "e13860b2-5033-440f-bf18-2a9c8e7ff1d8" } ] }, { "id": "e062f34b-785b-46e0-9a1d-00144c5d906d", "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": "dfc695c8-dd01-437e-bf4c-8a4df481d7dd" } ] }, { "id": "58c7d4ec-833a-498b-8697-3a49505d262c", "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": "75449a71-c51c-405d-9edf-2ccdb1a6aecd" } ] }, { "id": "5e5d4c19-2627-450b-9260-6ec27377c3d0", "name": "getProgress", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/progress" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get the progress of an already launched project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "0b0e2b45-3d42-40ad-9da9-f47a2e9f6ab0" } ] }, { "id": "b3433465-1416-4052-8d9f-33cfbc52da50", "name": "submitProjectReports", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:id/reports" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "activity_type", "value": "{}", "disabled": false, "description": "Activity Type" }, { "key": "message", "value": "{}", "disabled": false, "description": "Report Message" } ] }, "description": "Submit reports for a project." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "d1723f99-bd9f-421f-a478-ba31b458b6aa" } ] }, { "id": "67a890dd-1866-44cc-a94a-fec2ae4fbd4c", "name": "getActivities", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/activities" ], "query": [ { "key": "page", "value": "%7B%7D", "disabled": false }, { "key": "per_page", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of realtime activities on the project, such as translation suggestion and translation approval." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3696a827-342c-4761-ae30-b484c36b8add" } ] }, { "id": "64b27810-fb83-43fc-bfcb-e557b6084538", "name": "getActivity", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/activities/:activityId" ], "variable": [ { "id": "activityId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a single realtime activity.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "6e36a096-2ddf-43b8-a455-cb1a19264225" } ] }, { "id": "d49ab1a0-224b-4e9c-b918-b426bcf9e65b", "name": "submitComment", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/activities/:activityId" ], "variable": [ { "id": "activityId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "comment", "value": "{}", "disabled": false, "description": "Comment text" } ] }, "description": "Submit a comment to an activity.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "5d95a966-4cde-4daa-9e78-fc1e5eb4b055" } ] }, { "id": "c2988c85-c0fa-4606-bf3b-b7cfd04a888e", "name": "getActivityComments", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/activities/:activityId/comments" ], "variable": [ { "id": "activityId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of comments belonging to this activity.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "7bf7f19b-f0d0-4507-8c85-f05b9a415e3f" } ] }, { "id": "93596248-ac4b-4c33-b03f-a0782a22a4fb", "name": "getComments", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/comments" ], "query": [ { "key": "page", "value": "%7B%7D", "disabled": false }, { "key": "per_page", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of activity comments throughout the whole project.." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "289e86c7-d0a9-4b7f-ad83-c50f40900ffb" } ] }, { "id": "cbf00400-5a09-49bf-b19b-2e2a6d32de63", "name": "getDocuments", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents" ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of documents." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "dec7d01b-9383-4605-a010-9b0b0b820b9c" } ] }, { "id": "0c7927af-7c43-4c49-847a-7c3e332ce992", "name": "createDocument", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents" ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "documents", "value": "[{}]", "disabled": false, "description": "You can add as many files as you want in documents[] parameter" }, { "key": "schemes", "value": "[{}]", "disabled": false, "description": "JSON string" } ] }, "description": "Upload a new document." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "84e69a40-5c15-4eb9-9556-f498092d148a" } ] }, { "id": "9771bc21-9dc9-4181-9916-0794608cc3a1", "name": "getDocument", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents/:documentId" ], "variable": [ { "id": "documentId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get single document." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "9cfdd53c-a8f5-461a-9d93-8f5501ca43b2" } ] }, { "id": "d69ba089-ea40-4cf5-8b27-fe2bd28825bf", "name": "updateDocument", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents/:documentId" ], "variable": [ { "id": "documentId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "PUT", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "documents", "value": "{}", "disabled": false, "description": "Single file data" }, { "key": "schemes", "value": "{}", "disabled": false, "description": "JSON string" } ] }, "description": "Update the document. File name and contents will replaced with the new one." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "09258fba-103b-4073-9707-de47afd9d334" } ] }, { "id": "e03f5795-cdc4-4bc7-a52e-a70a85e49520", "name": "deleteDocument", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents/:documentId" ], "variable": [ { "id": "documentId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "DELETE", "body": { "mode": "raw" }, "description": "Delete the document." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c524cacc-64b6-45c3-a4b8-099629a18530" } ] }, { "id": "34ebb597-18b4-4b2b-9e20-9e22e9a71717", "name": "downloadDocument", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/documents/:documentId/download" ], "variable": [ { "id": "documentId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Download a document." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "ace00a94-93cd-4344-869d-0c3864b34869" } ] }, { "id": "f570517f-231d-4dab-80a8-c374bfbbdd4c", "name": "getGlossaries", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/glossaries" ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get a list of glossaries." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "04018f55-c20b-4a79-85cb-02b5171652a9" } ] }, { "id": "58ac63ff-e73d-4d50-be7e-514f1974910d", "name": "createGlossary", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/glossaries" ], "variable": [ { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "POST", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "glossaries", "value": "{}", "disabled": false, "description": "You can only add one glossary, even though the name suggests multiple glossaries" } ] }, "description": "Upload a new glossary." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c8c1baab-c9dd-4c69-8d0c-1ab00da5440a" } ] }, { "id": "0521e1d6-3a52-4f13-88d7-427afa4ec2d5", "name": "getGlossary", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/glossaries/:glossaryId" ], "variable": [ { "id": "glossaryId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get single glossary." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "33e06e37-10e2-4e22-ac4e-f79be9f52cbc" } ] }, { "id": "65d4e5ac-662d-4ffd-a0b1-e76c46bc2635", "name": "updateGlossary", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/glossaries/:glossaryId" ], "variable": [ { "id": "glossaryId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "PUT", "body": { "mode": "urlencoded", "urlencoded": [ { "key": "glossaries", "value": "{}", "disabled": false, "description": "Single file data" } ] }, "description": "Update the glossary. File name and contents will replaced with the new one." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "184fbff4-0a81-49ba-8574-7d2181a5987e" } ] }, { "id": "f8747186-1c56-4e34-87d1-c4463c15cd43", "name": "deleteGlossary", "request": { "url": { "protocol": "http", "host": "api.motaword.com", "path": [ "projects/:projectId/glossaries/:glossaryId" ], "variable": [ { "id": "glossaryId", "value": "{}", "type": "string" }, { "id": "projectId", "value": "{}", "type": "string" } ] }, "method": "DELETE", "body": { "mode": "raw" }, "description": "Delete the glossary." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "7576049f-59dd-40ce-98b0-24c02893c81f" } ] } ] } ] }