action motaword_search_everywhere { label: "Search everything in your account" description: "Search through everything in your account, from projects to documents, from source strings to translations..." provider: motaword method: GET path: "/search" encoding: json input: { type: "object" properties: { "include[]": { type: "array" items: { type: "string" enum: ["projects", "documents", "strings"] } } page: { type: "integer" format: "int64" } per_page: { type: "integer" format: "int64" } query: { type: "string" } } required: ["query"] additionalProperties: false } output: { type: "object" properties: { 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" } } } } } result: { type: "object" properties: { documents: { type: "array" items: { type: "object" } } projects: { type: "array" items: { type: "object" } } strings: { type: "array" items: { type: "object" properties: { file_id: { type: "integer" format: "int64" } internal_project_id: { type: "integer" format: "int64" } last_updated: { type: "string" format: "date-time" description: "the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z" } project_id: { type: "integer" format: "int64" } search_score: { type: "number" format: "float" } source: { type: "string" } status: { type: "string" enum: ["Approved", "Translated"] } string_id: { type: "integer" format: "int64" } target: { type: "string" } targets: { type: "array" items: { type: "string" } } tm_name: { type: "string" } type: { type: "string" description: "String search result typ from ZNT. Options are LOCAL_PROJECT, IMPORTED_TM. Imported TM results should probably not be visible to end users." enum: ["LOCAL_PROJECT", "IMPORTED_TM"] } } } } } } } } }