action motaword_get_questions { label: "Get survey questions in given scope and type" description: "Get survey questions in given scope and type" provider: motaword method: GET path: "/surveys/{scope}/{type}" encoding: json input: { type: "object" properties: { attach_answers_for_project: { type: "integer" format: "int64" } scope: { type: "string" } type: { type: "string" } } required: ["scope", "type"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { answers: { type: "array" items: { type: "object" properties: { id: { type: "integer" format: "int64" } name: { type: "string" } } } } question: { type: "object" properties: { enabled: { type: "boolean" } format: { type: "string" } id: { type: "integer" format: "int64" } question: { type: "string" } text: { type: "string" } } } question_answers: { type: "array" items: { type: "object" additionalProperties: true } } } } } }