action drchrono_patient_messages_list { label: "patient_messages_list" provider: drchrono method: GET path: "/api/patient_messages" encoding: json input: { type: "object" properties: { cursor: { type: "string" description: "The pagination cursor value." } doctor: { type: "integer" } page_size: { type: "integer" description: "Number of results to return per page." } patient: { type: "integer" } since: { type: "string" } } additionalProperties: false } output: { type: "object" description: "Paginated Result" properties: { data: { type: "array" description: "result data" items: { type: "object" required: ["doctor", "patient", "subject"] properties: { attachments: { type: "array" items: { type: "object" properties: { attachment: { type: "string" } created_at: { type: "string" } doctor: { type: "integer" } updated_at: { type: "string" } } } } body: { type: "string" } created_at: { type: "string" } doctor: { type: "integer" } id: { type: "integer" } message: { type: "string" } patient: { type: "integer" } subject: { type: "string" } updated_at: { type: "string" } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }