action motaword_get_documents { label: "View your documents" description: "View a list of files and documents that you have translations for. This endpoint lets you view your MotaWord account as a multilingual translated file repository, without needing to go through your projects to interact with files in them." provider: motaword method: GET path: "/documents" encoding: json input: { type: "object" properties: { language_code: { type: "string" } order_by: { type: "string" enum: ["id", "updated_at", "created_at", "name"] } order_type: { type: "string" enum: ["asc", "desc"] } page: { type: "integer" format: "int64" } per_page: { type: "integer" format: "int64" } recent: { type: "boolean" } search: { type: "string" } type_filter: { type: "string" enum: ["ALL", "TEXT_DOCUMENTS", "PRESENTATIONS", "SPREADSHEETS", "PDFS", "IMAGES", "SUBTITLES", "DESIGNS", "LOCALIZATION", "WEB", "STYLE_GUIDES", "GLOSSARIES"] } "with[]": { type: "array" items: { type: "string" enum: ["preview", "editors"] } } } additionalProperties: false } output: { type: "object" properties: { documents: { type: "array" items: { type: "object" properties: { file_type: { type: "string" description: "Extension of the file" } has_custom_package: { type: "boolean" } id: { type: "integer" format: "int64" } links: { type: "object" } manual_files: { type: "array" items: { type: "object" properties: { driveFileId: { type: "integer" format: "int64" } isProofread: { type: "boolean" } isTranslated: { type: "boolean" } language: { type: "string" } proofreadingFileId: { type: "integer" format: "int64" } translationFileId: { type: "integer" format: "int64" } } } } name: { type: "string" } project_id: { type: "integer" format: "int64" } review_in_manual_editor: { type: "boolean" } scheme: { type: "object" } search_score: { type: "number" format: "float" } source_language: { type: "string" } subject: { type: "string" } target_languages: { type: "array" items: { type: "string" } } uploaded_at: { type: "integer" format: "int64" description: "Unix epoch time" } word_count: { type: "integer" format: "int64" } } } } meta: { type: "object" properties: { paging: { type: "object" properties: { count: { type: "integer" format: "int64" } links: { type: "object" } page: { type: "integer" format: "int64" } per_page: { type: "integer" format: "int64" } total_count: { type: "integer" format: "int64" } } } } } } } }