Skip to content
Rigel docs
Open Rigel

Documents

Documents and folders: write or upload them, edit Markdown together, keep versions, link them to records, and import from Google Drive.

Commands

Queries

  • GetDocuments linked to a recorddocuments.document.for_recordThe documents linked to a record (a task, a recipe, a piece of equipment), oldest link first, each with the link's note.
  • GetRead a documentdocuments.document.readA document's text, with its title, kind, summary, folder, saved extracts and links.
  • GetFind documents by what they saydocuments.document.searchFinds documents with all of the words you give in their title, summary, text or extracted information, best matches first.
  • GetWhat is in a folderdocuments.folder.listThe folders and documents directly inside a folder, or at the top level when folder_id is left out (where unfiled documents are too).
  • GetA document's historydocuments.version.listThe saved earlier versions of a Markdown or HTML document, newest first: when, why, who, and how much text each change added and removed (comparing each version with the next newer one, the newest with the current text).

Routes

  • GetBrowse a connected Google Drivedocuments.google_filesLists one page of a Google Drive folder through a connected Google Drive account, folders first and then by name, 100 to a page. parent_id is root (My Drive), shared (Shared with me) or a folder's Drive ID.