action drchrono_documents_read { label: "documents_read" description: "Retrieve an existing appointment template" provider: drchrono method: GET path: "/api/documents/{id}" encoding: json input: { type: "object" properties: { doctor: { type: "integer" } id: { type: "string" } patient: { type: "integer" } since: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["date", "description", "doctor", "document", "patient"] properties: { archived: { type: "boolean" description: "`DELETE` operation will set this field to `true`" } date: { type: "string" } description: { type: "string" } doctor: { type: "integer" description: "ID of the doctor who owns the document" } document: { type: "string" description: "When creating, if you receive response as 201, but this field is `null`, please send a `GET` request with the created object's ID to retrieve the updated file URL" } id: { type: "integer" } metatags: { type: "string" description: "Array of tags represented as string. This should be quoted--e.g. `'[\"a\", \"b\"]'`--since this endpoint requires `multipart/form-data` encoding" } patient: { type: "integer" description: "ID of the patient the document concerns" } updated_at: { type: "string" } } } }